Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > unix and osx coexistence.

unix and osx coexistence.
Thread Tools
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Oct 7, 2003, 10:55 AM
 
how can I link the /sw folder to something else so that when I try to build an application from source that needs qt, it will look for it in the /sw folder? I have already installed qt via fink, and don't want to install it again. does that need to be added to my path or something?
     
Grizzled Veteran
Join Date: Jan 2002
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Oct 7, 2003, 11:11 AM
 
I asssume the Qt libraries are in /sw/lib or something similar, if this is the case you can usually add this path the list of directories searched for libraries using a parameter to the configure script of whatever you're trying to compile. I forget the exact paremeter name but ./configure --help will tell you.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Oct 7, 2003, 11:14 AM
 
Most source will allow you to specify where to look for includes and libraries. The ultimate goal is to get -I/sw/include -L/sw/lib in your CFLAGS. Read the documentation on the source you're compiling for specifics. There's probably an --qt-includes-dir or --qt-libs-dir configure option.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Norway
Status: Offline
Reply With Quote
Oct 7, 2003, 11:45 AM
 
I had the same issue, and discussed it here, here's your thread

http://forums.macnn.com/showthread.p...hreadid=178105
Mac Pro 2 x 2.8 GHz Quad-Core, Nvidia GeForce 8800GT
     
pwolfe1  (op)
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Oct 7, 2003, 12:02 PM
 
well on linux it can be done with ./configure --prefix=/blah/blah/blah. I didn't think to do that.

I'm amazed at how close the two systems are. I honestly expected much different. Glad I "switched"
     
pwolfe1  (op)
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status: Offline
Reply With Quote
Oct 7, 2003, 12:05 PM
 
Thanks for the link Johnny_B! exactly what I needed!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2