Using darwinports/development libraries

Status
Not open for further replies.
Joined
Aug 10, 2009
Messages
2
Reaction score
0
Points
1
I am trying to build an application that needs a gnu library. I installed the most recent darwinports, 1.7.0

And then gsl and gsl-devel.
Gsl version 1.12 - How to Download and Install on Mac OS X

I just did a sudo port install gsl and sudo port install gsl-devel.

I did 'make' on an application to build but I get an error like the gsl-devel headers aren't found. I performed the same steps and get the same errors on Linux but I just installed gsl and was able to build.

What do I do to get macports/darwin ports to be recognized.

The application is here.

Building Polyworld from scratch
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
It probably didn't work because all of the MacPorts files are contained in /opt/local. So, you need to point the configure script (assuming this is a traditional ./configure, make, make install) to the proper directory of the libs.
 
Joined
Feb 2, 2004
Messages
12,455
Reaction score
604
Points
113
Location
PA
Your Mac's Specs
MacBook
NOTE: Thread closed due to high spam traffic. Please continue discussion via Private Message.
 
Status
Not open for further replies.

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top