LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can't compile XChat on Debian Sarge (Perl problem?) (https://www.linuxquestions.org/questions/debian-26/cant-compile-xchat-on-debian-sarge-perl-problem-259654/)

Ninja Cow 11-26-2004 06:35 PM

Can't compile XChat on Debian Sarge (Perl problem?)
 
I'm having a problem compiling XChat on Debian. Yes, I know I can use apt to download an XChat .deb binary, but I'd rather compile it when possible.

Here's the error I receive:

*** Warning: Linking the shared library perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not portable!

I googled it and someone suggested to download the libperl-dev package using apt. I did so and still receive the same error message.

Any ideas how to fix this?

Ironi 11-27-2004 09:34 PM

Re: Can't compile XChat on Debian Sarge (Perl problem?)
 
Quote:

Originally posted by Ninja Cow
I'm having a problem compiling XChat on Debian. Yes, I know I can use apt to download an XChat .deb binary, but I'd rather compile it when possible.

You can do a little of both, actually (assuming that you have the appropriate deb-src lines in /etc/apt/sources.list):

apt-get build-dep xchat #fetch the build dependencies
apt-get source -b xchat #download the source, build xchat, and create deb package(s)

Quote:

Here's the error I receive:

*** Warning: Linking the shared library perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not portable!
That's a fatal error? Odd; I've seen similar errors before and they weren't.

As to how you'd go about resolving it, I don't know.

Wells 11-27-2004 10:58 PM

Re: Can't compile XChat on Debian Sarge (Perl problem?)
 
Quote:

Originally posted by Ninja Cow

Here's the error I receive:

*** Warning: Linking the shared library perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not portable!

This is just a warning. X-Chat still compiles even with this particular warning. I just compiled x-chat under CVS, and it worked fine even with this warning.

Ninja Cow 11-28-2004 05:35 PM

Re: Re: Can't compile XChat on Debian Sarge (Perl problem?)
 
Thanks folks. I'm able to compile XChat using Ironi's method. I receive a recursive error "pixmaps.o" when I try compiling 2.4.1 using the source from Xchat.org. That's okay, though, since Ironi's method worked like a charm.

Quote:

Originally posted by Wells
This is just a warning. X-Chat still compiles even with this particular warning. I just compiled x-chat under CVS, and it worked fine even with this warning.
It will not compile on my machine if I used the source from XChat.org. While I'm able to still use make install afterwards, nothing happens--meaning nothing installs.

kavehmz 04-15-2007 03:30 PM

Make a link to perl library
 
check the libperls in the /usr/lib directory
ls /usr/lib/libperl.so* -l

make a link like this
ln -s /usr/lib/libperl.so.5.8.8 /usr/lib/libperl.so

It solved my problem in compiling xchat on garnome.


All times are GMT -5. The time now is 01:10 PM.