On 7/2/01 8:09 PM, John Siracusa wrote:
> So...anyone get mod_perl working in OS X? :)
To follow up my own post with an update:
Clearing out my /System/Library/Perl and /Library/Perl directories and
re-installing 5.6.1 from scratch cured most of my problems (thanks Jim
Cooper :) I still had to hack up Apache's include file to make it use
unistd.h, but otherwise it built okay using the basic instructions in the
mod_perl guide, apache 1.3.20, and mod_perl 1.25_01.
Of course, it doesn't end there. Actually trying to start my server
(running software that works fine in a similarly configured Solaris mod_perl
environment) brings me back to the land of symbol evil:
% apachectl start
dyld: /usr/local/apache/bin/httpd-mp multiple definitions of symbol
_ApacheRequest___parse
/Library/Perl/darwin/auto/Apache/Request/Request.bundle definition of
_ApacheRequest___parse
/Library/Perl/darwin/auto/Apache/Cookie/Cookie.bundle definition of
_ApacheRequest___parse
apachectl start: httpd could not be started
%
Aren't both Apache::Request and Apache::Cookie in the "libapreq"
distribution? I installed "D/DO/DOUGM/libapreq-0.31.tar.gz", which I'm
assuming is the latest. There's also "J/JI/JIMW/libapreq-0.33.tar.gz"
lurking on my CPAN mirror. Anyway, assuming both Apache::Request and
Apache::Cookie are distributed together, how can there be a symbol clash?
They build and install find on Solaris. Hrm, always a battle!
So, my next question: anyone have both Apache::Request and Apache::Cookie
living peacefully together in the same mod_perl httpd process on OS X? :)
-John