Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13285 closed update (fixed)

Update: geos-2.2.3

Reported by: seanasy@… Owned by: skymoo (Adam Mercer)
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: opendarwin@…, skymoo (Adam Mercer)
Port:

Description

Patch to update geos to version 2.2.3

Attachments (2)

geos-update.patch (590 bytes) - added by seanasy@… 16 years ago.
update geos to latest version
geos-2.2.3.diff (1.3 KB) - added by skymoo (Adam Mercer) 16 years ago.
update to 2.2.3 and fix build on Leopard

Download all attachments as: .zip

Change History (9)

Changed 16 years ago by seanasy@…

Attachment: geos-update.patch added

update geos to latest version

comment:1 Changed 16 years ago by nox@…

Milestone: Port EnhancementsPort Updates

comment:2 Changed 16 years ago by skymoo (Adam Mercer)

Cc: ram@… added

I get the following build on Intel Leopard when trying to build 2.2.3

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_ram_bzr_macports_local_science_geos/work/geos-2.2.3" && make all " returned error 2
Command output: mkdir .libs
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -DGEOS_CAPI_VERSION=\"2.2.3-CAPI-1.1.1\" -DGEOS_JTS_PORT=\"1.4.1\" -I/opt/local/include -O2 -MT libgeos_c_la-geos_c.lo -MD -MP -MF .deps/libgeos_c_la-geos_c.Tpo -c geos_c.cpp  -fno-common -DPIC -o .libs/libgeos_c_la-geos_c.o
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -DGEOS_CAPI_VERSION=\"2.2.3-CAPI-1.1.1\" -DGEOS_JTS_PORT=\"1.4.1\" -I/opt/local/include -O2 -MT libgeos_c_la-geos_c.lo -MD -MP -MF .deps/libgeos_c_la-geos_c.Tpo -c geos_c.cpp -o libgeos_c_la-geos_c.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=link --tag=CXX /usr/bin/g++-4.0  -O2  -L/opt/local/lib -o libgeos_c.la -rpath /opt/local/lib -version-info 2:1:1 -no-undefined libgeos_c_la-geos_c.lo  ../../source/geom/libgeos.la
/usr/bin/g++-4.0 -dynamiclib -single_module  -o .libs/libgeos_c.1.1.1.dylib  .libs/libgeos_c_la-geos_c.o  -L/opt/local/lib ../../source/geom/.libs/libgeos.dylib  -install_name  /opt/local/lib/libgeos_c.1.dylib -compatibility_version 3 -current_version 3.1
(cd .libs && rm -f libgeos_c.1.dylib && ln -s libgeos_c.1.1.1.dylib libgeos_c.1.dylib)
(cd .libs && rm -f libgeos_c.dylib && ln -s libgeos_c.1.1.1.dylib libgeos_c.dylib)
ar cru .libs/libgeos_c.a  libgeos_c_la-geos_c.o
ranlib .libs/libgeos_c.a
creating libgeos_c.la
(cd .libs && rm -f libgeos_c.la && ln -s ../libgeos_c.la libgeos_c.la)
if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers  -I/opt/local/include  -O2 -MT geostest.o -MD -MP -MF ".deps/geostest.Tpo" -c -o geostest.o geostest.c; \
	then mv -f ".deps/geostest.Tpo" ".deps/geostest.Po"; else rm -f ".deps/geostest.Tpo"; exit 1; fi
geostest.c: In function 'do_all':
geostest.c:166: warning: pointer targets in assignment differ in signedness
geostest.c:167: warning: pointer targets in passing argument 2 of 'printHEX' differ in signedness
geostest.c:170: warning: pointer targets in passing argument 1 of 'GEOSGeomFromWKB_buf' differ in signedness
/bin/sh ../../libtool --mode=link --tag=CC /usr/bin/gcc-4.0  -O2  -L/opt/local/lib -o geostest  geostest.o libgeos_c.la ../../source/geom/libgeos.la
/usr/bin/gcc-4.0 -O2 -o .libs/geostest geostest.o  -L/opt/local/lib ./.libs/libgeos_c.dylib /opt/local/var/macports/build/_Users_ram_bzr_macports_local_science_geos/work/geos-2.2.3/source/geom/.libs/libgeos.dylib ../../source/geom/.libs/libgeos.dylib
creating geostest
Making all in test
if /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../..//source/headers -I../..//source/headers/geos -I../../source/headers -I../../source/io/markup  -I/opt/local/include  -O2 -MT XMLTester.o -MD -MP -MF ".deps/XMLTester.Tpo" -c -o XMLTester.o XMLTester.cpp; \
	then mv -f ".deps/XMLTester.Tpo" ".deps/XMLTester.Po"; else rm -f ".deps/XMLTester.Tpo"; exit 1; fi
XMLTester.cpp: In function 'void tolower(std::string&)':
XMLTester.cpp:66: error: 'std::tolower' is not a valid template argument for type 'int ()(int)' because function 'int tolower(int)' has not external linkage
XMLTester.cpp:66: error: 'std::tolower' is not a valid template argument for type 'int ()(int)' because function 'int tolower(int)' has not external linkage
XMLTester.cpp:66: error: no matching function for call to 'transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, <unknown type>)'
make[2]: *** [XMLTester.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Changed 16 years ago by skymoo (Adam Mercer)

Attachment: geos-2.2.3.diff added

update to 2.2.3 and fix build on Leopard

comment:3 Changed 16 years ago by skymoo (Adam Mercer)

Owner: changed from macports-dev@… to ram@…
Status: newassigned

comment:4 Changed 16 years ago by skymoo (Adam Mercer)

Resolution: fixed
Status: assignedclosed

committed in r31458, with approval from maintainer

comment:5 Changed 16 years ago by seanasy@…

Thanks for this. I don't have Leopard, yet. Thanks for the fix.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:7 Changed 15 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.