We are looking to upgrade a built-from-source Apache install on an Intel Mac OSX Server 10.5.8 production server (i.e. not Apple's Apache), but attempting to build Apache 2.2.22 fails spectacularly:
tar xvzf httpd-2.2.22.tar.gz cd httpd-2.2.22 ./configure --prefix=/usr/local/apache_2.2.22 make ... gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/usr/local/src/httpd-2.2.22/srclib/pcre -I. -I/usr/local/src/httpd-2.2.22/os/unix -I/usr/local/src/httpd-2.2.22/server/mpm/prefork -I/usr/local/src/httpd-2.2.22/modules/http -I/usr/local/src/httpd-2.2.22/modules/filters -I/usr/local/src/httpd-2.2.22/modules/proxy -I/usr/local/src/httpd-2.2.22/include -I/usr/local/src/httpd-2.2.22/modules/generators -I/usr/local/src/httpd-2.2.22/modules/mappers -I/usr/local/src/httpd-2.2.22/modules/database -I/usr/include/apr-1 -I/usr/local/src/httpd-2.2.22/modules/proxy/../generators -I/usr/local/src/httpd-2.2.22/modules/ssl -I/usr/local/src/httpd-2.2.22/modules/dav/main -c /usr/local/src/httpd-2.2.22/server/buildmark.c /usr/share/apr-1/build-1/libtool --silent --mode=link gcc -L/usr/lib -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la modules/aaa/libmod_authz_host.la modules/aaa/libmod_authz_groupfile.la modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la modules/filters/libmod_filter.la modules/loggers/libmod_log_config.la modules/metadata/libmod_env.la modules/metadata/libmod_setenvif.la modules/metadata/libmod_version.la modules/http/libmod_http.la modules/http/libmod_mime.la modules/generators/libmod_status.la modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la modules/mappers/libmod_userdir.la modules/mappers/libmod_alias.la modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la os/unix/libos.la /usr/local/src/httpd-2.2.22/srclib/pcre/libpcre.la -L/usr/lib -R/usr/lib -laprutil-1 -lsqlite3 -lexpat -liconv -L/usr/lib -R/usr/lib -lapr-1 -lpthread Undefined symbols: "_apr_array_clear", referenced from: _ap_set_byterange in libmod_http.a(byterange_filter.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make: *** [all-recursive] Error 1 I don't think I'm doing anything weird. Especially since I just confirmed that 2.2.14 and 2.2.21 build just fine on the same box using the same steps. Something is wrong with the build process in 2.2.22. - Dave |