sh-mahdi / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Doesn't link GL correctly on OS X (10.6.3) #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Version 0.26 builds fine for me from-source on OS X (no MacPorts installed.)
Version 0.26.b fails to find OpenGL for me.

Apparently there were some MacPorts related GL fixes in 0.26b; these have 
apparently broken non-
MacPorts based builds.

Original issue reported on code.google.com by fla...@gmail.com on 19 Apr 2010 at 3:55

GoogleCodeExporter commented 8 years ago
otool dump:

http://gist.github.com/370739

Original comment by fla...@gmail.com on 19 Apr 2010 at 4:05

GoogleCodeExporter commented 8 years ago
Hi. Could you take m4 scripts from 0.26 tar ball, and copy them over the ones in
0.26b and confirm that fixes your problem,

All I did was update the scripts from the new version of the autoconf-gl-macros.

http://code.google.com/p/autoconf-gl-macros

If you look at configure.ac you will see a section about 'Disable X11 on Macs 
unless
required' which I added with the intent that it cause it to default to using the
framework Opengl. Perhaps there is some issue with that and the new version of 
the
macros.

If you can do some more investigation that'd be appreciated.

Original comment by acaudw...@gmail.com on 19 Apr 2010 at 4:38

GoogleCodeExporter commented 8 years ago
I took 0.26 and copied in the macros from that autoconf-gl-macros project, and 
got the linker error: 
http://gist.github.com/370761

(I'll try going the other way, older m4 macros on top of 0.26b in a bit.)

Original comment by fla...@gmail.com on 19 Apr 2010 at 4:47

GoogleCodeExporter commented 8 years ago
Pulling the 0.26 macros forward into 0.26b gives me errors about "line 52: 
aclocal-1.11: command not found".

Original comment by fla...@gmail.com on 19 Apr 2010 at 4:59

GoogleCodeExporter commented 8 years ago
You probably need to do autoreconf -f -i

Original comment by acaudw...@gmail.com on 19 Apr 2010 at 5:17

GoogleCodeExporter commented 8 years ago
(perhaps delete aclocal.m4 first so it rebuilds it)

Original comment by acaudw...@gmail.com on 19 Apr 2010 at 5:19

GoogleCodeExporter commented 8 years ago
Compiled against Git head w/ autoconf, and linking is working correctly.

Original comment by fla...@gmail.com on 8 May 2010 at 5:51

GoogleCodeExporter commented 8 years ago
As a point of information, Gource is now available on OS X via the Homebrew 
package manager: 
http://github.com/mxcl/homebrew/commit/9ad1bf457d793aec4189ce753def021f44a121e9

Original comment by fla...@gmail.com on 8 May 2010 at 5:58

GoogleCodeExporter commented 8 years ago
Cool. Glad it's working again :)

Original comment by acaudw...@gmail.com on 8 May 2010 at 11:12

GoogleCodeExporter commented 8 years ago

Original comment by acaudw...@gmail.com on 23 Mar 2011 at 10:42