<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I'm trying to install postgis 1.5.1 on a Solaris Sparc 64 bit, but
after successfully configuring with<br>
<br>
<br>
<span style="font-size: 12pt; font-family: "Times New Roman";"><i>./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"<br>
<br>
<br>
</i>when I try to build with command <i>make </i>result is:<br>
<br>
<br>
<i>bash-3.00$ make<br>
Using GNU make found at /usr/sfw/bin/gmake<br>
gmake[1]: Entering directory
`/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1'<br>
/usr/sfw/bin/gmake -C liblwgeom<br>
gmake[2]: Entering directory
`/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/liblwgeom'<br>
gmake[2]: Nothing to be done for `all'.<br>
gmake[2]: Leaving directory
`/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/liblwgeom'<br>
/usr/sfw/bin/gmake -C postgis<br>
gmake[2]: Entering directory
`/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/postgis'<br>
Makefile.pgxs:17: warning: overriding commands for target `install'<br>
/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'<br>
Makefile.pgxs:63: warning: overriding commands for target `installdirs'<br>
/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'<br>
Makefile.pgxs:82: warning: overriding commands for target `uninstall'<br>
/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'<br>
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<br>
"../liblwgeom/liblwgeom.h", line 140: warning: function prototype
parameters must have types<br>
"../liblwgeom/liblwgeom.h", line 170: invalid token in #define macro
parameters: ...<br>
"../liblwgeom/liblwgeom.h", line 142: warning: old-style declaration or
incorrect type for: va_dcl<br>
"../liblwgeom/liblwgeom.h", line 177: syntax error before or at: typedef<br>
"lwgeom_pg.h", line 44: invalid token in #define macro parameters: ...<br>
cc: acomp failed for lwgeom_pg.c<br>
gmake[2]: *** [lwgeom_pg.o] Error 1<br>
gmake[2]: Leaving directory
`/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1/postgis'<br>
gmake[1]: *** [postgis] Error 2<br>
gmake[1]: Leaving directory
`/export/home/proc/ARC_WPT_DMT_Software/postgis-1.5.1'<br>
*** Error code 2<br>
The following command caused the error:<br>
IFS=':' ; \<br>
 for dir in $PATH; do \<br>
   for prog in gmake gnumake make; do \<br>
     if [ -f $dir/$prog ] && ( $dir/$prog -f /dev/null
--version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then \<br>
       GMAKE=$dir/$prog; \<br>
       break 2; \<br>
     fi; \<br>
   done; \<br>
 done; \<br>
\<br>
 if [ x"${GMAKE+set}" = xset ]; then \<br>
   echo "Using GNU make found at ${GMAKE}"; \<br>
   ${GMAKE} all ; \<br>
 else \<br>
   echo "You must use GNU make to build PostGIS." ; \<br>
   false; \<br>
 fi<br>
make: Fatal error: Command failed for target `all'<br>
bash-3.00$<br>
<br>
</i><br>
Can you help me?<br>
Thanks in advance.<br>
<br>
</span>
<div class="moz-signature">-- <br>
<br>
Teresa Fazio
<br>
Geo Data Warehouse Specialist
<br>
Planetek Italia s.r.l.
<br>
Via Massaua 12, I-70123 Bari
<br>
Tel.: +39 080 9644200 Fax: +39 080 9644299
<br>
<a class="moz-txt-link-abbreviated" href="mailto:fazio@planetek.it">fazio@planetek.it</a> - <a class="moz-txt-link-freetext" href="http://www.planetek.it">http://www.planetek.it</a></div>
</body>
</html>