View previous topic :: View next topic |
Author |
Message |
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Sun Jul 17, 2005 1:46 am Post subject: |
|
|
media-video/transcode-0.6.14-r2 fails during configure, seemingly it can't find lame. |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Sun Jul 17, 2005 1:45 pm Post subject: |
|
|
mail-client/sylpheed-claws-1.0.5 fails while looking for GTK.
mail-client/sylpheed-claws-maildir-0.7 fails while looking for GTK.
mail-client/sylpheed-claws-ghostscript-viewer-0.8 fails while looking for GTK.
mail-client/sylpheed-claws-pgpinline-0.5 fails while looking for GTK.
They all produce this error message:
Code: |
checking for GTK - version >= 1.2.6... no
*** Could not run GTK test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK or finding the wrong
*** version of GTK. If it is not finding GTK, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
*** rpm --erase --nodeps gtk gtk-devel
configure: error: Test for GTK failed. See the file 'INSTALL' for help.
|
Needless to say that all of the before mentioned packages compile nicely without -Wl,--as-needed. |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Mon Jul 18, 2005 7:53 pm Post subject: |
|
|
Allthough it's not in portage yet, net-p2p/amule-2.0.3 also fails with --as-needed. As far as I can remember it produces the exact same error message as net-p2p/amule-2.0.1 |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Tue Jul 19, 2005 11:53 pm Post subject: |
|
|
is there any official gentoo progress on making this more supported?
I'd love seeing this filtered out of known problematic packages, if the performance increase is noticable it should be looked into in my opinion. |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Wed Jul 20, 2005 12:00 am Post subject: |
|
|
I use an extended /etc/portage/bashrc that allows me to have a package.ldflags file.
Works for me. |
|
Back to top |
|
|
pussi l33t
Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Wed Jul 20, 2005 8:43 am Post subject: |
|
|
lnxz wrote: | I use an extended /etc/portage/bashrc that allows me to have a package.ldflags file.
Works for me. |
Can you tell more precisely how you did that? |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Wed Jul 20, 2005 8:55 am Post subject: |
|
|
neuron wrote: | is there any official gentoo progress on making this more supported?
I'd love seeing this filtered out of known problematic packages, if the performance increase is noticable it should be looked into in my opinion. |
Hmm, I would like that too but.... The use of ldflags is currently supported by portage but using them is at your own risk, --as-needed for sure. Bugs reported will also be marked invalid
Maybe if we ask many times we might get an official /etc/portage/package.{ld,c}flags _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Wed Jul 20, 2005 12:32 pm Post subject: |
|
|
@Pussi: I copied a /etc/portage/bashrc with support for package.cflags and package.cxxflags, looked closely at it and put in some extra lines of code which enabled the package.ldflags file.
This is where I got the bashrc:
https://forums.gentoo.org/viewtopic-t-280748.html
If you look through it you should be able to quite easily extend it to handle individual ldflags as well.
If you have trouble doing that, the author might help you, or I could post the relevant parts from my bashrc.
Last edited by lnxz on Wed Jul 20, 2005 12:46 pm; edited 1 time in total |
|
Back to top |
|
|
Tiger683 Veteran
Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
|
Back to top |
|
|
pussi l33t
Joined: 08 May 2004 Posts: 727 Location: Finland
|
Posted: Wed Jul 20, 2005 2:02 pm Post subject: |
|
|
@ lnxz & Tiger683: Thanks! I'll check it out. |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Sun Jul 24, 2005 4:19 pm Post subject: Per package LDFLAGS |
|
|
This works quite well
I have added all the packages that do not work in /etc/portage/package.ldflags with my standard LDFLAGS but without --as-needed. Now I do not have to worry about this anymore
I also updated the post with this info and made it more readable. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Mon Jul 25, 2005 6:53 pm Post subject: |
|
|
i just recompiled the world with LDFLAGS="-Wl,--as-needed" and this is the list of the packages which didn't get compiled:
Code: | app-admin/torsmo-0.18-r6
app-text/docbook-sgml-utils-0.6.14
dev-cpp/gtkmm-2.6.3
dev-libs/libcroco-0.6.0
media-gfx/gimp-print-5.0.0_beta4
media-gfx/gthumb-2.6.5
media-video/transcode-0.6.14-r2
net-p2p/amule-2.0.3
sci-calculators/qalculate-gtk-0.8.0
sci-libs/libqalculate-0.8.0
x11-libs/wxGTK-2.6.1
x11-terms/rxvt-unicode-5.7
x11-themes/gtk-engines-2.6.3 |
|
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Mon Jul 25, 2005 8:03 pm Post subject: |
|
|
fctk wrote: | i just recompiled the world with LDFLAGS="-Wl,--as-needed" and this is the list of the packages which didn't get compiled:
Code: | app-admin/torsmo-0.18-r6
app-text/docbook-sgml-utils-0.6.14
dev-cpp/gtkmm-2.6.3
dev-libs/libcroco-0.6.0
media-gfx/gimp-print-5.0.0_beta4
media-gfx/gthumb-2.6.5
media-video/transcode-0.6.14-r2
net-p2p/amule-2.0.3
sci-calculators/qalculate-gtk-0.8.0
sci-libs/libqalculate-0.8.0
x11-libs/wxGTK-2.6.1
x11-terms/rxvt-unicode-5.7
x11-themes/gtk-engines-2.6.3 |
|
Thanks.
Are you sure x11-terms/rxvt-unicode-5.7 is failing as it is working for me. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Mon Jul 25, 2005 8:08 pm Post subject: |
|
|
Code: | checking whether time.h and sys/time.h may both be included... yes
checking whether termios.h and sys/ioctl.h may both be included... yes
checking for -rpath dynamic library path recording... no
checking for -R dynamic library path recording... no
checking for XPointer... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for short... yes
checking size of short... configure: error: cannot compute sizeof (short), 77
See `config.log' for more details.
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/rxvt-unicode-5.7/work/rxvt-unicode-5.7/config.log
!!! ERROR: x11-terms/rxvt-unicode-5.7 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message. |
if i do: LDFLAGS="" emerge rxvt-unicode no errors... |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Mon Jul 25, 2005 9:10 pm Post subject: |
|
|
fctk wrote: | Code: | checking whether time.h and sys/time.h may both be included... yes
checking whether termios.h and sys/ioctl.h may both be included... yes
snip
checking size of short... configure: error: cannot compute sizeof (short), 77
See `config.log' for more details.
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/rxvt-unicode-5.7/work/rxvt-unicode-5.7/config.log
!!! ERROR: x11-terms/rxvt-unicode-5.7 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message. |
if i do: LDFLAGS="" emerge rxvt-unicode no errors... |
Hmm, this is the second report for rxvt-unicode-5.7 with this error. Not certain --as-needed is the problem but it for it sure triggers the bug/error
Untill someone figures out what is causing the error/bug this will be in the list. Anyone
Thanks _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Tue Jul 26, 2005 1:18 pm Post subject: |
|
|
another package that won't compile is: sci-misc/boinc-4.72 |
|
Back to top |
|
|
fctk Veteran
Joined: 28 Jan 2004 Posts: 1424 Location: Milan, Italy, EU
|
Posted: Tue Jul 26, 2005 5:57 pm Post subject: |
|
|
i read this: https://forums.gentoo.org/viewtopic-t-280748.html and i installed smoked's script in /etc/portage/bashrc. then i created /etc/portage/package.ldflags and i put there the following line:
Code: | =sci-misc/boinc-4.72 -Wl,--no-as-needed |
that won't work. the working line is:
Code: | sci-misc/boinc -Wl,--no-as-needed |
but in this way i can't specify the version. is there a way to accomplish that? |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Fri Jul 29, 2005 8:11 pm Post subject: |
|
|
x11-misc/fluxconf-0.9.8 fails reporting alot of undefined references, mostly to GTK components (or so it seems).
Example:
Code: |
/var/tmp/portage/fluxconf-0.9.8/work/fluxconf-0.9.8/src/fluxbare.c:113: undefined reference to `gtk_widget_realize'
|
|
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Sat Jul 30, 2005 2:08 pm Post subject: |
|
|
Seems like dev-php/php-4.4.0 doesn't play well with -Wl,--as-needed either, it just fails silently when looking for jpeg during configure, even when the jpeg use flag isn't set. Without -Wl,--as-needed it compiles w/o probs. |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Wed Aug 10, 2005 2:31 pm Post subject: |
|
|
net-analyzer/nmap-3.83 fails to find GTK. |
|
Back to top |
|
|
Enverex Guru
Joined: 02 Jul 2003 Posts: 501 Location: Worcester, UK
|
Posted: Wed Aug 24, 2005 7:58 pm Post subject: |
|
|
More packages that fail:
Timidity++-2.13.2.r2
xmm-midi-0.03
speex-1.1.7 |
|
Back to top |
|
|
Enverex Guru
Joined: 02 Jul 2003 Posts: 501 Location: Worcester, UK
|
Posted: Thu Aug 25, 2005 7:40 pm Post subject: |
|
|
app-emmulation/e-uae-0.8.27 |
|
Back to top |
|
|
lnxz Guru
Joined: 03 Jul 2005 Posts: 472 Location: Earth
|
Posted: Sun Aug 28, 2005 10:04 am Post subject: |
|
|
app-admin/conky-1.2 fails silently when it comes to libmpdclient.o |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Mon Aug 29, 2005 11:25 am Post subject: |
|
|
1: Thanks for the feedback, NightShade737 and lnxz I have added them to the original post.
2: FYI, I had some unicode problems with firefox and this generated garbage in the original post
I think I fixed them all but if you see strange characters that should not be there let me know, thanks
3: I tried the latest gnome beta and saw some problems that I am not sure if there are related to --as-needed. A lot of the problems are related to cairo and I will post a small list below when I am home. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Enverex Guru
Joined: 02 Jul 2003 Posts: 501 Location: Worcester, UK
|
Posted: Tue Aug 30, 2005 9:58 am Post subject: |
|
|
media-libs/gdk-pixbuf-0.22.0-r4
x11-libs/gtkglarea-1.2.3-r1 |
|
Back to top |
|
|
|