Looking at the <a href="http://configure.ac">configure.ac</a> file building on Darwin should disable x11, but maybe there is a problem elsewhere in the configure process?&nbsp; This is more of a Zmoelnig quesiton since I use XCode on OSX.&nbsp; If you want a project file I can post it here although it will probably require a fair amount of work to make usable especially if you are not used to Apple&#39;s second rate IDE.<br>
<br>On Wed, Apr 16, 2008 at 11:49 AM, marius schebella &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;m using the makefile that ships with gem.<br>
I do<br>
cd Gem/src<br>
aclocal<br>
autoconf<br>
/configure --without-x --without-ImageMagick --without-tiff --without-jpeg --without-mpeg --without-mpeg3 --without-ieee1394 --without-aviplay --without-avifile --without-ffmpeg --with-ftgl-includes=/sw/include --with-ftgl-libs=/sw/lib --with-pd=/Users/marius/devel/pd-rsync/pd-extended/pd<br>

make<br>
<br>
I think the makefile is not the problem, but the config process, because I end up with a Make.config that has<br>
GEM_LIBS = $(LIBS) -Wl,-framework,OpenGL -L/sw/lib -L/usr/X11R6/lib -lobjc -lfreetype -lftgl<br>
but without<div class="Ih2E3d"><br>
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib<br></div>
which would bout solve a problem that is caused by apple and not gem. so I have to go into Make.config and edit this by hand (which I cannot do when I try to run the autobuild scripts). what I would need is a fix that writes a &quot;correct&quot; Make.config.<br>

<br>
since this is all an apple problem I am also trying to upgrade xcode and hope that apple fixed the problem in between.<br>
marius.<br>
<br>
<br>
chris clepper wrote:<div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Wed, Apr 16, 2008 at 10:55 AM, marius schebella &lt;<a href="mailto:marius.schebella@gmail.com" target="_blank">marius.schebella@gmail.com</a> &lt;mailto:<a href="mailto:marius.schebella@gmail.com" target="_blank">marius.schebella@gmail.com</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;still getting the same error<br>
<br>
 &nbsp; &nbsp;g++ -o Gem.pd_darwin &nbsp;-dynamiclib -mmacosx-version-min=10.3<br>
 &nbsp; &nbsp;-undefined dynamic_lookup -framework QuickTime -framework Carbon<br>
 &nbsp; &nbsp;-framework AGL -framework OpenGL &nbsp; ./Objects/*.o -L/sw/lib -ldl -lz<br>
 &nbsp; &nbsp;-lm &nbsp; -lpthread -L/Users/marius/devel/pd-rsync/pd-extended/pd/bin<br>
 &nbsp; &nbsp;-Wl,-framework,OpenGL -L/usr/X11R6/lib -L/sw/lib -lobjc -lfreetype<br>
 &nbsp; &nbsp;-lftgl<br>
 &nbsp; &nbsp;ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib<br>
 &nbsp; &nbsp;collect2: ld returned 1 exit status<br>
 &nbsp; &nbsp;make: *** [Gem.pd_darwin] Error 1<br>
 &nbsp; &nbsp;iohannes you suggested to add additional flags, but I don&#39;t know where.<br>
 &nbsp; &nbsp;chris you suggested to remove -L/usr/X11R6/lib, but I don&#39;t know where.<br>
 &nbsp; &nbsp;marius.<br>
<br>
<br>
LDFLAGS ? &nbsp;I don&#39;t know what your makefile looks like though.<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>