LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-26-2004, 07:35 PM   #1
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
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?
 
Old 11-27-2004, 10:34 PM   #2
Ironi
LQ Newbie
 
Registered: May 2003
Location: Lansing, MI
Distribution: Debian
Posts: 27

Rep: Reputation: 15
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.

Last edited by Ironi; 11-27-2004 at 10:37 PM.
 
Old 11-27-2004, 11:58 PM   #3
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
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.
 
Old 11-28-2004, 06:35 PM   #4
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
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.
 
Old 04-15-2007, 04:30 PM   #5
kavehmz
LQ Newbie
 
Registered: Nov 2003
Location: Tehran
Distribution: Debian, Slakware, Suse, Libranet, Morphix, Shabdix, Redhat
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: ndiswrapper on Debian Sarge without having to compile anything MikeZila LinuxAnswers Discussion 64 01-14-2007 11:03 AM
compile the new kernel 2.6 on Debian Sarge cccc Debian 7 08-01-2005 08:26 AM
Compile Perl Gtk on debian? dicou Linux - General 2 04-25-2005 01:03 PM
xchat compile problem on interix... tibbar66 Other *NIX 0 04-08-2005 06:03 PM
PCMCIA-CS Compile Error on Debian Sarge PPC haimeltjnfg Linux - Software 0 05-24-2004 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration