Thread View: news.software.nntp
6 messages
6 total messages
Started by Ricardo Stella
Fri, 09 Apr 1999 00:00
insynch - new perl version - recompile ?
Author: Ricardo Stella
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
27 lines
1542 bytes
1542 bytes
insynch + innreport 3 + cleanfeed + controlchan I installed via CPAN perl 5.005. But it seems that the new dist. installed intself in different locations as 5.004... With 5.004, I used in config.data PERL_INC -I/usr/local/lib/perl5/sun4-solaris/5.00404/CORE Now, 5.005 seems I should use PERL_INC -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE Note that /usr/local/bin/perl now points to 5.005. Should I recompile ? Would this be at all related to recent high loads by innd (apparently started after perl5.005 was installed )? Also, the timer info for perl filter is gone (only shows zeros). What about PERL_LIB ? Currently, it's: PERL_LIB `perl -MExtUtils::Embed -e ldopts` Thanks in advance... and please reply to the newsgroup only...
Re: insynch - new perl version - recompile ?
Author: Ricardo Stella
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
32 lines
1953 bytes
1953 bytes
BTW, I noticed that with 5.004, I don't have a libperl.a but a libperl.so. Under 5.005, it's the opposite... (I'm going to ask in the perl group just in case...) In any case, it won't even recompile using 5.004... I get Undefined first referenced symbol in file Perl_Sv cc.o Perl_na cc.o Perl_stack_sp cc.o Perl_Xpv perl.o errgv perl.o tmps_floor cc.o tmps_ix cc.o ld: fatal: Symbol referencing errors. No output written to innd Most likely because libperl.a is now gone... Andrew wrote: > > However, since most perl scripts (including cleanfeed) load other perl > modules, you likely have a problem. You're using the 5.004 libperl.a > (compiled into innd), but loading the 5.005 versions of the various > shared modules. > > If I were you, I'd recompile innd with the new version of libperl.a. >
Re: insynch - new perl version - recompile ?
Author: Russ Allbery
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
20 lines
1365 bytes
1365 bytes
Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu> writes: > I did a make (in config) and then a make clobber (since make update > didn't do anything) and now I got: > gcc -I../include -DSUNOS5 -DPOLL_BUG -O -DOVERSCREAM -DTIMER > -I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE -c perl.c -o perl.o > In file included from > /usr/local/lib/perl5/5.00502/sun4-solaris/CORE/perl.h:521, > from perl.c:29: > /usr/include/arpa/inet.h:52: conflicting types for `inet_addr' > ../include/clibrary.h:114: previous declaration of `inet_addr' Edit include/clibrary.h in the INN sources and delete the declaration of inet_addr. On Solaris, it's wrong. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: insynch - new perl version - recompile ?
Author: Ricardo Stella
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
32 lines
2042 bytes
2042 bytes
Either my perl went caput or something... With 5.004, insynch compiled
without a problem...
I did a make (in config) and then a make clobber (since make update
didn't do anything) and now I got:
gcc -I../include -DSUNOS5 -DPOLL_BUG -O -DOVERSCREAM -DTIMER
-I/usr/local/lib/perl5/5.00502/sun4-solaris/CORE -c perl.c -o perl.o
In file included from
/usr/local/lib/perl5/5.00502/sun4-solaris/CORE/perl.h:521,
from perl.c:29:
/usr/include/arpa/inet.h:52: conflicting types for `inet_addr'
../include/clibrary.h:114: previous declaration of `inet_addr'
make[1]: *** [perl.o] Error 1
make[1]: Leaving directory
`/usr/local/src/news_tools/inn-1.7.2.insync-1.1d/lib'
make: *** [all] Error 1
Any ideas as where to even start looking ???
Andrew wrote:
>
> Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu> wrote:
> However, since most perl scripts (including cleanfeed) load other perl
> modules, you likely have a problem. You're using the 5.004 libperl.a
> (compiled into innd), but loading the 5.005 versions of the various
> shared modules.
>
> If I were you, I'd recompile innd with the new version of libperl.a.
Re: insynch - new perl version - recompile ?
Author: Russ Allbery
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
17 lines
1332 bytes
1332 bytes
Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu> writes: > BTW, I noticed that with 5.004, I don't have a libperl.a but a > libperl.so. Under 5.005, it's the opposite... (I'm going to ask in the > perl group just in case...) You compiled your 5.004 Perl with a shared libperl. That's the way I always compile Perl on a news server (there's lots of different stuff that uses Perl, and it saves on overall memory usage by some small amount). If you want to compile 5.005 the same way, you'll need to give the right flag to Configure (or answer the correct question). It's usually -Duseshrplib if you do it on the command line. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: insynch - new perl version - recompile ?
Author: Andrew
Date: Fri, 09 Apr 1999 00:00
Date: Fri, 09 Apr 1999 00:00
29 lines
1821 bytes
1821 bytes
Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu> wrote: > Note that /usr/local/bin/perl now points to 5.005. Should I recompile > ? Would this be at all related to recent high loads by innd (apparently > started after perl5.005 was installed )? Also, the timer info for perl > filter is gone (only shows zeros). Since the perl portions of INN are compiled in (libperl.a), the upgrade of your perl interpreter won't change anything. However, since most perl scripts (including cleanfeed) load other perl modules, you likely have a problem. You're using the 5.004 libperl.a (compiled into innd), but loading the 5.005 versions of the various shared modules. If I were you, I'd recompile innd with the new version of libperl.a. > What about PERL_LIB ? > Currently, it's: > PERL_LIB `perl -MExtUtils::Embed -e ldopts` This should be left the same, as it'll spit out the proper ldopts for your new perl. -- Andrew O. Smith - <aos@insync.net> Sysadmin, Insync Internet Services Houston, Texas, USA
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