Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress

Started by Emanuel Calvo Francoover 17 years ago3 messagesgeneral
Jump to latest
#1Emanuel Calvo Franco
postgres.arg@gmail.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Emanuel Calvo Franco (#1)
Re: Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress

"Emanuel Calvo Franco" <postgres.arg@gmail.com> writes:

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.

What do you find unclear about that message? Install gmake.

regards, tom lane

#3Emanuel Calvo Franco
postgres.arg@gmail.com
In reply to: Tom Lane (#2)
Re: Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress

2008/12/24 Tom Lane <tgl@sss.pgh.pa.us>:

"Emanuel Calvo Franco" <postgres.arg@gmail.com> writes:

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.

What do you find unclear about that message? Install gmake.

regards, tom lane

i've suppoused that Sun make o Dmake has compatibilities with
gnu make.
Works well, thanks

--
Emanuel Calvo Franco
Syscope Postgresql Consultant
ArPUG / AOSUG Member