BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 19th, 2003, 08:40 PM
bryndyment bryndyment is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: San Francisco
Posts: 10 bryndyment User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 0
mod_perl, mod_ssl: fine in isolation, install woes when together

I've isolated this pretty well... hope someone has some insight:

After a fresh* install of FreeBSD 4.8, I can build Apache with mod_ssl, and (separately) Apache with mod_perl (static). However, I'm getting link errors when trying to install both together.

Here are my steps:

tar -xzf apache_1.3.28.tar.gz
tar -xzf mod_ssl-2.8.15-1.3.28.tar.gz
tar -xzf mod_perl-1.29.tar.gz

cd mod_ssl-2.8.15-1.3.28
./configure --with-apache=../apache_1.3.28

cd ../mod_perl-1.29
perl Makefile.PL APACHE_SRC=../apache_1.3.28/src EVERYTHING=1 PREP_HTTPD=1 USE_APACI=1
make
make install

cd ../apache_1.3.28
setenv SSL_BASE SYSTEM
./configure --with-layout=FreeBSD --activate-module=src/modules/perl/libperl.a --enable-module=ssl
make

It's during the make that things go south. The make successfully finishes both the ssl and perl sections (i.e., I see "<=== src/modules/ssl" and "<=== src/modules/perl"). Immediately after, I get two successful 'gcc' lines, then the following:

---
gcc -funsigned-char -DMOD_SSL=208115 -DMOD_PERL -DUSE_PERL_SSI -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/usr/lib -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -lcrypt -lssl -lcrypto -Wl,-E /usr/local/lib/perl5/5.8.1/i386-freebsd/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.1/i386-freebsd/CORE -lperl -lm -lcrypt -lutil -lc

modules/perl/libperl.a(mod_perl.o): In function `perl_restart_handler':
mod_perl.o(.text+0x23b): undefined reference to `Perl_get_sv'
modules/perl/libperl.a(mod_perl.o): In function `perl_restart':
mod_perl.o(.text+0x2c7): undefined reference to `Perl_get_sv'
mod_perl.o(.text+0x2fe): undefined reference to `Perl_eval_pv'
mod_perl.o(.text+0x31a): undefined reference to `Perl_sv_setsv_flags'
modules/perl/libperl.a(mod_perl.o): In function `mod_perl_set_cwd':
mod_perl.o(.text+0x3c0): undefined reference to `Perl_eval_pv'
mod_perl.o(.text+0x3d0): undefined reference to `Perl_sv_setsv_flags'

[pages and pages more of similar errors...]

Ideas?




___
*no packages, upgraded to Perl 5.8.1, installed Bundle::LWP via CPAN utility

Reply With Quote
  #2  
Old October 20th, 2003, 11:52 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
iirc the ports version of apache told me to remove a certain module from the perl port.
(seems like you figured out already that it won't work with the base perl package.)
But sorry, I can't remember which one.

I am using 4.9-RC now, maybe in 4.8 this warning was not present yet...

hth,
M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Last edited by M.Hirsch : October 20th, 2003 at 01:43 PM.

Reply With Quote
  #3  
Old October 20th, 2003, 11:59 AM
bryndyment bryndyment is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: San Francisco
Posts: 10 bryndyment User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 0
I actually installed Perl 5.8.1 from source, not ports, which explains why I didn't see the warning. Anyone have additional insight?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > mod_perl, mod_ssl: fine in isolation, install woes when together


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway