|
|
Compile Apache 2 on 10.3 ?
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
Has anyone managed to compile Apache 2 on 10.3 from source ? I know there are several packages available, but I need to also compile mod_perl, and none of the packages seem to be up to date enough for me.
Every time I try and compile apache 2, it fails with :
ld: warning multiple definitions of symbol _regcomp
/Users/andy/Downloads/build/httpd-2.0.52/srclib/pcre/.libs/libpcre.al(pcreposix.lo) definition of _regcomp in section (__TEXT,__text)
/usr/lib/libpthread.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
/Users/andy/Downloads/build/httpd-2.0.52/srclib/pcre/.libs/libpcre.al(pcreposix.lo) definition of _regexec in section (__TEXT,__text)
/usr/lib/libpthread.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
/Users/andy/Downloads/build/httpd-2.0.52/srclib/pcre/.libs/libpcre.al(pcreposix.lo) definition of _regfree in section (__TEXT,__text)
/usr/lib/libpthread.dylib(regfree.So) definition of _regfree
Help appreciated - this is pretty urgent. Been trying to get it working for about 3 days now and it's driving me mad. Dont ya just love open source ?! :/
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status:
Offline
|
|
Have you tried the fink package? I don't know if they have the mod_perl package included, but you can always build it later (apxs).
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
I did download the Fink package. I don't think it has mod_perl - it's certainly not available as a separate download. that's my next step though - to try and compile mod_perl against the Fink version of Apache2.
I have got the Server Logistics package - which is great except that it's been compiled against an older version of expat (I think) and this gives me errors when I try and run my self-compiled mod_perl.
The safest option all-round would be to compile from source myself though.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status:
Offline
|
|
For me this stuff usually depends on getting the configure command right. defining the lib paths correctly etc.
also remember to run 'make clean' when you change the configuration.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status:
Offline
|
|
Perusing your error message... you seem to be missing some headers for "pcre". pcre is the 'Perl Compatible Regular Expression' library.
Just guessing here... but I would bet that you need that as it is not an option you can turn on or off. I seem to have the correct headers on my system under Fink (/sw/include/pcre.h and /sw/include/pcreposix.h).
I also sucessfully built and installed Apache-2.0.50 via Fink (takes a while!!).
I, personally, would not build Apache in /usr/local/ against stuff in /sw/ because I like to keep Fink and Apple as separate as possible. That is to say... if my Fink gets hosed I can simply delete /sw without breaking anything else.
I suppose I just have to ask... Is there some compelling reason you need Apache-2.0.52 and a mod_perl that works with it, or can you get by with the version that comes with Mac OS X and its corresponding mod_perl?
Dont ya just love open source ?! :/
Yeah I sure do love it... If I break it I get to keep all the pieces
|
-DU-...etc...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|