Re: compiling problems on mac os 10.3
Shugo Maeda <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, At Sun, 16 May 2004 23:07:29 +0200, Florian Weber <[email protected]> wrote: > im trying to compile mad_ruby 1.2 on mac os 10.3. i have the stable > apache2, > apache2-dev and apr packages installed from fink. if i run make i get > this: > > cc -dynamic -bundle -L/sw/lib -o mod_ruby.so mod_ruby.o ruby_config.o > apachelib.o array_header.o table.o connection.o server.o request.o \ > -lruby -ldl -lobjc > ld: Undefined symbols: > _ap_add_cgi_vars > _ap_add_common_vars > _ap_add_version_component > _ap_hook_access_checker > _ap_hook_auth_checker > _ap_hook_check_user_id > _ap_hook_child_init > ... From my compilation log: cc -dynamic -bundle -undefined suppress -flat_namespace -L/usr/local/lib -o mod_ruby.so mod_ruby.o ruby_config.o apachelib.o array_header.o table.o connection.o server.o request.o \ -lruby -ldl -lobjc I don't know Mac OS X well, but `-flat_namespace' may help you. Which version of ruby did you installed? My ruby is 1.8.1 and configure options are `--enable-shared'. Shugo