Hi,
I'm trying to install postgis 1.5.1 on a Solaris Sparc 64 bit, but after successfully configuring with


/./configure --prefix=$HOME/ARC_WPT_DMT_Software/postgis-1.5.1 --with-projdir=$HOME/ARC_WPT_DMT_Software/proj --with-geosconfig=$HOME/ARC_WPT_DMT_Software/geos/bin/geos-config "CFLAGS=-m64 -R/usr/sfw/lib/64" "CXXFLAGS=-m64 -R/usr/sfw/lib/64" "LDFLAGS=-m64 -L/usr/sfw/lib/64 -R/usr/sfw/lib/64"


/when I try to build with command /make /result is:


/bash-3.00$ make
Using GNU make found at /usr/sfw/bin/gmake
gmake[1]: Entering directory `/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1'
/usr/sfw/bin/gmake -C liblwgeom
gmake[2]: Entering directory `/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/liblwgeom'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/liblwgeom'
/usr/sfw/bin/gmake -C postgis
gmake[2]: Entering directory `/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/postgis'
Makefile.pgxs:17: warning: overriding commands for target `install'
/export/home/proc/ARC_WPT_DMT_Software/postgres/8.4-community/lib/64/pgxs/src/makefiles/pgxs.mk:92: warning: ignoring old commands for target `install'
Makefile.pgxs:63: warning: overriding commands for target `installdirs'
/export/home/proc/ARC_WPT_DMT_Software/postgres/8.4-community/lib/64/pgxs/src/makefiles/pgxs.mk:140: warning: ignoring old commands for target `installdirs'
Makefile.pgxs:82: warning: overriding commands for target `uninstall'
/export/home/proc/ARC_WPT_DMT_Software/postgres/8.4-community/lib/64/pgxs/src/makefiles/pgxs.mk:164: warning: ignoring old commands for target `uninstall' cc -Xa -xO3 -xspace -Xa -xildoff -m64 -xc99=none -xCC -KPIC -I/export/home/proc/ARC_WPT_DMT_Software/geos/include -I/export/home/proc/ARC_WPT_DMT_Software/proj/include -I/usr/include/libxml2 -I../liblwgeom -I. -I/export/home/proc/ARC_WPT_DMT_Software/postgres/8.4-community/include/server -I/export/home/proc/ARC_WPT_DMT_Software/postgres/8.4-community/include/internal -I/usr/include/libxml2 -I/zstore/pgsql_build/proto/usr/include -I/usr/sfw/include -c -o lwgeom_pg.o lwgeom_pg.c "../liblwgeom/liblwgeom.h", line 140: warning: function prototype parameters must have types "../liblwgeom/liblwgeom.h", line 170: invalid token in #define macro parameters: ... "../liblwgeom/liblwgeom.h", line 142: warning: old-style declaration or incorrect type for: va_dcl
"../liblwgeom/liblwgeom.h", line 177: syntax error before or at: typedef
"lwgeom_pg.h", line 44: invalid token in #define macro parameters: ...
cc: acomp failed for lwgeom_pg.c
gmake[2]: *** [lwgeom_pg.o] Error 1
gmake[2]: Leaving directory `/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/postgis'
gmake[1]: *** [postgis] Error 2
gmake[1]: Leaving directory `/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1'
*** Error code 2
The following command caused the error:
IFS=':' ; \
for dir in $PATH; do \
  for prog in gmake gnumake make; do \
if [ -f $dir/$prog ] && ( $dir/$prog -f /dev/null --version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \
      GMAKE=$dir/$prog; \
      break 2; \
    fi; \
  done; \
done; \
\
if [ x"${GMAKE+set}" = xset ]; then \
  echo "Using GNU make found at ${GMAKE}"; \
  ${GMAKE} all ; \
else \
  echo "You must use GNU make to build PostGIS." ; \
  false; \
fi
make: Fatal error: Command failed for target `all'
bash-3.00$

/
Can you help me?
Thanks in advance.

--

Teresa Fazio
Geo Data Warehouse Specialist
Planetek Italia s.r.l.
Via Massaua 12, I-70123 Bari
Tel.: +39 080 9644200 Fax: +39 080 9644299
[email protected] - http://www.planetek.it
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to