Bug 743735 - Build failure due to missing -lGLU
Summary: Build failure due to missing -lGLU
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: meshlab
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Eric Smith
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-05 20:46 UTC by Aidan Delaney
Modified: 2011-10-27 02:21 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-27 02:21:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Add -lGLU to LIBS (341 bytes, patch)
2011-10-05 20:46 UTC, Aidan Delaney
no flags Details | Diff

Description Aidan Delaney 2011-10-05 20:46:56 UTC
Created attachment 526573 [details]
Add -lGLU to LIBS

Description of problem:
Meshlab fails to build (see koji) as it's missing -lGLU in the build file.

Version-Release number of selected component (if applicable):
Happens on F16 and F17

How reproducible:
rpmbuild -ba meshlab.spec

Attached patch should fix it.  But this is really an upstream issue.

Comment 1 Eric Smith 2011-10-06 01:16:08 UTC
Looks like this is a patch against an earlier Meshlab rather than 1.3.0a?  The shared.pri in 1.30.a doesn't even have the LIBS line you modify in your patch. Can you provide a link to a specific koji build showing the failure your patch fixes?

I'm having trouble building Meshlab 1.3.0a with 1.3.0a with Qt 4.8, but I think that is unrelated to this issue.

Thanks!
Eric

Comment 2 Eric Smith 2011-10-06 06:37:56 UTC
The latest problem I'm having with building 1.3.0a is related to GLU, but it's at compile time rather than link time:

g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -Issynth -I/usr/X11R6/include -I. -o Grid.o ssynth/SyntopiaCore/GLEngine/Grid.cpp
In file included from ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:6:0:
ssynth/SyntopiaCore/GLEngine/Sphere.h:25:4: error: 'GLUquadric' does not name a type

The compile succeeds on F14, but fails on F15 and newer, and I'm having trouble identifying the cause.

Comment 3 Eric Smith 2011-10-27 02:21:45 UTC
Fixed in rawhide and in meshlab-1.3.1-1.fc16 thanks to assistance from Orion Poplawski.


Note You need to log in before you can comment on or make changes to this bug.