[postgis-users] Build errors in MAC OSX

William Kyngesburye woklist at kyngchaos.com
Mon Apr 26 13:48:10 PDT 2010


Hmm, I'm curious.  I provide a source download purely for the GPL requirements, but they are exact copies of the original tarball (but oops, I haven't updated that in a while so you got 1.4.0, not the latest).  And they are only linked from my PostGIS binary download.  So, I wonder - if you have my PostGIS binary, is there some reason you need to build it yourself?  Debug symbols maybe?

Also, I notice that you are configuring with relative paths for GEOS and PROJ.  Are you using the frameworks installed in /Library/Frameworks, or some other path.  There might be other problems later if they are not in /Library/Frameworks.

Finally, why are you using sudo to configure?  Do you have the source in /usr somewhere?  If you need to use sudo to configure, you will need to use sudo to make, or you will get permissions errors as you found.  Better would be to compile in a folder you own (~/Documents) or at least have write permissions to (/Users/Shared).

On Apr 26, 2010, at 2:55 PM, John Connors wrote:

> Ok. That's what I thought. I downloaded the source from KyngChaos. 
> -John
> 
> On Mon, 26 Apr 2010 12:50:45 -0700, Paul Ramsey
> <pramsey at cleverelephant.ca>
> wrote:
>> How did you get the source, you seem to be missing files entirely...
>> 
>> P
>> 
>> On Mon, Apr 26, 2010 at 12:49 PM, John Connors <jconnors at berkeley.edu>
>> wrote:

>>>>> 
>>>>> Macintosh:postgis-1.5.1 postgres$ sudo ./configure
>>>>> --with-pgconfig=../bin/pg_config
>>>>> 
>>> 
> --with-geosconfig=../../../Frameworks/GEOS.framework/Versions/3/Programs/geos-config
>>>>> --with-projdir=../../../Frameworks/PROJ.framework/unix



-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin





More information about the postgis-users mailing list