Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress - Mailing list pgsql-general

From Emanuel Calvo Franco
Subject Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress
Date
Msg-id f205bb120812240836y1845c851xafcbe6775c2e3804@mail.gmail.com
Whole thread Raw
Responses Re: Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress
List pgsql-general
Hi for everyone,

i download yesterday the ftp snapshot of the 8.4devel.
I configure with:

./configure --prefix=/usr/local/pg84devel
CC=/opt/SunStudioExpress/bin/cc CFLAGS="-xO3 -xarch=native \
 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff -xc99=none -xCC"
--with-perl --with-python --enable-dtrace \
--enable-thread-safety --without-readline

This command works well.

But when i want to make, i recieved an error (make and
/opt/SunStudioExpress/bin/dmake ):
"...
ecalvo@lastchance:~/Desktop/postgresql-snapshot$ sudo make
You must use GNU make to build PostgreSQL.
*** Error code 1
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 PostgreSQL." ; \
   false; \
 fi
make: Fatal error: Command failed for target `all'
..."


Exact Versions:
Product Version: Sun Studio (Build 200810171318, Sun Studio 20081005)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: SunOS version 5.11 running on x86; UTF-8; es_AR (sunstudio)
Userdir: /export/home/ecalvo/.sunstudio/ceres-dev4-SunOS-i386

Thanks in advance,
--
      Emanuel Calvo Franco
Syscope Postgresql Consultant
     ArPUG / AOSUG Member

pgsql-general by date:

Previous
From: justin
Date:
Subject: Re: need some help with pl-pgsql
Next
From: "Scott Marlowe"
Date:
Subject: Re: Multi-tenant cluster