Compile PostGIS 2.0 (SVN)

Ryan Schmidt ryandesign at macports.org
Sat Aug 27 15:33:01 PDT 2011


On Aug 27, 2011, at 16:15, Ryan Schmidt wrote:

>> My thinking was that perhaps postgis (or part of it) was trying to compile as i386 and couldn't find the appropriate framework, as it was only built x86_64 (which is all I was using). So I built all the dependencies +universal, just in case.
> 
> That is what is happening, and it's because of a bug in our postgresql ports, for which I have filed a bug report for you:
> 
> https://trac.macports.org/ticket/31000

Er, I misspoke. What is happening is that, when you're not telling postgis to build universal (you weren't), it builds largely non-universal. Except when it includes the results of running pg_config to build the postgresql parts, at which point, because of the above bug in pg_config, it tries to build universal, which fails when it tries to link that up with previously-built non-postgresql-related postgis code that wasn't built universal.


> Basically the problem is that you are building postgis non-universal, but postgresql is installed universal. Either install postgresql non-universal, or build postgis universal.

This is still the correct advice.




More information about the macports-users mailing list