LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2003, 04:28 PM   #1
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Rep: Reputation: 15
Gaim and Gkrellm error out during compile


I have a few problems... I'll start with the main ones and move to the small problems. First, I am running Gentoo, with all of the latest stable builds of software. XFree86 is not the latest version however... I am running ver. 4.2.x due to ATI having not released drivers compiled with 4.3.x. I am on an Athlon XP based system. Anyway... here is what happens, it's pretty much the same error on both sides, however on Gaim, it's not actually Gaim that errors, it's gtkspell. When Gaim is emerged, portage automatically emerges gtkspell as it is a dependency.

This is the error for the gtkspell compile:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libXrandr.so.2, needed by /usr/lib/libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/libgdk-x11-2.0.so: undefined reference to `XRRUpdateConfiguration'
collect2: ld returned 1 exit status
make[1]: *** [advanced] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libXrandr.so.2, needed by /usr/lib/libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/libgdk-x11-2.0.so: undefined reference to `XRRUpdateConfiguration'
collect2: ld returned 1 exit status
make[1]: *** [simple] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkspell-2.0.2/work/gtkspell-2.0.2/examples'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/gtkspell-2.0.2 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! compile failure

And this is the compile error for Gkrellm:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libXrandr.so.2, needed by /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../libgdk-x11-2.0.so: undefined reference to `XRRUpdateConfiguration'
collect2: ld returned 1 exit status
make[1]: *** [gkrellm] Error 1
make[1]: Leaving directory `/var/tmp/portage/gkrellm-2.1.9/work/gkrellm-2.1.9/src'
make: *** [all] Error 2

!!! ERROR: app-admin/gkrellm-2.1.9 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)

They both seem to be having an issue with libXrandr.so.2, but I don't know what to emerge to get that particular library. I also have no clue as to what 'XRRUpdateConfiguration' is, and can find VERY little information on forums and google searches.

Second, as a regular user(with the user id of 500) I cannot read/write nothing on my fat32 partition. Everything is all groovy with root, but as standard user I can't even see the folder. My fstab is below...

/dev/hda2 /boot reiserfs noauto,noatime,notail 1 1
/dev/hda3 / reiserfs noatime,notail 0 0
/dev/hda4 none swap sw 0 0
/dev/cdroms/cdrom1 /mnt/cdrom iso9660 auto,user 0 0
/dev/cdroms/cdrom0 /mnt/dvd iso9660 auto,user 0 0
proc /proc proc defaults 0 0
/dev/hdc1 /media vfat auto,gid=500,umask=007 0 0
/dev/fd0 /mnt/floppy defaults

Some of that stuff might be wrong, as with Gentoo you have to build most of your fstab by yourself, and I don't know my way around the options at all. I tried setting it up with some options a saw in a few threads on this forum.

Third, my system seems to be reading my CDROM as an ms-dos filesystem would, meaning it only displays the directory tree on my CD in 8 character filenames This is causing me problems when I try to install Counter-Strike with winex. The CS installer looks for files named counter-strike.exe and other long filenames, and doesn't find them because they are being displayed as counte~1.exe, so my install keeps erroring out... this *might* be a problem with my wine configuration... I don't know.

Forth, Gnome won't initialize. I have KDE, blackbox, Gnome, and enlightenment installed, and all of them start fine except gnome.

This is the error when starting gnome:

gnome-session: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory

It appears that libXrandr.so.2 is causing more problems than I see, from compiling software to starting gnome.

Fifth, does anybody know how to KILL arts??? all the stupid sounds drive me nutz. I have turned down arts volume so I don't hear arts, but I would rather it not be running at all and using resources.

One more thing, this is more of curiosty than anything, I can use mplayer for everything on my system, but has anybody here successfully played a video or sound file that is embedded into a web page? For instance, a lot of sites when you click on play video, pop up a seperate window with the video embedded into that window, and you select either wm, real, or quicktime as the format and it automatically uses that players browser plugin. I tried adding the file type to fstab, specifying to use gmplayer, but that didn't work. Is there a browser plugin for mplayer? or is there some trick, or are these types of media just unreachable from linux?

Thanks for all the help,

Zak

Last edited by zakl; 05-10-2003 at 04:40 PM.
 
Old 05-11-2003, 03:01 AM   #2
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Original Poster
Rep: Reputation: 15
OK, by installing XFree86 4.3.x and dropping ATI's vid drivers, and using XFree-DRM drivers, I have fixed all the problems listed above. Apparently, libXrandr.so.2 is supplied by XFree86 4.3.x, thus solving the compile problems and the gnome issue.

I also found that giving fstab the users option for my fat32 patition, and by manually mounting the fat32 partition as my non-root user, I get full rights to the partition as a non-root user. While this works, I would like to find a way to do it automatically through fstab.

After emerging the latest XFree86, KDE screws up I just can't win. I get gnome working and everything else, and in doing so, KDE doesn't like it. Evidently because I compiled KDE under XFree86 4.2.x, it's causing the display to be very disfigured, windows opening extremely long and going off the screen, the k menu not showing any text, only icons, and going off the screen as well, as well as a few other problems. I tried to emerge KDE again, and even "emerge unmerge kde" and "emerge -C KDE" but that only removes kde-base, and when i "emerge kde" afterwards it doesn't recompile.

And arts still needs to be permanently erased from history.

I hope this may help others who have similar problems.

If anybody has any ideas on how to recompile KDE and all it's sub-programs in Gentoo, please give me a shout.

Thanks again,

Zak
 
  


Reply



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
Gaim 0.81 compile error duaux Linux - Software 3 08-14-2004 10:17 AM
Gkrellm v2 Error, HELP! RaVilj Linux - Software 2 06-19-2004 12:27 PM
How to listen to mp3's with xmms, while getting gkrellm alert and gaim sounds? dibblethewrecke Linux - Software 2 02-24-2004 12:39 PM
Can't compile gkrellm plugins pen^2 Linux - Software 3 01-29-2004 11:49 AM
main.c error with gkrellm compile esteeven Linux - Software 10 06-20-2003 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 AM.

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