Hi Bborie,<div><br></div><div>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:</div><div>
<br></div><div><a href="http://lists.macosforge.org/pipermail/macports-users/2011-August/025349.html">http://lists.macosforge.org/pipermail/macports-users/2011-August/025349.html</a></div><div><br></div><div>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.</div>
<div><br></div><div>Cheers,</div><div>JP<br><br><div class="gmail_quote">On Wed, Aug 31, 2011 at 10:56 PM, Bborie Park <span dir="ltr"><<a href="mailto:bkpark@ucdavis.edu">bkpark@ucdavis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
<br>
On 08/27/2011 08:59 AM, JP Glutting wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am bumping this post up. I was never able to compile rev 7683 - I am<br>
working with revision 7059, which I was able to compile. I am trying to<br>
compile revision 7789 now, and I am having the same problem. This is what I<br>
get:<br>
<br>
...<br>
   "_lwgeom_calculate_gbox_<u></u>geodetic", referenced from:<br>
       _compute_geography_stats in geography_estimate.o<br>
       _geography_gist_selectivity in geography_estimate.o<br>
       _geography_area in geography_measurement.o<br>
   "_gserialized_get_type", referenced from:<br>
       _geography_bestsrid in geography_measurement.o<br>
       _geography_covers in geography_measurement.o<br>
       _geography_perimeter in geography_measurement.o<br>
   "_lwgeom_calculate_gbox_<u></u>cartesian", referenced from:<br>
       _geography_bestsrid in geography_measurement.o<br>
   "_lwgeom_covers_lwgeom_sphere"<u></u>, referenced from:<br>
       _geography_covers in geography_measurement.o<br>
   "_gserialized_get_gbox_p", referenced from:<br>
       _geography_point_outside in geography_measurement.o<br>
   "_gbox_pt_outside", referenced from:<br>
       _geography_point_outside in geography_measurement.o<br>
   "_lwgeom_area_sphere", referenced from:<br>
       _geography_area in geography_measurement.o<br>
   "_lwgeom_area_spheroid", referenced from:<br>
       _geography_area in geography_measurement.o<br>
   "_gserialized_datum_get_gbox_<u></u>p", referenced from:<br>
       _compute_geometry_stats in geometry_gist_selectivity.o<br>
       _geometry_gist_sel_2d in geometry_gist_selectivity.o<br>
ld: symbol(s) not found for architecture i386<br>
collect2: ld returned 1 exit status<br>
lipo: can't open input file:<br>
/var/folders/k0/lzz_<u></u>jzld03d8yg881mnbh7_h0000gp/T//<u></u>ccgj6uq8.out (No such file<br>
or directory)<br>
make[1]: *** [<a href="http://postgis-2.0.so" target="_blank">postgis-2.0.so</a>] Error 1<br>
make: *** [all] Error 1<br>
<br>
Is anyone else using Macports? Are there any tricks I could try to get this<br>
to compile? I would like to use ST_SummaryStats for some raster analysis I<br>
need to do.<br>
<br>
Thanks,<br>
JP<br>
<br>
</blockquote>
<br></div></div>
Have you tried compiling without using Macports?  I'm able to compile with the following:<br>
<br>
OSX 10.6.8<br>
Xcode 3.2.6<br>
Fink 0.31.0<br>
PostgreSQL 9.0.4<br>
GEOS 3.3.0<br>
PROJ 4.7.1<br>
GDAL trunk r22922<br>
PostGIS trunk r7791<br>
<br>
All of it was compiled from source.  Fink was for libreadline.<br>
<br>
-bborie<br>
<br>
-- <br>
Bborie Park<br>
Programmer<br>
Center for Vectorborne Diseases<br>
UC Davis<br>
<a href="tel:530-752-8380" value="+15307528380" target="_blank">530-752-8380</a><br>
<a href="mailto:bkpark@ucdavis.edu" target="_blank">bkpark@ucdavis.edu</a><br>
______________________________<u></u>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.<u></u>refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.<u></u>net/mailman/listinfo/postgis-<u></u>users</a><br>
</blockquote></div><br></div>