Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79849 - fox-1.0.49 can't emerge because of "cannot find -lMesaGLU"
Summary: fox-1.0.49 can't emerge because of "cannot find -lMesaGLU"
Status: RESOLVED DUPLICATE of bug 153234
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords: Bug
: 108638 (view as bug list)
Depends on:
Blocks: 88201
  Show dependency tree
 
Reported: 2005-01-28 07:55 UTC by Ivan Peevski
Modified: 2006-10-29 09:50 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
allows emerge w/ USE="opengl" (fox-opengl.patch,435 bytes, patch)
2006-04-24 07:41 UTC, Bobby Nations
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Peevski 2005-01-28 07:55:01 UTC
When I try to emerge fxruby, I get this as last spit:"
rm -fr .libs/libFOX.la .libs/libFOX.* .libs/libFOX-1.0.*
c++ -shared  FX4Splitter.lo FXAccelTable.lo FXApp.lo FXArrowButton.lo FXBMPIcon.lo FXBMPImage.lo FXBitmap.lo FXButton.lo FXCURCursor.lo FXCanvas.lo FXCharset.lo FXCheckButton.lo FXColorBar.lo FXColorDialog.lo FXColorNames.lo FXColorSelector.lo FXColorWell.lo FXColorWheel.lo FXComboBox.lo FXComposite.lo FXCursor.lo FXDC.lo FXDCPrint.lo FXDCWindow.lo FXDHMat.lo FXDHVec.lo FXDQuat.lo FXDVec.lo FXDataTarget.lo FXDebugTarget.lo FXDelegator.lo FXDial.lo FXDialogBox.lo FXDict.lo FXDirBox.lo FXDirDialog.lo FXDirList.lo FXDirSelector.lo FXDocument.lo FXDragCorner.lo FXDrawable.lo FXDriveBox.lo FXException.lo FXFile.lo FXFileDialog.lo FXFileDict.lo FXFileList.lo FXFileSelector.lo FXFont.lo FXFontDialog.lo FXFontSelector.lo FXFrame.lo FXGIFCursor.lo FXGIFIcon.lo FXGIFImage.lo FXGLCanvas.lo FXGLCone.lo FXGLContext.lo FXGLCube.lo FXGLCylinder.lo FXGLObject.lo FXGLShape.lo FXGLSphere.lo FXGLTriangleMesh.lo FXGLViewer.lo FXGLVisual.lo FXGroupBox.lo FXHMat.lo FXHVec.lo FXHeader.lo FXHorizontalFrame.lo FXICOIcon.lo FXICOImage.lo FXIcon.lo FXIconList.lo FXId.lo FXImage.lo FXImageView.lo FXInputDialog.lo FXJPGIcon.lo FXJPGImage.lo FXLabel.lo FXList.lo FXListBox.lo FXMDIButton.lo FXMDIChild.lo FXMDIClient.lo FXMainWindow.lo FXMatrix.lo FXMenubar.lo FXMenuButton.lo FXMenuCaption.lo FXMenuCascade.lo FXMenuCommand.lo FXMenuPane.lo FXMenuSeparator.lo FXMenuTitle.lo FXMessageBox.lo FXObject.lo FXObjectList.lo FXOptionMenu.lo FXPCXIcon.lo FXPCXImage.lo FXPNGIcon.lo FXPNGImage.lo FXPacker.lo FXPicker.lo FXPopup.lo FXPoint.lo FXPrintDialog.lo FXProgressBar.lo FXProgressDialog.lo FXQuat.lo FXRGBIcon.lo FXRGBImage.lo FXRadioButton.lo FXRange.lo FXRecentFiles.lo FXRectangle.lo FXRegion.lo FXRegistry.lo FXReplaceDialog.lo FXRex.lo FXRootWindow.lo FXScrollArea.lo FXScrollWindow.lo FXScrollbar.lo FXSearchDialog.lo FXSeparator.lo FXSettings.lo FXShell.lo FXShutter.lo FXSize.lo FXSlider.lo FXSpinner.lo FXSplitter.lo FXStatusbar.lo FXStatusline.lo FXStream.lo FXString.lo FXStringDict.lo FXSwitcher.lo FXTGAIcon.lo FXTGAImage.lo FXTIFIcon.lo FXTIFImage.lo FXTabBar.lo FXTabBook.lo FXTabItem.lo FXTable.lo FXText.lo FXTextField.lo FXToggleButton.lo FXToolbar.lo FXToolbarGrip.lo FXToolbarShell.lo FXToolbarTab.lo FXTooltip.lo FXTopWindow.lo FXTreeList.lo FXTreeListBox.lo FXUndoList.lo FXURL.lo FXVec.lo FXVerticalFrame.lo FXVisual.lo FXWindow.lo FXXPMIcon.lo FXXPMImage.lo fxbmpio.lo fxcurio.lo fxfilematch.lo fxgifio.lo fxicoio.lo fxjpegio.lo fxpcxio.lo fxpngio.lo fxpriv.lo fxquantize.lo fxrgbio.lo fxtargaio.lo fxtifio.lo fxutils.lo fxwinkbd.lo fxxpmio.lo vsscanf.lo  -L/usr/i686-pc-linux-gnu/lib -L/usr/i686-pc-linux-gnu/bin -L//usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5 -L/usr/lib -lXext -lX11 -lMesaGL -lMesaGLU /usr/lib/libjpeg.so -lpng /usr/lib/libtiff.so -lz -lm -lcups -lnsl  -Wl,-soname -Wl,libFOX-1.0.so.0 -o .libs/libFOX-1.0.so.0.0.49
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lMesaGLU
collect2: ld returned 1 exit status
make[1]: *** [libFOX.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/fox-1.0.49/work/fox-1.0.49/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/fox-1.0.49 failed.
"

I can install ruby fine. When I start installing fxruby, it says it has to install two versions of fox - an older and a newer one. It installs the older one fine, but towards the end of the second version's install, it quits with this message.

Reproducible: Always
Steps to Reproduce:
1. emerge fxruby
2.
3.

Actual Results:  
can't emerge as described above.

Expected Results:  
installed fox and fxruby properly.
Comment 1 Ivan Peevski 2005-01-28 08:54:57 UTC
I just found out that mesaglu has to do with glu/glut - the opengl libraries. So I compiled without opengl ('USE="-opengl" emerge fxruby') and it worked for the fox packet, but fxruby still failed after that. The error it stopped with was that:
g++ -fPIC -O3 -march=athlon-xp -pipe  -fPIC -O0 -Iinclude   -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/fxruby-1.0.25/work/FXRuby-1.0.25/ext/fox -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox  -I/usr/include/fox -c image_wrap.cpp
{standard input}: Assembler messages:
{standard input}:10640: Error: value of 0812afa7fffffffc too large for field of4 bytes at 0812afa808122f18
make: *** [image_wrap.o] Error 1
setup failed
'system make ' failed
Try 'ruby install.rb --help' for detailed usage.

!!! ERROR: dev-ruby/fxruby-1.0.25 failed.


So I hope that would be some help.

btw, thanks for looking at this issue so quickly. It was assigned minutes after it was created - pretty good! :)
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2005-02-06 17:05:35 UTC
I just merged fxruby 1.0.25 and fox-1.0.49 and the merged worked ok.

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cscope cups encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg junit kde ldap libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby samba sdl slang spell sqlite ssl svga tcltk tcpd tetex tiff truetype xml xml2 xmms xv zlib"
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-05-23 10:01:43 UTC
i can confirm this, at least if you see "cannot find -lMesaGL" as the same bug ;)

