Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE 3.1 Compilation Error - libXaw.so and undefined referenc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
keratos68
Guru
Guru


Joined: 27 Dec 2002
Posts: 561
Location: Blackpool, Lancashire, UK.

PostPosted: Mon Feb 10, 2003 8:37 pm    Post subject: KDE 3.1 Compilation Error - libXaw.so and undefined referenc Reply with quote

Got this error when trying to recompile KDE 3.1 (latest). Have "emerged rsync" and tried again. Same error.

Any ideas folks?

Code:
/bin/sh ../../libtool --silent --mode=link gcc -DDEFAULT_PATH=\"/usr/kde/3.1/sh$
common.o(.text+0x26d): In function `open_file':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: $
/usr/X11R6/lib/libXaw.so: undefined reference to `XpmReadFileToPixmap'
collect2: ld returned 1 exit status
make[3]: *** [timidity] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1/work/kdemultimed$
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1/work/kdemultimed$
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1/work/kdemultimed$
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.1 failed.
!!! Function kde_src_compile, Line -9072, Exitcode 2
!!! died running emake, kde_src_compile:make

Calculating dependencies   ^H^H ...done!
>>> emerge (1 of 9) kde-base/kdemultimedia-3.1 to /
>>> md5 ;-) kdemultimedia-3.1.tar.bz2
Traceback (most recent call last):
  File "/usr/bin/rmerge2", line 384, in ?
    merge_pkgs(args)
  File "/usr/bin/rmerge2", line 311, in merge_pkgs

_________________
Someone told me that "..they only ever made one mistake...."

...and that's when they said they were wrong!!
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Mon Feb 10, 2003 10:04 pm    Post subject: Reply with quote

This seems to be an error caused by your USE flags maybe.

The problem is that for some reason the linker can not find your libxpm. It may just be that you don't have Xpm installed.

Try to do: emerge xpm and then rerun the failing build.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
keratos68
Guru
Guru


Joined: 27 Dec 2002
Posts: 561
Location: Blackpool, Lancashire, UK.

PostPosted: Wed Feb 12, 2003 10:41 pm    Post subject: Reply with quote

Yeah, cheers. Thats done it.

I used qpkg -f /usr/X11R6/lib/libXpm.so and it said x11-base owned it. I did a search of this and indeed it seemed to be owed by xfree, yet I'd installed xfree and this lib hadnt been created.

The /usr/portage/profiles/use.desc has no mention of xpm so I dont think its a [direct] use flag!!

I tried [color=blue]emerge -s "*Xpm*" and of course this was unsuccessful - case sensitive!!

Ah well, its working now. How did you know that there was a separate xpm package, and not to look in xfree where I was digging!!??

TIA
Daz.
_________________
Someone told me that "..they only ever made one mistake...."

...and that's when they said they were wrong!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum