Thread View: news.software.nntp
2 messages
2 total messages
Started by Bart Muyzer
Mon, 08 Jun 1998 00:00
Trouble compiling perl support into inn-1.7.2.insync-1.1d
Author: Bart Muyzer
Date: Mon, 08 Jun 1998 00:00
Date: Mon, 08 Jun 1998 00:00
82 lines
3983 bytes
3983 bytes
Dear all,
I'm trying to build inn-1.7.2.insync-1.1d with Perl support, on a SUN
SPARCstation-20 running Solaris 2.6 with all recommended patches as per May
1998. I'm using the gcc-2.8.1 C compiler.
To do so, I put the following lines in config.data:
## 17. Perl Configuration
## Do you want Perl support? Pick DO or DONT
#### =()<PERL_SUPPORT @<PERL_SUPPORT>@>()=
PERL_SUPPORT DO
## How do you get the PERL libraries? Probably -lperl -lm, blank if no PERL
#### =()<PERL_LIB @<PERL_LIB>@>()=
#PERL_LIB
PERL_LIB -L/usr/local/lib/sun4-solaris/5.00404/CORE -lperl -lm
## Core directory (includes, libs). See perlembed(1)
#### =()<PERL_INC @<PERL_INC>@>()=
#PERL_INC
PERL_INC -I/usr/local/lib/sun4-solaris/5.00404/CORE
## Perl Filter Files. Should probably be prefixed with the same value as
## _PATH_CONTROLPROGS.
#### =()<_PATH_PERL_STARTUP_INND @<_PATH_PERL_STARTUP_INND>@>()=
_PATH_PERL_STARTUP_INND /usr/local/lib/inn/bin/control/startup_innd.pl
#### =()<_PATH_PERL_FILTER_INND @<_PATH_PERL_FILTER_INND>@>()=
_PATH_PERL_FILTER_INND /usr/local/lib/inn/bin/control/filter_innd.pl
#### =()<_PATH_PERL_FILTER_NNRPD @<_PATH_PERL_FILTER_NNRPD>@>()=
_PATH_PERL_FILTER_NNRPD /usr/local/lib/inn/bin/control/filter_nnrpd.pl
I installed Perl version 5.004_04 by compiling it out-of-the-box.
When I run a 'make world' , I get the following error:
cd innd ; make lint ; cd ..
make[3]: Entering directory
`/compile/bartm/news/test-inn-1.7.2.insync-1.1d/innd
'
[...]
gcc -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng.o
pro
c.o rc.o site.o tcl.o perl.o timer.o ../libinn.a
-L/usr/local/lib/sun4-solaris/
5.00404/CORE -lperl -lm -lnsl -lsocket -lelf -lresolv
Undefined first referenced
symbol in file
boot_DynaLoader ../libinn.a(perl.o)
ld: fatal: Symbol referencing errors. No output written to innd
make[3]: *** [innd] Error 1
make[3]: Leaving directory `/compile/bartm/news/test-inn-1.7.2.insync-1.1d/innd'
I double checked the paths I use in config.data and they are correct (the
error would have been different otherwise, I realize that).
I "grep"ed the entire Perl source distribution looking for 'boot_DynaLoader'
and I found references indeed. ThenI "grep"ed the entire
inn-1.7.2.insync-1.1d source distribution looking for 'boot_DynaLoader'
and found references to it in lib/perl.c.
I tried to understand the cause of the problem by reading the perlembed(1)
manual page but (to me) nothing obvious is done wrong in the way
inn-1.7.2.insync-1.1d wants to embed perl.
Also, I found no refs in the INN FAQ.
Hence my question: can someone tell me what I should do to compile perl
support into INN?
Please respond by email to Bart.Muyzer@azu.nl as I'm not a regular reader of
this newsgroup. I'll post a summary once the problem is fixed.
Thanks a lot in advance!
Greetings,
>] Bartm [<
--
Bart Muyzer <Bart.Muyzer@azu.nl>, [WHOIS: BJM9]; University Hospital Utrecht,
Systems and Networking Group, P.O. Box 85500 - FAC 3.12, 3508 GA Utrecht,
Holland. Tel: +31-30-2509283 (w), +31-30-6052157 (h). Fax: +31-30-2542028
Web: http://www.dutchworks.nl/people/bartm
Re: Trouble compiling perl support into inn-1.7.2.insync-1.1d
Author: Timothy J. Miller
Date: Mon, 08 Jun 1998 00:00
Date: Mon, 08 Jun 1998 00:00
18 lines
1085 bytes
1085 bytes
bmuyzer@azu.nl (Bart Muyzer) writes: > #### =()<PERL_LIB @<PERL_LIB>@>()= > #PERL_LIB > PERL_LIB -L/usr/local/lib/sun4-solaris/5.00404/CORE -lperl -lm Try this instead: PERL_LIB `perl -MExtUtils::Embed -e ldopts` And if it still fails on boot_DynaLoader, recompile perl with dynamic loading enabled. -- Cerebus <tmill06@ibm.net>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads