[Pljava-dev] How to compile pljava in Solaris 10 5/08?

From: terencenwk at hotmail(dot)com (Terence Ng)
To:
Subject: [Pljava-dev] How to compile pljava in Solaris 10 5/08?
Date: 2008-06-10 15:58:07
Message-ID: BAY105-W7A4D9B321D7654A0876C6D3B30@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Hi,

I still cannot compile pljava, the output is:

# echo $CUSTOM_CC/opt/SUNWspro/bin/cc# gmakegmake[1]: Entering directory `/var/tmp/pljava/pljava-1.4.0/build/classes/pljava'gmake[1]: Nothing to be done for `all'.gmake[1]: Leaving directory `/var/tmp/pljava/pljava-1.4.0/build/classes/pljava'gmake[1]: Entering directory `/var/tmp/pljava/pljava-1.4.0/build/classes/deploy'gmake[1]: Nothing to be done for `all'.gmake[1]: Leaving directory `/var/tmp/pljava/pljava-1.4.0/build/classes/deploy'gmake[1]: Entering directory `/var/tmp/pljava/pljava-1.4.0/build/objs'/opt/SUNWspro/bin/cc -c -O -xarch=386 -xchip=pentium -xspace -Xa -xildoff -xc99=none -xCC -KPIC -I. -I/usr/postgres/8.2/include/server -I/usr/postgres/8.2/include/internal -I/sfw10/builds/build/sfw10-patch/proto/root_i386/usr/include -I/sfw10/builds/build/sfw10-patch/proto/root_i386/usr/sfw/include -I/usr/sfw/include -I/sfw10/builds/build/sfw10-patch/usr/src/cmd/postgres/postgresql-8.2/krb5/include -DPKGLIBDIR=\"/usr/postgres/8.2/lib\" -I/var/tmp/pljava/pljava-1.4.0/src/C/
include -I/var/tmp/pljava/pljava-1.4.0/build/jni -DPGSQL_MAJOR_VER=8 -DPGSQL_MINOR_VER=2 -DPGSQL_PATCH_VER=6 -I"/usr/java/include" -I"/usr/java/include/solaris" /var/tmp/pljava/pljava-1.4.0/src/C/pljava/type/BigDecimal.c -o type/BigDecimal.o"/usr/postgres/8.2/include/server/pg_config_os.h", line 17: cannot find include file: <sys/isa_defs.h>"/usr/postgres/8.2/include/server/pg_trace.h", line 17: cannot find include file: <sys/sdt.h>"/usr/postgres/8.2/include/server/c.h", line 68: cannot find include file: <stdio.h>"/usr/postgres/8.2/include/server/c.h", line 69: cannot find include file: <stdlib.h>"/usr/postgres/8.2/include/server/c.h", line 70: cannot find include file: <string.h>"/usr/postgres/8.2/include/server/c.h", line 71: cannot find include file: <stddef.h>"/usr/postgres/8.2/include/server/c.h", line 72: cannot find include file: <stdarg.h>"/usr/postgres/8.2/include/server/c.h", line 74: cannot find include file: <strings.h>"/usr/postgres/8.2/include/server/c.h", lin
e 76: cannot find include file: <sys/types.h>"/usr/postgres/8.2/include/server/c.h", line 78: cannot find include file: <errno.h>"/usr/postgres/8.2/include/server/c.h", line 92: cannot find include file: <locale.h>"/usr/postgres/8.2/include/server/c.h", line 97: cannot find include file: <libintl.h>"/usr/postgres/8.2/include/server/c.h", line 328: syntax error before or at: Size"/usr/postgres/8.2/include/server/c.h", line 328: warning: old-style declaration or incorrect type for: Size"/usr/postgres/8.2/include/server/port.h", line 16: cannot find include file: <ctype.h>"/usr/postgres/8.2/include/server/port.h", line 16: fatal: too many errorscc: acomp failed for /var/tmp/pljava/pljava-1.4.0/src/C/pljava/type/BigDecimal.cgmake[1]: *** [type/BigDecimal.o] Error 2gmake[1]: Leaving directory `/var/tmp/pljava/pljava-1.4.0/build/objs'gmake: *** [c_all] Error 2# svcs postgresqlSTATE STIME FMRIdisabled 22:18:47 svc:/application/database/postgresql:version_81online
22:18:56 svc:/application/database/postgresql:version_82#I did install the postgresql devel and header package and jdbc package. What did I miss?

Regards,
Terence

> Date: Sun, 8 Jun 2008 12:02:38 -0600> From: books at ejurka.com> To: terencenwk at hotmail.com> CC: pljava-dev at pgfoundry.org> Subject: Re: [Pljava-dev] How to compile pljava in Solaris 10 5/08?> > > > Terence Ng wrote:> > > > I have installed Solaris Studio 12 the C compiler and build tool. After > > running:> > # cd /var/tmp/pljava/pljava-1.4.0> > # /opt/SUNWspro/bin/dmake> > dmake: Warning: Can't find `make.rules': No such file or directory> > dmake: Fatal error in reader: Makefile, line 30: Unexpected end of line seen> > > > You still need to use GNU make to build pljava, not dmake. Also since> you've installed sun studio 12 (and into a different location) instead> of the used sun studio 11, you'll need to either set CUSTOM_CC to point> to your cc binary, or make some symlinks.> > Kris Jurka
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20080610/6b60a003/attachment.html>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Kris Jurka 2008-06-11 16:18:49 [Pljava-dev] How to compile pljava in Solaris 10 5/08?
Previous Message Kris Jurka 2008-06-10 03:47:51 [Pljava-dev] Possible bug, when updating BigDecimal from trigger/function