Hi Bborie, I did get this to work. All the dependencies needed to be compiled +universal (geos only compiled properly by configuring the compile for an older version of gcc). See details here:
http://lists.macosforge.org/pipermail/macports-users/2011-August/025349.html I like using Macports because I don't have to manage all the dependencies by hand (generally), I can uninstall cleanly, and it upgrades automatically. The only time things get a little more complicated is when I want a newer version of a package (like with PostGIS 2.0), but I can live with that. Cheers, JP On Wed, Aug 31, 2011 at 10:56 PM, Bborie Park <[email protected]> wrote: > > > On 08/27/2011 08:59 AM, JP Glutting wrote: > >> I am bumping this post up. I was never able to compile rev 7683 - I am >> working with revision 7059, which I was able to compile. I am trying to >> compile revision 7789 now, and I am having the same problem. This is what >> I >> get: >> >> ... >> "_lwgeom_calculate_gbox_**geodetic", referenced from: >> _compute_geography_stats in geography_estimate.o >> _geography_gist_selectivity in geography_estimate.o >> _geography_area in geography_measurement.o >> "_gserialized_get_type", referenced from: >> _geography_bestsrid in geography_measurement.o >> _geography_covers in geography_measurement.o >> _geography_perimeter in geography_measurement.o >> "_lwgeom_calculate_gbox_**cartesian", referenced from: >> _geography_bestsrid in geography_measurement.o >> "_lwgeom_covers_lwgeom_sphere"**, referenced from: >> _geography_covers in geography_measurement.o >> "_gserialized_get_gbox_p", referenced from: >> _geography_point_outside in geography_measurement.o >> "_gbox_pt_outside", referenced from: >> _geography_point_outside in geography_measurement.o >> "_lwgeom_area_sphere", referenced from: >> _geography_area in geography_measurement.o >> "_lwgeom_area_spheroid", referenced from: >> _geography_area in geography_measurement.o >> "_gserialized_datum_get_gbox_**p", referenced from: >> _compute_geometry_stats in geometry_gist_selectivity.o >> _geometry_gist_sel_2d in geometry_gist_selectivity.o >> ld: symbol(s) not found for architecture i386 >> collect2: ld returned 1 exit status >> lipo: can't open input file: >> /var/folders/k0/lzz_**jzld03d8yg881mnbh7_h0000gp/T//**ccgj6uq8.out (No >> such file >> or directory) >> make[1]: *** [postgis-2.0.so] Error 1 >> make: *** [all] Error 1 >> >> Is anyone else using Macports? Are there any tricks I could try to get >> this >> to compile? I would like to use ST_SummaryStats for some raster analysis I >> need to do. >> >> Thanks, >> JP >> >> > Have you tried compiling without using Macports? I'm able to compile with > the following: > > OSX 10.6.8 > Xcode 3.2.6 > Fink 0.31.0 > PostgreSQL 9.0.4 > GEOS 3.3.0 > PROJ 4.7.1 > GDAL trunk r22922 > PostGIS trunk r7791 > > All of it was compiled from source. Fink was for libreadline. > > -bborie > > -- > Bborie Park > Programmer > Center for Vectorborne Diseases > UC Davis > 530-752-8380 > [email protected] > ______________________________**_________________ > postgis-users mailing list > postgis-users@postgis.**refractions.net<[email protected]> > http://postgis.refractions.**net/mailman/listinfo/postgis-**users<http://postgis.refractions.net/mailman/listinfo/postgis-users> >
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
