Opened 10 years ago

Closed 6 years ago

#43608 closed defect (fixed)

gource: Could not link against -lGL !

Reported by: rudloff@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), chucko58 (Chuck Fry)
Port: gource

Description

Hello,

I get an error when I try to install Gource on Mac OS 10.7:

checking for GL/gl.h... yes
checking for OpenGL/gl.h... yes
checking for OpenGL library... -framework OpenGL
checking for GL/glu.h... yes
checking for OpenGL/glu.h... yes
checking for OpenGL Utility library... yes
checking for varargs GLU tesselator callback function type... no
checking for sdl-config... /Users/prudloff/opt/bin/sdl-config
checking for SDL - version >= 1.2.10... yes
checking for freetype-config... /Users/prudloff/opt/bin/freetype-config
checking for FreeType -- version >= 9.0.3... yes
checking for IMG_LoadPNG_RW in -lSDL_image... yes
checking for IMG_LoadJPG_RW in -lSDL_image... yes
checking for pcre_compile in -lpcre... yes
checking for glewInit in -lGLEW... yes
checking for boostlib >= 1.46... yes
checking whether the Boost::System library is available... yes
checking whether the Boost::Filesystem library is available... yes
configure: error: Could not link against -lGL !

Regards,

Attachments (3)

config.log (39.9 KB) - added by rudloff@… 10 years ago.
main.log (55.5 KB) - added by rudloff@… 10 years ago.
config.log.diff (59.7 KB) - added by cooljeanius (Eric Gallager) 10 years ago.
diff between OP's config.log and a successful one

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by rudloff@…

Attachment: config.log added

Changed 10 years ago by rudloff@…

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: phw removed
Owner: changed from macports-tickets@… to phw@…

Trac requires complete email addresses.

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

hm, that's strange for multiple reasons: first, because it works successfully for me, and second, because the error message about the missing library is not even the library that the macro that it is part of (AX_BOOST_FILESYSTEM) should be checking for... while AX_BOOST_FILESYSTEM may be relatively badly written for an autoconf macro (it assumes that the user has a tac executable in their path, for example), I still do not see how that translates into it checking for -lGL instead of -lboost_filesystem-mt... anyways, I will attach a diff between our config.log files...

Changed 10 years ago by cooljeanius (Eric Gallager)

Attachment: config.log.diff added

diff between OP's config.log and a successful one

comment:3 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 9 years ago by petrrr

phw retired, #45339.

comment:5 Changed 9 years ago by petrrr

Owner: changed from phw@… to macports-tickets@…

comment:6 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: chucko58 added

Has duplicate #56808. I think we solve this by telling the configure script where boost is, rather than letting it assume it's in one of the common locations the configure script checks for. Both this ticket and the duplicate occurred on systems using non-default MacPorts prefixes.

comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In 414cccd4690e3a7833f6104c3812a148356e318a/macports-ports (master):

gource: Specify path to boost

Fixes build failure when MacPorts is installed in a nonstandard prefix.

Revbump to ensure it wasn't linked against the wrong boost.

Closes: #43608

Note: See TracTickets for help on using tickets.