LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2003, 02:43 PM   #1
sonos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora
Posts: 14

Rep: Reputation: 0
Communications & Compile Questions


New to linux here, with Yellow Dog 3.0 installed on my Apple iBook 700MHz.

I have a general question about compiling source code. Please bare with my newbie logic: As Yellow Dog is an offset of RedHat, which uses RPMs ( binaries ) does this mean that I am not able to download source for a program, and compile it? For example, I know that there are many programs that offer RPMs in i386, but being PPC, that doesn't do me much good. Is it so simple as to download the source and compile it?

As for my communications question, I am trying to get a functional MSN clone to run within KDE. I have attempted to install two clients so far - Gaim, and AMSN. After installing Gaim with rpm -vi gaim-XXXX, I attempted to run the executable:

[Rick@ bin]$ gaim
gaim: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory

Can anyone shed light here?

AMSN requires TCL/TK - which I have, but when I attempt to run it, it errors out, as it cannot locate 'wish'. Using the rpm command, I found that I do have the latest version of TCL/TK installed - but no 'wish'. * shakes head *

So far this linux distribution has been simple and refreshing. It is much faster than OSX, and functionally, performs better in my hands. I decided to port over after finally deciding that the OSX interface has a long way to go. Windows XP, while a fast and reliable system, has seen so many vulnerabilities in the last few months, that it proves wise to explore all options available.

Thanks,
Rick
 
Old 09-09-2003, 03:11 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
For using software on PPC, all you usually have to do is download the source and compile it. Your GCC settings should be set up right.

Now that said, not all source is compatable with PPC, so its trial and error.

//
gaim: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
//

This is a common error. You need to install the libsigc++ rpms. These should come with your distro.


If the program needs WISH, install it. Either from PPC RPM (if its on your discs), or compile from source. Search Freshmeat and Google.com/linux for it.
 
Old 09-09-2003, 03:30 PM   #3
sonos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you for your response. I have installed the extra dependencies you mentioned (libsig), and am still getting the same response as before.

As for wish - have been unable to find it for PPC yet. Regarding compiling source code - I will check out a previous post on here introducing compiling, and try to compile the gaim program from source.

Thanks,
Rick
 
Old 09-09-2003, 03:37 PM   #4
sonos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Get:1 http://ftp.yellowdoglinux.com apt/3.0 release [1114B]
Fetched 1114B in 0s (1982B/s)
Get:1 http://ftp.yellowdoglinux.com apt/3.0/main pkglist [1301kB]
Get:2 http://ftp.yellowdoglinux.com apt/3.0/main release [123B]
Get:3 http://ftp.yellowdoglinux.com apt/3.0/main srclist [152kB]
Hit http://ftp.yellowdoglinux.com apt/3.0/update pkglist
Hit http://ftp.yellowdoglinux.com apt/3.0/update release
Hit http://ftp.yellowdoglinux.com apt/3.0/update srclist
Fetched 1453kB in 33s (43.1kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
W: There are multiple versions of "gaim" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^gaim$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems

How do I remove the previous version?

Thanks,
Rick
 
Old 09-09-2003, 04:00 PM   #5
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
wish is just a program that comes with tcl/tk. type a "which wish", and u should see where it is located, and try amsn with the full path to wish. (assuming u installed the tcl/tk packages).

to remove a previous version of gaim, if u had installed using an rpm (otherwise u wudnt have gotten that error anyway), just do a "rpm -e gaim".
 
Old 09-09-2003, 04:06 PM   #6
sonos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for your suggestions. I have now gotten AMSN running smoothly, after installing TCL/TK again, which brought wish along with it.

Gaim is up and running half way as well, though it drops out after about 4 or 5 seconds on MSN.

Thanks again for the help.

Rick
 
Old 09-09-2003, 04:16 PM   #7
sonos
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora
Posts: 14

Original Poster
Rep: Reputation: 0
rpm -e gaim
error: "gaim" specifies multiple packages
 
Old 09-09-2003, 04:20 PM   #8
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
hmm...strange.
rpm -ev gaim (for a more verbose err msg?)


 
  


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
IPsec to secure client-gateway communications acidmax Linux - Networking 0 01-31-2005 11:33 AM
Error during setting up interprocess communications for KDE seran Linux - General 0 08-30-2004 02:28 AM
Communications, Networks or Programming??? Hammo General 1 08-20-2004 10:34 PM
Is anybody using COX Communications as ISP? randon Linux - General 2 10-08-2003 09:35 PM
serial communications flandercan Programming 4 02-13-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 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