6.5 make error on Solaris 2.5.1

From: Keizo Shimizu <shimizu(at)nissho-ele(dot)co(dot)jp>
To: pgsql-ports(at)postgresql(dot)org
Subject: 6.5 make error on Solaris 2.5.1
Date: 1999-06-17 01:45:34
Message-ID: 199906170143.KAA19848@voshost.nissho-ele.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi, I tried to compile v6.5 on Solaris 2.5.1 and got following
error.

OS : Sun Solaris 2.5.1 (Sparc)
gcc : 2.8.1
gmake : 3.75
configure option : none
* * *
gcc -o ecpg preproc.o pgc.o type.o ecpg.o ecpg_keywords.o ../../../backend/parser/scansup.o keywords.o c_keywords.o ../lib/typename.o -lgen -lcrypt -lnsl -lsocket -ldl -lm -ltermcap -lcurses
gmake[3]: Leaving directory `/usr/local/src/postgresql-6.5/src/interfaces/ecpg/preproc'
gmake[2]: Leaving directory `/usr/local/src/postgresql-6.5/src/interfaces/ecpg'
gmake -C libpq++ all
gmake[2]: Entering directory `/usr/local/src/postgresql-6.5/src/interfaces/libpq++'
c++ -I../../backend -I../../include -I../../interfaces/libpq -I../../include -I../../backend -Wall -Wmissing-prototypes -fPIC -c pgconnection.cc -o pgconnection.o
In file included from /usr/local/include/g++/streambuf.h:36,
from /usr/local/include/g++/iostream.h:31,
from /usr/local/include/g++/stl_alloc.h:45,
from /usr/local/include/g++/alloc.h:21,
from /usr/local/include/g++/std/bastring.h:39,
from /usr/local/include/g++/string:6,
from pgconnection.h:24,
from pgconnection.cc:20:
/usr/local/include/g++/libio.h:59: sys/cdefs.h: No such file or directory
gmake[2]: *** [pgconnection.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/postgresql-6.5/src/interfaces/libpq++'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-6.5/src/interfaces'
gmake: *** [all] Error 2
* * *
Actually sys/cdefs.h doesn't exist on my system.

Is there any basic difficulty to run 6.5 on Solaris 2.5.1 ?
or am I missing something ?
======================================================================
Keizo SHIMIZU
Solution Business Support Group, Network Service Center,
Open System Business Organization, Nissho Electronics Corporation
7-3-1 Tsukiji Chuo-ku Tokyo 104-8444 Japan
TEL : +81 3 3544 8469 FAX : +81 3 3544 8260
E-MAIL : shimizu(at)nissho-ele(dot)co(dot)jp
======================================================================

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-06-17 02:11:16 Port Bug Report: transaction control interacts strangely with drop table
Previous Message Henry B. Hotz 1999-06-16 23:25:15 Re: [HACKERS] Postgres mailing lists