[MacPorts] #13285: Update: geos-2.2.3
MacPorts
trac at macosforge.org
Fri Nov 23 19:27:10 PST 2007
#13285: Update: geos-2.2.3
--------------------------------+-------------------------------------------
Reporter: seanasy at gmail.com | Owner: macports-dev at lists.macosforge.org
Type: enhancement | Status: new
Priority: Normal | Milestone: Port Updates
Component: ports | Version: 1.5.0
Resolution: | Keywords:
--------------------------------+-------------------------------------------
Changes (by ram at macports.org):
* cc: ram at macports.org (added)
Comment:
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.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13285#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list