Problem building mod_ruby 1.1.2 on Mac OS X 10.3


(Roman Marszalek) #1

I’m trying to set up my Mac so I can write .rhtml files in Ruby.

I’ve downloaded and built eRuby 1.0.5 and apache 2.0.48 and they both seem
fine.

I’m now trying build mod_ruby.

I start with ./configure --with-apxs

Then make

With this I get the following error after a load of other stuff before that
looks like it works.

ld: Undefined symbols:
_ap_add_cgi_vars
_ap_add_common_vars
_ap_add_version_component
_ap_kill_timeout
_ap_log_error
_ap_null_cleanup
_ap_palloc
_ap_register_cleanup
_ap_signal
_ap_soft_timeout
_ap_table_get
_ap_table_set
_environ
_rb_string_value_ptr
_ap_append_arrays
_ap_make_array
_ap_make_table
_ap_overlay_tables
_ap_pcalloc
_ap_pstrdup
_ap_pstrndup
_ap_push_array
_ap_chdir_file
_ap_get_server_built
_ap_get_server_version
_ap_server_root
_ap_unescape_url
_ap_clear_table
_ap_table_add
_ap_table_merge
_ap_table_unset
_core_module
_ap_allow_options
_ap_allow_overrides
_ap_bgetopt
_ap_construct_url
_ap_custom_response
_ap_default_type
_ap_escape_html
_ap_get_basic_auth_pw
_ap_get_client_block
_ap_get_remote_host
_ap_get_remote_logname
_ap_get_server_name
_ap_get_server_port
_ap_hard_timeout
_ap_internal_redirect
_ap_is_initial_req
_ap_note_auth_failure
_ap_note_basic_auth_failure
_ap_note_digest_auth_failure
_ap_psignature
_ap_requires
_ap_reset_timeout
_ap_rflush
_ap_rputc
_ap_rwrite
_ap_satisfies
_ap_send_fd_length
_ap_send_http_header
_ap_setup_client_block
_ap_should_client_block
_ap_sub_req_lookup_file
_ap_sub_req_lookup_uri
_ap_table_setn
make: *** [mod_ruby.so] Error 1

What do I do to solve this? Where do I start? What should I look at? Should
I be pointing to a directory? Where would all these things that are missing
live?

I’m kind of out of my depth here, as I’m not an expert in any of this
stuff.

Thanks,

Roman


(Robert Peirce) #2

In article 40283837$0$16188$fa0fcedb@lovejoy.zen.co.uk,

···

Roman Marszalek roman@applepro.co.uk wrote:

I’m trying to set up my Mac so I can write .rhtml files in Ruby.

I’ve downloaded and built eRuby 1.0.5 and apache 2.0.48 and they both seem
fine.

I’m now trying build mod_ruby.

I start with ./configure --with-apxs

Then make

With this I get the following error after a load of other stuff before that
looks like it works.

ld: Undefined symbols:
_ap_add_cgi_vars
_ap_add_common_vars

My guess is you need to include some directory or library that contains
these functions. Is it possible ‘ap’ means Apache? If so, check out
the Apache libraries.


Robert B. Peirce, Venetia, PA 724-941-6883
bob AT peirce-family.com [Mac]
rbp AT cooksonpeirce.com [Office]


(Lothar Scholz) #3

Hello Robert,

Wednesday, February 11, 2004, 2:05:05 AM, you wrote:

In article <40283837$0$16188$fa0fcedb@lovejoy.zen.co.uk>,

I'm trying to set up my Mac so I can write .rhtml files in Ruby.

I've downloaded and built eRuby 1.0.5 and apache 2.0.48 and they both seem
fine.

I'm now trying build mod_ruby.

I start with ./configure --with-apxs

Then make

With this I get the following error after a load of other stuff before that
looks like it works.

ld: Undefined symbols:
_ap_add_cgi_vars
_ap_add_common_vars

My guess is you need to include some directory or library that contains
these functions. Is it possible '_ap_' means Apache? If so, check out
the Apache libraries.

This is off-topic here. Please use the mod_ruby mailing list.

···

Roman Marszalek <roman@applepro.co.uk> wrote:

--
Best regards,
Lothar mailto:mailinglists@scriptolutions.com