Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot find GL lib




On Dec 17, 2007, at 10:56 PM, Mike wrote:

I tried your suggestion, no dice, but you gave me an idea... rtfm! So I read the README file for gtkglext, and there is a flag that allows you to specify where to look and if you tell it to look in the /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries it seems to configure and install okay. Unfortunately that is not enough in my case as I am trying to get a macport to work that requires this. Although I have now installed gtkglext, macports doesn't know it and tries to install it again. Of course it fails, and so I am back to the beginning. This is definitely an interesting development, I wonder if I can pass this flag to the ports command? Another option would be to figure out how macports knows it installed something and just trick it into knowing it has it. Maybe it is time to rtfm for macports \grin.

Thanks for not calling me a dummy... mike


On Dec 17, 2007, at 10:17 PM, Ben Byer wrote:

You're not going to get a "hey dummy!" from me, but it's probably easiest to put the flags in LDFLAGS, e.g.

$ export LDFLAGS="-dylib_file /System/Library/Frameworks/ OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/ Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
$ ./configure --enable-blah --disable-foo [etc]



Mike, generally speaking you can set flags inside the port file in MacPorts as well as specify dependencies among other things. May I suggest you bring this up on the MacPorts mailing list -- see:
[url]http://trac.macosforge.org/projects/macports/wiki/MailingLists[/ url]
for how to subscribe.


William Davis
frstanATbellsouthDOTnet
Mac OS X.5.1 Darwin 9.1.0
X11.app 2.1.1 - (xorg-server 1.3.0-apple5)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Cannot find GL lib (From: Mike <email@hidden>)
 >Re: Cannot find GL lib (From: Martin Costabel <email@hidden>)
 >Re: Cannot find GL lib (From: Mike <email@hidden>)
 >Re: Cannot find GL lib (From: Ben Byer <email@hidden>)
 >Re: Cannot find GL lib (From: Mike <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.