Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
Hi all,
I've installed Bugzilla under my DNS323. All works fine but it's a bit slow. I see that perl script execution is eating most of the CPU time.
So I changed lightppd configuration to use mod_fastcgi instead of mod_perl to keep perl scripts persistent and then faster to execute.
My problem is that I did'nt succeed to install the CPAN Embed::Persistant module (got from http://search.cpan.org/CPAN/authors/id/ … .14.tar.gz)
This one fails claiming :
root@share:/mnt/HD_a2/sylvain/ExtUtils-Embed-1.14# make test
PERL_DL_NONLAZY=1 /ffp/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/build.............distcc[17286] ERROR: nonblocking connect to 127.0.0.1:3632 failed: Connection refused
distcc[17286] Warning: failed to distribute perlxsi.c to 127.0.0.1, running locally instead
perlxsi.c: In function 'xs_init':
perlxsi.c:30: error: 'my_perl' undeclared (first use in this function)
perlxsi.c:30: error: (Each undeclared identifier is reported only once
perlxsi.c:30: error: for each function it appears in.)
perlxsi.c:30: warning: passing argument 3 of 'Perl_newXS' from incompatible pointer type
distcc[17286] ERROR: compile perlxsi.c on localhost failed
t/build.............1/2 make[1]: *** [perlxsi.o] Error 1
distcc[17294] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
perlxsi.c: In function 'xs_init':
perlxsi.c:30: error: 'my_perl' undeclared (first use in this function)
perlxsi.c:30: error: (Each undeclared identifier is reported only once
perlxsi.c:30: error: for each function it appears in.)
perlxsi.c:30: warning: passing argument 3 of 'Perl_newXS' from incompatible pointer type
distcc[17294] ERROR: compile perlxsi.c on localhost failed
make[1]: *** [perlxsi.o] Error 1
t/build............. Failed 2/2 subtests
t/embed.............Can't exec "./embed": No such file or directory at t/embed.t line 2.
t/embed............. No subtests run
t/loop.............../loop: No such file or directory
./loop: No such file or directory
./loop: No such file or directory
./loop: No such file or directory
./loop: No such file or directory
./loop: No such file or directory
./loop: No such file or directory
./loop: No such file or directory
Can't exec "./loop": No such file or directory at t/loop.t line 59.
Use of uninitialized value $p in pattern match (m//) at t/loop.t line 59.
t/loop.............. Failed 18/18 subtests
t/multiplicity......skipped: (no reason given)
Test Summary Report
-------------------
t/build.t (Wstat: 0 Tests: 2 Failed: 2)
Failed tests: 1-2
t/embed.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t/loop.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: Bad plan. You planned 18 tests but ran 0.
Files=4, Tests=2, 8 wallclock secs ( 0.23 usr 0.07 sys + 5.26 cusr 0.63 csys = 6.19 CPU)
Result: FAIL
Failed 3/4 test programs. 2/2 subtests failed.
make: *** [test_dynamic] Error 255
miniperlmain.o opmini.o
util.o: In function `Perl_get_context':
util.c.text+0xfa0): undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesysmalloc':
util.c.text+0x1f3c): undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesysrealloc':
util.c.text+0x2a50): undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesyscalloc':
util.c.text+0x2f38): undefined reference to `pthread_getspecific'
util.o: In function `Perl_warner_nocontext':
util.c.text+0x39b8): undefined reference to `pthread_getspecific'
util.o:util.c.text+0x3a34): more undefined references to `pthread_getspecific' follow
util.o: In function `Perl_set_context':
util.c.text+0x6060): undefined reference to `pthread_setspecific'
util.o: In function `Perl_die_nocontext':
util.c.text+0x69d0): undefined reference to `pthread_getspecific'
util.o: In function `Perl_mess_nocontext':
So I decided to recompile perl by mysel (I previously got perl from http://www.inreto.de/dns323/fun-plug/0. … 5.10-2.tgz)
I looked at the working perl version config args using : perl -V:config_args
I downloaded perl 5.8.9 and 5.10.0 from CPAN repository and in both cases I got the following errors
./Configure -ds -e -Dprefix=/ffp -Dvendorprefix=/ffp -Dman1dir=/ffp/share/man/man1 -Dman3dir=/ffp/share/man/man3 -Dpager= /ffp/bin/less -Dusethreads -Dcc=distcc gcc -Dccflags= -O2 -pipe -Dldflags= -Wl,-rpath -Wl,/ffp/lib -Dlibpth=/ffp/lib
Errors I get :
miniperlmain.o opmini.o
util.o: In function `Perl_get_context':
util.c.text+0xfa0): undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesysmalloc':
util.c.text+0x1f3c): undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesysrealloc':
util.c.text+0x2a50): undefined reference to `pthread_getspecific'
util.o: In function `Perl_safesyscalloc':
util.c.text+0x2f38): undefined reference to `pthread_getspecific'
util.o: In function `Perl_warner_nocontext':
util.c.text+0x39b8): undefined reference to `pthread_getspecific'
util.o:util.c.text+0x3a34): more undefined references to `pthread_getspecific' follow
util.o: In function `Perl_set_context':
util.c.text+0x6060): undefined reference to `pthread_setspecific'
util.o: In function `Perl_die_nocontext':
util.c.text+0x69d0): undefined reference to `pthread_getspecific'
util.o: In function `Perl_mess_nocontext':
I guess I'm missing something relative to libpthread or a bad lib path,
Can anyone help ?
Regards,
Sylvain
Offline
Pages: 1