You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Boysenberry Payne <bo...@humaniteque.com> on 2005/02/08 00:30:17 UTC

[users@httpd] Help needed with installing on Mac OS X 10.3 from source

I had a problem with my apache mod_perl installation.  The fink 
installer
confused my systems default DAMP setup.  It ended up so that dynamic
mysql libraries were the problem.

I decided to correct this by doing clean installs of all my major 
systems
from source by hand.  Right off the bat I was fraught with difficulties.

I decided to try to configure apache with  layout=GNU and 
-enable-shared=max.
It performed make && make install saying everything was ok.  When I 
tried:
apachetcl start I got the following:
dyld: /usr/local/sbin/httpd Undefined symbols:
_include_module
/usr/sbin/apachectl: line 186:  6269 Trace/BPT trap          $HTTPD

I also tried to perl MakeFile.PL from my mod_perl 1.26 src dir and got 
the following
errors:

ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) definition of _regcomp in section 
(__TEXT,__text)
/usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) definition of _regexec in section 
(__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) definition of _regfree in section 
(__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2

I've tried several configurations with no success.
I hope maybe someone is familiar with darwin and OS X to help me get 
around the
default systems and set up my own working environment.

Thanks ahead of time,
Boysenberry


On Feb 7, 2005, at 5:19 PM, users-help@httpd.apache.org wrote:

> users@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] At the end of my rope with apache and mod_perl

Posted by Boysenberry Payne <bo...@humaniteque.com>.
Since I can’t seem to figure out how to install apache_1.3.33 on mac ox 
x from source, I’m going to try and fix my issues with my currently 
installed version (comes with os x.)
The problem I’m having is with mod_perl and mysql.  I used fink to 
install mysql at one point and it confused mod_perl as to which mysql 
database to use.  When I use mod_perl as a mod_cgi script it gets the 
right database, when I use perl scripts using mod_perl it gives me the 
following error:

dyld: /usr/sbin/httpd can't open library: 
/sw/lib/mysql/libmysqlclient.14.dylib  (No such file or directory, 
errno = 2)
[Tue Feb  8 14:43:05 2005] [notice] child pid 436 exit signal Trace/BPT 
trap (5)


What I think I need to do is get mod_perl to look for the right library 
file for my currently working mysql database.

In my naiveté  I thought, well why not just rebuild mod_perl.  So I 
tried and found out you need the apache source in order to reinstall 
mod_perl.  That’s when my life became very unpleasant.  I can’t get 
apache_1.3.33 to install.  It gives me the following errors when I try 
to compile mod_perl:

cc  -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include 
-DUSE_HSREGEX -DNO_DL_NEEDED -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include 
-I/usr/local/lib/perl5/5.8.6/darwin-2level/CORE -I. -I../.. 
-DUSE_PERL_SSI  -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include -DMOD_PERL    \
       -o httpd buildmark.o modules.o modules/proxy/libproxy.a 
