LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   perl recompilation (http://www.linuxquestions.org/questions/linux-newbie-8/perl-recompilation-929912/)

rmugunthan 02-17-2012 09:57 AM

perl recompilation
 
Hi,

I got the below error messages when using the perl version 5.10

perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so: undefined symbol: Perl_Tstack_sp_ptr

I googled and find the below URL, In that they mentioned it is a bug

https://bugs.archlinux.org/task/9078

Also they explained recompilation will solve the problem like that. Could someone explain how to recompile the perl packages.

Thanks,

jhwilliams 02-17-2012 10:00 AM

Recompiling Perl is a god-awful adventure. Good luck.

However, you might have good luck by using the Linux From Scratch documentation as a reference:

http://www.linuxfromscratch.org/lfs/...er06/perl.html

Cedrik 02-17-2012 10:16 AM

The link does not suggest to compile perl but to compile perl modules to correct an incompatibility with perl version...

Cedrik 02-17-2012 10:18 AM

Quote:

Originally Posted by rmugunthan (Post 4605100)
Hi,

I got the below error messages when using the perl version 5.10

perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so: undefined symbol: Perl_Tstack_sp_ptr

I googled and find the below URL, In that they mentioned it is a bug

https://bugs.archlinux.org/task/9078

Also they explained recompilation will solve the problem like that. Could someone explain how to recompile the perl packages.

Thanks,

Try to compile and reinstall the module with cpan
Code:

cpan
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install XML::Parser
cpan> exit


jhwilliams 02-17-2012 10:31 AM

Quote:

Originally Posted by Cedrik (Post 4605111)
The link does not suggest to compile perl but to compile perl modules to correct an incompatibility with perl version...

Look again. The LFS stuff has a hack for a particular module, but that documentation does in fact build the full perl (in addition to perl modules.)

Cedrik 02-17-2012 11:13 AM

Quote:

Originally Posted by jhwilliams (Post 4605124)
Look again. The LFS stuff has a hack for a particular module, but that documentation does in fact build the full perl (in addition to perl modules.)

I was talking about the OP's link (arch discussion from 2008)...


All times are GMT -5. The time now is 02:48 AM.