c++ -shared  FX4Splitter.lo FXAccelTable.lo FXApp.lo FXArrowButton.lo
FXBMPIcon.lo FXBMPImage.lo FXBitmap.lo FXButton.lo FXCURCursor.lo FXCanvas.lo
FXCharset.lo FXCheckButton.lo FXColorBar.lo FXColorDialog.lo FXColorNames.lo
FXColorSelector.lo FXColorWell.lo FXColorWheel.lo FXComboBox.lo FXComposite.lo
FXCursor.lo FXDC.lo FXDCPrint.lo FXDCWindow.lo FXDHMat.lo FXDHVec.lo FXDQuat.lo
FXDVec.lo FXDataTarget.lo FXDebugTarget.lo FXDelegator.lo FXDial.lo
FXDialogBox.lo FXDict.lo FXDirBox.lo FXDirDialog.lo FXDirList.lo
FXDirSelector.lo FXDocument.lo FXDragCorner.lo FXDrawable.lo FXDriveBox.lo
FXException.lo FXFile.lo FXFileDialog.lo FXFileDict.lo FXFileList.lo
FXFileSelector.lo FXFont.lo FXFontDialog.lo FXFontSelector.lo FXFrame.lo
FXGIFCursor.lo FXGIFIcon.lo FXGIFImage.lo FXGLCanvas.lo FXGLCone.lo
FXGLContext.lo FXGLCube.lo FXGLCylinder.lo FXGLObject.lo FXGLShape.lo
FXGLSphere.lo FXGLTriangleMesh.lo FXGLViewer.lo FXGLVisual.lo FXGroupBox.lo
FXHMat.lo FXHVec.lo FXHeader.lo FXHorizontalFrame.lo FXICOIcon.lo FXICOImage.lo
FXIcon.lo FXIconList.lo FXId.lo FXImage.lo FXImageView.lo FXInputDialog.lo
FXJPGIcon.lo FXJPGImage.lo FXLabel.lo FXList.lo FXListBox.lo FXMDIButton.lo
FXMDIChild.lo FXMDIClient.lo FXMainWindow.lo FXMatrix.lo FXMenubar.lo
FXMenuButton.lo FXMenuCaption.lo FXMenuCascade.lo FXMenuCommand.lo FXMenuPane.lo
FXMenuSeparator.lo FXMenuTitle.lo FXMessageBox.lo FXObject.lo FXObjectList.lo
FXOptionMenu.lo FXPCXIcon.lo FXPCXImage.lo FXPNGIcon.lo FXPNGImage.lo
FXPacker.lo FXPicker.lo FXPopup.lo FXPoint.lo FXPrintDialog.lo FXProgressBar.lo
FXProgressDialog.lo FXQuat.lo FXRGBIcon.lo FXRGBImage.lo FXRadioButton.lo
FXRange.lo FXRecentFiles.lo FXRectangle.lo FXRegion.lo FXRegistry.lo
FXReplaceDialog.lo FXRex.lo FXRootWindow.lo FXScrollArea.lo FXScrollWindow.lo
FXScrollbar.lo FXSearchDialog.lo FXSeparator.lo FXSettings.lo FXShell.lo
FXShutter.lo FXSize.lo FXSlider.lo FXSpinner.lo FXSplitter.lo FXStatusbar.lo
FXStatusline.lo FXStream.lo FXString.lo FXStringDict.lo FXSwitcher.lo
FXTGAIcon.lo FXTGAImage.lo FXTIFIcon.lo FXTIFImage.lo FXTabBar.lo FXTabBook.lo
FXTabItem.lo FXTable.lo FXText.lo FXTextField.lo FXToggleButton.lo FXToolbar.lo
FXToolbarGrip.lo FXToolbarShell.lo FXToolbarTab.lo FXTooltip.lo FXTopWindow.lo
FXTreeList.lo FXTreeListBox.lo FXUndoList.lo FXURL.lo FXVec.lo
FXVerticalFrame.lo FXVisual.lo FXWindow.lo FXXPMIcon.lo FXXPMImage.lo fxbmpio.lo
fxcurio.lo fxfilematch.lo fxgifio.lo fxicoio.lo fxjpegio.lo fxpcxio.lo
fxpngio.lo fxpriv.lo fxquantize.lo fxrgbio.lo fxtargaio.lo fxtifio.lo fxutils.lo
fxwinkbd.lo fxxpmio.lo vsscanf.lo  -Wl,--rpath -Wl,/usr/lib -Wl,--rpath
-Wl,/usr/lib  -L/usr/lib -L/usr/lib64 -lXext -lX11 -lMesaGL -lMesaGLU
/usr/lib/libjpeg.so -lpng /usr/lib64/libtiff.so -lz -lm -lcups -lnsl 
-Wl,-soname -Wl,libFOX-1.0.so.0 -o .libs/libFOX-1.0.so.0.0.49
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lMesaGL
collect2: ld returned 1 exit status
make[1]: *** [libFOX.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/fox-1.0.49/work/fox-1.0.49/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/fox-1.0.49 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! Parallel Make Failed

(About the parallel make, i also tried MAKEOPTS="-j1", same effect)

Portage 2.0.51.21-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -ggdb -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-g -ggdb -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg cvs debug distlocks multilib-strict nostrip
sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://buggy"
USE="amd64 X acpi alsa berkdb bitmap-fonts crypt cups curl debug dvd esd fam
flac font-server fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib
ipv6 jp2 jpeg ldap libwww lzw lzw-tiff motif mozilla mp3 mpeg ncurses network
nls nptl ogg oggvorbis opengl oss pam perl png python qt readline ruby ssl svg
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb
userlocales utf8 vorbis xml xml2 xpm xrandr xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-06-10 17:06:14 UTC
any luck with this? i have a bug for gtk-perl with the same symptoms (bug  
93383) where it can't find -lMesa (for some users - some of us, no problems) 
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-06-10 17:07:27 UTC
sorry - meant bug 93882 
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-06-30 16:38:19 UTC
libMesaGLU and libMesaGL has been deprecated for about 6 years now (plus or
minus).  We continued to provide them as symlinks to libGL and libGLU until
about 6 months ago in ~arch and probably 2-3 months in stable.  Whatever is
linking against libMesaGL or libMesaGLU needs to be fixed to use libGL and
libGLU, and upstream should know better, too... so let them know ;)
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 12:06:45 UTC
*** Bug 108638 has been marked as a duplicate of this bug. ***
Comment 8 Bobby Nations 2006-04-24 07:41:32 UTC
Created attachment 85364 [details, diff]
allows emerge w/ USE="opengl"

This patch will allow you to emerge fox-1.0.49 if you're using the "opengl" keyword.  The package's INSTALL file has the following:

"Under normal circumstances, configuration will find OpenGL if it is available
on the machine, and will build the libraries to use it; on Linux, however,
Mesa is detected, but the libraries are called libGL, and not libMesaGL."

Therefore, you need to explicitly specify '--with-opengl=opengl' in order to make it find the opengle libraries.  This patch does that.
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-03 16:13:25 UTC
old 
Comment 10 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-25 22:58:19 UTC
Pending further investigation this will be fixed by treecleaners
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-10-29 09:50:17 UTC
Removing this version, see Bug 153234

*** This bug has been marked as a duplicate of 153234 ***