modules/perl/libperl.a modules/standard/libstandard.a main/libmain.a 
./os/unix/libos.a ap/libap.a regex/libregex.a  `perl 
/Users/boysie/unpublished/sources/mod_perl-1.29/src/modules/perl/ldopts 
Apache ` -L/usr/local/lib 
/usr/local/lib/perl5/5.8.6/darwin-2level/auto/DynaLoader/DynaLoader.a 
-L/usr/local/lib/perl5/5.8.6/darwin-2level/CORE -lperl -ldl -lm -lc  
-lexpat
ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) definition of _regcomp in section 
(__TEXT,__text)
/usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) definition of _regexec in section 
(__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) definition of _regfree in section 
(__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2

Considering that I’m still learning Perl, this info is still a little 
much for me to understand.  That is, I’m not sure how to correct it.

I need to get mod_perl up and running asap.  It behooves me to figure 
out how to get mod_perl to look for the right database library…

Any help would be much appreciated…
Boysenberry

Re: [users@httpd] Help needed with installing on Mac OS X 10.3 from source

Posted by Boysenberry Payne <bo...@humaniteque.com>.
I renamed and backed up the httpd and apachectl to .old.sys
and installed apache_1.3.33 and so, yes, I deactivated the
older apache.
Maybe I have to do more?


On Feb 8, 2005, at 8:37 AM, Jorge Schrauwen wrote:

> I just compiled apache 2.0.52  on my ibook yesterday.
>
> So let me ask, heb you desabled the Apache that came with the OS 
> itself?
> That was the problem for me it always tried to start the other version.
>
> Jorge
>
> -----Original Message-----
> From: Boysenberry Payne [mailto:boysenberry@humaniteque.com]
> Sent: Tuesday, February 08, 2005 0:30
> To: users@httpd.apache.org
> Subject: [users@httpd] Help needed with installing on Mac OS X 10.3 
> from
> source
>
> I had a problem with my apache mod_perl installation.  The fink 
> installer
> confused my systems default DAMP setup.  It ended up so that dynamic 
> mysql
> libraries were the problem.
>
> I decided to correct this by doing clean installs of all my major 
> systems
> from source by hand.  Right off the bat I was fraught with 
> difficulties.
>
> I decided to try to configure apache with  layout=GNU and
> -enable-shared=max.
> It performed make && make install saying everything was ok.  When I
> tried:
> apachetcl start I got the following:
> dyld: /usr/local/sbin/httpd Undefined symbols:
> _include_module
> /usr/sbin/apachectl: line 186:  6269 Trace/BPT trap          $HTTPD
>
> I also tried to perl MakeFile.PL from my mod_perl 1.26 src dir and got 
> the
> following
> errors:
>
> ld: warning multiple definitions of symbol _regcomp
> regex/libregex.a(regcomp.o) definition of _regcomp in section
> (__TEXT,__text)
> /usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
> ld: warning multiple definitions of symbol _regexec
> regex/libregex.a(regexec.o) definition of _regexec in section
> (__TEXT,__text)
> /usr/lib/libdl.dylib(regexec.So) definition of _regexec
> ld: warning multiple definitions of symbol _regfree
> regex/libregex.a(regfree.o) definition of _regfree in section
> (__TEXT,__text)
> /usr/lib/libdl.dylib(regfree.So) definition of _regfree
> ld: Undefined symbols:
> _actions_module
> _include_module
> _log_config_module
> make[1]: *** [target_static] Error 1
> make: *** [apache_httpd] Error 2
>
> I've tried several configurations with no success.
> I hope maybe someone is familiar with darwin and OS X to help me get 
> around
> the default systems and set up my own working environment.
>
> Thanks ahead of time,
> Boysenberry
>
>
> On Feb 7, 2005, at 5:19 PM, users-help@httpd.apache.org wrote:
>
>> users@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Help needed with installing on Mac OS X 10.3 from source

Posted by Jorge Schrauwen <jo...@blackdot.be>.
I just compiled apache 2.0.52  on my ibook yesterday.

So let me ask, heb you desabled the Apache that came with the OS itself?
That was the problem for me it always tried to start the other version.

Jorge

-----Original Message-----
From: Boysenberry Payne [mailto:boysenberry@humaniteque.com] 
Sent: Tuesday, February 08, 2005 0:30
To: users@httpd.apache.org
Subject: [users@httpd] Help needed with installing on Mac OS X 10.3 from
source

I had a problem with my apache mod_perl installation.  The fink installer
confused my systems default DAMP setup.  It ended up so that dynamic mysql
libraries were the problem.

I decided to correct this by doing clean installs of all my major systems
from source by hand.  Right off the bat I was fraught with difficulties.

I decided to try to configure apache with  layout=GNU and
-enable-shared=max.
It performed make && make install saying everything was ok.  When I
tried:
apachetcl start I got the following:
dyld: /usr/local/sbin/httpd Undefined symbols:
_include_module
/usr/sbin/apachectl: line 186:  6269 Trace/BPT trap          $HTTPD

I also tried to perl MakeFile.PL from my mod_perl 1.26 src dir and got the
following
errors:

ld: warning multiple definitions of symbol _regcomp
regex/libregex.a(regcomp.o) definition of _regcomp in section
(__TEXT,__text)
/usr/lib/libdl.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
regex/libregex.a(regexec.o) definition of _regexec in section
(__TEXT,__text)
/usr/lib/libdl.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
regex/libregex.a(regfree.o) definition of _regfree in section
(__TEXT,__text)
/usr/lib/libdl.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[1]: *** [target_static] Error 1
make: *** [apache_httpd] Error 2

I've tried several configurations with no success.
I hope maybe someone is familiar with darwin and OS X to help me get around
the default systems and set up my own working environment.

Thanks ahead of time,
Boysenberry


On Feb 7, 2005, at 5:19 PM, users-help@httpd.apache.org wrote:

> users@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org