[rt-users] RT 2.0.11, FreeBSD and perl 5.6 port

Vivek Khera khera at kcilink.com
Tue Feb 26 11:14:25 EST 2002


>>>>> "ME" == Matthew Enger <matthew at enger.org> writes:

ME> I am attempting to install RT 2.0.11 on a FreeBSD box (4.4-RELEASE). I
ME> have installed the perl 5.6 port and installed all the modules under
ME> that perl install. make testdeps is reporting everything ok. (and it is
ME> checking the correct perl).

I have: FreeBSD 4.4-STABLE, Perl 5.6.1 from ports tree, mod_perl from CVS as
DSO module, apache+modssl from ports tree.  RT 2.0.11 works
perfectly.  I run it in its own instance of apache running on a
high-number port under SSL.


ME> I have a fresh copy of apache with mod perl (compiled off the perl 5.6)
ME> and every time I load apache, I get:

ME> # ./apachectl start
ME> Segmentation fault - core dumped.
ME> ./apachectl start: httpd could not be started.

My guess is that you still have some older perl modules in your perl
5.005_03 installation that have compiled components (*.so files) that
are loaded by perl on demand.  The perl 5.6.1 install from the ports
tends to crash with these.

Here's what I did:

find /usr/local/lib/perl5/site_perl/5.005/i386-freebsd -name '*.so' -print

then for every thing like "auto/DBI/DBI.so" you see listed there, go
into CPAN (make sure it is running under 5.6.1) and type "force
install DBI".  This will ensure you have a proper .so for this module
for this version of Perl.

I configured CPAN to add "UNINST=1" to the make install step, so it
removes the 5.005_03 version of that file.

If this doesn't fix it, go to the mod_perl sources and find the
troubleshooting guide.  Follow the instructions there, and post to the
mod_perl mailing list.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera at kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/




More information about the rt-users mailing list