On Friday, December 27, 2002, at 02:37 PM, David Wheeler wrote:
On Friday, December 27, 2002, at 12:28 PM, Ken Williams wrote:That gets me past libapreq's 'make', but I get the following upon 'make test':Strange. I've used Joe's 1.0 patch numerous times on 10.1x and 10.2.x, never with a problem.
[kw-009:~/Downloads/perl/httpd-apreq-1.1] ken% make test
t/httpd -f `pwd`/t/httpd.conf
dyld: t/httpd Undefined symbols:
_ApacheRequest___parse
_ApacheRequest_expires
_ApacheRequest_new
_ApacheRequest_script_name
_ApacheRequest_tmpfile
_ApacheUpload_find
make: *** [start_httpd] Error 67
[kw-009:~/Downloads/perl/httpd-apreq-1.1] ken%
hmm, maybe it's a new problem with this version of libapreq then?
I don't see that in the output. Here's the first part of the 'perl Makefile.PL' output:So it looks like Apache::Request (and Apache::Cookie) aren't finding libapreq in the httpd binary. What's a good way to verify that it's actually compiled in there?Well, I know that during Apache's configure, it prints something to the terminal like "Statically compiling apreq support".
=====================================================================
[kw-009:~/Downloads/perl/mod_perl-1.27] ken% perl Makefile.PL EVERYTHING=1
Configure mod_perl with ../apache_1.3.27/src ? [y]
Shall I build httpd in ../apache_1.3.27/src for you? [y]
Appending mod_perl to src/Configuration
Using config file: /Users/ken/Downloads/perl/mod_perl-1.27/src/Configuration
Creating Makefile
+ configured for Darwin platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E -traditional-cpp
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
enabling DBM support for mod_rewrite
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in support
Creating Makefile in regex
Creating Makefile in os/unix
Creating Makefile in ap
Creating Makefile in main
Creating Makefile in lib/expat-lite
Creating Makefile in modules/standard
Creating Makefile in modules/proxy
EXTRA_CFLAGS: -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I$(SRCDIR)/lib/expat-lite -DNO_DL_NEEDED
=====================================================================
What's the compiler hint I can use on Jaguar to make it behave like it does on 10.1, Ken?
I think it's 'gcc_select 2', which just adjusts a symlink. -Ken
