🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #28932

Trouble compiling perl support into inn-1.7.2.insync-1.1d

#28932
From: Bart Muyzer
Date: Mon, 08 Jun 1998 00:00
82 lines
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

Technical Details
Message-ID: <bmuyzer.897298441@janus>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <bmuyzer.897298441@janus>
Subject: Trouble compiling perl support into inn-1.7.2.insync-1.1d
Date: Mon, 08 Jun 1998 00:00:00 +0000
From: bmuyzer@azu.nl (Bart Muyzer)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 360615610
Keywords: Perl embedding, inn-1.7.2.insync-1.1d
Organization: University Hospital Utrecht - The Netherlands
Newsgroups: news.software.nntp