Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Now isn't this ugly.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Wed May 21, 2003 3:24 am    Post subject: Now isn't this ugly. Reply with quote

Get this when compiling gnome-terminal or libbonobo:
Code:
/bin/sh ../libtool --mode=link gcc  -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0    -I/usr/X11R6/include -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/startup-notification-1.0   -march=athlon-xp -O3 -ffast-math -mfpmath=sse,387 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -fmerge-all-constants -fforce-addr -funsafe-math-optimizations -mno-accumulate-outgoing-args -ftracer -Wall  -o gnome-terminal  encoding.o profile-editor.o skey-popup.o terminal.o terminal-accels.o terminal-profile.o terminal-screen.o terminal-widget-vte.o terminal-window.o x-font-selector.o simple-x-font-selector.o eggaccelerators.o eggcellrendererkeys.o   -L/usr/X11R6/lib  -lSM -lICE -lX11  -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lstartup-notification-1   -Wl,--export-dynamic -L/usr/X11R6/lib -lvte -lz -lncurses -lGLU -lGL -lSM -lICE -lX11 -lXft -lfreetype -lXrender -lgtk-x11-2.0 -lfontconfig -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   eel/libeelcnp.la skey/libskey.la
mkdir .libs
libtool: link: cannot find the library `/var/tmp/portage/libIDL-0.8.1/image/usr/lib/libIDL-2.la'
make[3]: *** [gnome-terminal] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-terminal-2.2.1-r1/work/gnome-terminal-2.2.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-terminal-2.2.1-r1/work/gnome-terminal-2.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-terminal-2.2.1-r1/work/gnome-terminal-2.2.1'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: x11-terms/gnome-terminal-2.2.1-r1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Wed May 21, 2003 8:12 am    Post subject: Reply with quote

Hello Gent,

Can I have a look at your CFLAGS? More often than not, aggressive, wrong, or incompatible CFLAGS are the most common cause of compilation errors. Also check your dependencies, to see if some of them aren't stale or if a newer version is needed. Doing an
Code:

# emerge sync

will sometimes correct the dependency problems. Outside all these, I can't understand why 'gnome-terminal' or 'libbonobo' isn't compiling successfully.
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Wed May 21, 2003 9:53 pm    Post subject: Reply with quote

It hasn't anything to do with dependancies, read the error and see where it thinks libidl is
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Wed May 21, 2003 9:56 pm    Post subject: Reply with quote

I had the same problem, and already reported it to https://bugs.gentoo.org

Go there and search, 'cause the solution is already there :wink:
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Fri May 23, 2003 5:53 am    Post subject: Reply with quote

The fix there did not work. re-emerging corba and corba2 did nothing
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri May 23, 2003 2:54 pm    Post subject: Reply with quote

What about dev-libs/libIDL?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Fri May 23, 2003 3:06 pm    Post subject: Reply with quote

Key line:
Code:
libtool: link: cannot find the library `/var/tmp/portage/libIDL-0.8.1/image/usr/lib/libIDL-2.la'

Downgrade to libIDL 0.8.0. There's a reason why the 0.8.1 ebuild contains:
Code:
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
Namely, it's broken and anything depending on it is getting an incorrect library location when running configure.
Back to top
View user's profile Send private message
floam
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1067
Location: Vancouver, WA USA

PostPosted: Mon May 26, 2003 1:45 am    Post subject: Reply with quote

Downgradeing does not help. Note that I get this during emerge libIDL
Code:
----------------------------------------------------------------------
Libraries have been installed in:
   /var/tmp/portage/libIDL-0.8.0/image//usr/lib
 
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
 
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Back to top
View user's profile Send private message
NoBrandHero
n00b
n00b


Joined: 16 Apr 2003
Posts: 20

PostPosted: Mon May 26, 2003 5:49 am    Post subject: Reply with quote

I was having that same problem with libIDL when trying to emerge gnome 2.3.2 ebuilds. To work around it, I edited /usr/lib/libIDL-2.la and changed the libdir='/var/tmp/portage/libIDL...' at the bottom to libdir='/usr/lib'.

I then did: grep "/var/tmp/portage/libIDL" /usr/lib/* and re-emerged any libraries that appeared with /var/tmp/portage/libIDL in the grep output. I re-emerged libbonobo and gnome-desktop (your broken-libIDL results will vary). The libIDL libraries themselves will match in the grep, but I didn't re-emerge libIDL 0.8.1 since that would just break the libIDL-2.la file again.
Back to top
View user's profile Send private message
sciack
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 120
Location: Genoa, Italy.

PostPosted: Mon May 26, 2003 4:07 pm    Post subject: Reply with quote

Code:
emerge -e gnome-terminal ?


did you try it?

bye :roll:
_________________
the sciack
Back to top
View user's profile Send private message
NoBrandHero
n00b
n00b


Joined: 16 Apr 2003
Posts: 20

PostPosted: Mon May 26, 2003 4:18 pm    Post subject: Reply with quote

sciack wrote:
Code:
emerge -e gnome-terminal ?


did you try it?

bye :roll:


Out of curiosity, I just tried emerge -ep gnome-terminal right now. It reported 127 ebuilds that it would have rebuilt. While --emptytree would indeed be handy for, say, rebuilding a lot of ebuilds using new cflags or whatnot, I certainly would not want to rebuild 127 packages when there are, in this case, probably only a handful that were affected by the borked libIDL ebuild. :roll:
Back to top
View user's profile Send private message
sciack
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 120
Location: Genoa, Italy.

PostPosted: Mon May 26, 2003 4:54 pm    Post subject: Reply with quote

yes, you say right. -e is useful to emerge again all the world if you type:

Code:
emerge -e world


I know its not well to do this work... but sometimes it is necessary if you can't figure it right!!

see ya! bye :roll:
_________________
the sciack
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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