Skip site navigation (1) Skip section navigation (2)

Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress

From: "Emanuel Calvo Franco" <postgres(dot)arg(at)gmail(dot)com>
To: "General PostgreSQL List" <pgsql-general(at)postgresql(dot)org>
Subject: Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress
Date: 2008-12-24 16:36:39
Message-ID: f205bb120812240836y1845c851xafcbe6775c2e3804@mail.gmail.com (view raw or flat)
Thread:
Lists: 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(at)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

Responses

pgsql-general by date

Next:From: Scott MarloweDate: 2008-12-24 16:52:24
Subject: Re: Multi-tenant cluster
Previous:From: justinDate: 2008-12-24 16:32:30
Subject: Re: need some help with pl-pgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group