httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svavar Örn Eysteinsson <sva...@atom.is>
Subject [users@httpd] Trouble building Apache 1.3.27 with mod_perl 1.27 on Solaris 8 x86
Date Fri, 08 Nov 2002 11:10:23 GMT
Hi all.
I'm having a big trouble on my Solaris 8 x86.

I'm trying to compile Apache v1.3.27 with mod_perl 1.2.27.

As for now i'm running Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_perl/1.25.
with Perl 5.6.1 and GCC 3.0.3


First off all, i'm using the GNU "ld" in the compilation process.
And as i go into the mod_perl source directory and execute :

perl Makefile.PL APACHE_SRC=../apache_1.3.27/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
&& make

Everything goes fine.. No errors.
And then i do "make test" 

and it results :

../apache_1.3.27/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...[Fri Nov  8 10:38:55 2002] [error] Can't load
'/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so' for
module Socket: ld.so.1: ../apache_1.3.27/src/httpd: fatal: relocation
error: file
/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so: symbol
main: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/XSLoader.pm line 75.
 at /usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 451
Compilation failed in require at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
BEGIN failed--compilation aborted at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
Compilation failed in require at (eval 2) line 1.
 
Syntax error on line 62 of
/export/home/admin/apachebuild/mod_perl-1.27/t/conf/httpd.conf:
Can't load
'/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so' for
module Socket: ld.so.1: ../apache_1.3.27/src/httpd: fatal: relocation
error: file
/usr/local/lib/perl5/5.6.1/i86pc-solaris/auto/Socket/Socket.so: symbol
main: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/XSLoader.pm line 75.
 at /usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 451
Compilation failed in require at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
BEGIN failed--compilation aborted at
/export/home/admin/apachebuild/mod_perl-1.27/t//docs/startup.pl line 28.
Compilation failed in require at (eval 2) line 1.
 
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 146


No httpd process is running for the test process.


Then i tried to use the built-in-solaris "ld" program for the
compilation process.
Everyting goes fine, until i do the "make test" :

../apache_1.3.27/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 9

I see the httpd process running, and then i view the
mod_perl-1.27/t/logs/error.log file
and it contains :

[notice] Destruction->DESTROY called for $global_object
Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 329.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 330.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 331.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/local/lib/perl5/5.6.1/i86pc-solaris/Socket.pm line 332.
[Fri Nov  8 10:41:50 2002] [warn] [notice] child_init for process 27195,
report any problems to [no address given]





Does anybody knows what is going on in my compilation process.
The last time i builded Apache and mod_perl it was 100% sucessfully
compiled(the version running today)

Any help would be very apriciated.

Best regards to all.

Svavar
Reykjavik - Iceland


---------------------------------------------------------------------
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


Mime
View raw message