Re: OS X compile problem, ML archive search down?
Kevin Bullock <[email protected]> Wed, 29 Sep 2004 02:37:06 -0500
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Sorry for the self reply, but I found a bit more information. I had successfully built mod_ruby against my own hand-compiled ruby-1.8.1 (installed to /usr/local) before, so I re-did that hand install and tried the build of mod_ruby again. The difference is this: when building against the hand-compiled ruby, configure.rb puts the following line in the Makefile: LDSHARED = cc -dynamic -bundle -undefined suppress -flat_namespace When compiling against the fink-installed ruby, this line becomes: LDSHARED = cc -dynamic -bundle I changed this to the first version to build against the fink-installed version, and it compiled fine. So why is the configure script changing this depending on how ruby is installed? Pacem in terris / Mir / Shanti / Salaam / Heiwa Kevin R. Bullock On Sep 29, 2004, at 1:40 AM, Kevin Bullock wrote: > Hey all— > > I did a clean fresh install of fink on my machine, including > installing ruby-1.8.1 through fink (I had previously installed it into > /usr/local). I'm now trying to recompile mod_ruby against the fresh > install, and it's failing on the final link: > > 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 > upload.o cookie.o paramtable.o multival.o apache_request.o > apache_multipart_buffer.o apache_cookie.o \ > -lruby -ldl -lobjc > ld: Undefined symbols: > _ap_add_cgi_vars > _ap_add_common_vars > _ap_add_version_component > _ap_kill_timeout > ...etc. > > I get a couple pages of undefined symbols. Any ideas on this? > > Also, I tried searching the list archives for a solution, but the > search engine seems to be down. I get a 403 trying to access > http://lists.modruby.net/ml/search/modruby/. > > Pacem in terris / Mir / Shanti / Salaam / Heiwa > Kevin R. Bullock >