Thread View: news.software.nntp
5 messages
5 total messages
Started by Colin Forde
Thu, 30 Oct 1997 00:00
Introducing perl filters problem
Author: Colin Forde
Date: Thu, 30 Oct 1997 00:00
Date: Thu, 30 Oct 1997 00:00
59 lines
2931 bytes
2931 bytes
Hi All Having a problem introducing perl filters. Solaris 2.5.1,Perl 5.00403,inn 1.5.1, sun sparc. Went into config.data and done the needful. Then done a make - went ok. Went into innd and there also done a make. Most part went ok but the following problem arose. Here are my config details and the result of the innd make. Please email me if u can spot whats wrong and many thanks Colin c.forde@qub.ac.uk ## 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 -L/usr/local/lib/perl5/sun4-solaris/5.00403/CORE -lperl -lm ## Core directory (includes, libs). See perlembed(1) #### =()<PERL_INC @<PERL_INC>@()= PERL_INC -I/usr/local/lib/perl5/sun4-solaris/5.00403/CORE ## Perl Filter Files #### =()<_PATH_PERL_STARTUP_INND @<_PATH_PERL_STARTUP_INND>@>()= _PATH_PERL_STARTUP_INND /usr/news/bin/control/startup_innd.pl #### =()<_PATH_PERL_FILTER_INND @<_PATH_PERL_FILTER_INND>@>()= _PATH_PERL_FILTER_INND /usr/news/bin/control/filter_innd.pl #### =()<_PATH_PERL_FILTER_NNRPD @<_PATH_PERL_FILTER_NNRPD>@>()= _PATH_PERL_FILTER_NNRPD /usr/news/bin/control/filter_nnrpd.pl Then done a make and it updated several files. came out of config and cd innd and typed make. Done quite a bit in here but could not finish - got the following results: gcc -g -o innd art.o cc.o chan.o his.o icd.o innd.o lc.o nc.o newsfeeds.o ng.o p roc.o rc.o site.o tcl.o perl.o ../libinn.a -L/usr/local/lib/perl5/sun4-solaris/ 5.00403/CORE -lperl -lm -lsocket -lnsl -lelf -lresolv Undefined first referenced symbol in file PerlFilter cc.o PerlClose innd.o perl_filter_cv cc.o PerlFilterActive cc.o PERLsetup innd.o PERLreadfilter cc.o ld: fatal: Symbol referencing errors. No output written to innd make: *** [innd] Error 1 -- ________________________________________________________________ C.Forde@queens-belfast.ac.uk phone : +44 (0)1232 245133 x3950 fax : +44 (0)1232 230592
Re: Introducing perl filters problem
Author: Jeff Garzik
Date: Thu, 30 Oct 1997 00:00
Date: Thu, 30 Oct 1997 00:00
23 lines
1140 bytes
1140 bytes
(cc'd to author) I think you're building INN incorrectly. Go into the main INN directory and rebuild everything: cd /usr/local/src/inn-1.5.1 make clean cd config make c quiet cd .. make It looks like the Makefile isn't linking in perl.o, which implies you are rebuilding incorrectly. In general, always remake from scratch when you update config.data. -- Jeff Garzik Typhoon, Cyclone, Diablo, and INN Spinne USENET News Service Fast and efficient news feeds http://www.spinne.com/usenet/ News tuning and consulting
Re: Introducing perl filters problem
Author: brian moore
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
23 lines
1208 bytes
1208 bytes
Works fine with 5.004_01. Your errors look like it's not linking ../lib/perl.c. You need to rebuild libinn.a cd ../lib make make install cd ../innd make In article <3459F50C.29A@qub.ac.uk>, Colin Forde <c.forde@qub.ac.uk> writes: > Has anyone got perl filtering working successfully with perl 5.00403 > and inn1.5.1? > thanks > > > Colin -- Brian Moore Kill A Spammer For Jesus Sysadmin, C/Perl Hacker
Re: Introducing perl filters problem
Author: Colin Forde
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
9 lines
730 bytes
730 bytes
Has anyone got perl filtering working successfully with perl 5.00403 and inn1.5.1? thanks Colin
Re: Introducing perl filters problem
Author: Colin Forde
Date: Fri, 31 Oct 1997 00:00
Date: Fri, 31 Oct 1997 00:00
36 lines
1721 bytes
1721 bytes
Done exactly as u say and the problem persists: I have the most up to date perl on the net that i know off- Perl 5.00403. Im new to perl. Any idea how these symbols could be located in the perl system. Sorry for all the hassel Colin Jeff Garzik wrote: > > (cc'd to author) > > I think you're building INN incorrectly. Go into the main INN directory > and rebuild everything: > > cd /usr/local/src/inn-1.5.1 > make clean > cd config > make c quiet > cd .. > make > > It looks like the Makefile isn't linking in perl.o, which implies you > are rebuilding incorrectly. > > In general, always remake from scratch when you update config.data. > -- > Jeff Garzik Typhoon, Cyclone, Diablo, and INN > Spinne USENET News Service Fast and efficient news feeds > http://www.spinne.com/usenet/ News tuning and consulting -- ________________________________________________________________ C.Forde@queens-belfast.ac.uk phone : +44 (0)1232 245133 x3950 fax : +44 (0)1232 230592
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