<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi,<BR>
<BR>
I still cannot compile pljava, the output is:<BR>
<BR>
# echo $CUSTOM_CC<BR>/opt/SUNWspro/bin/cc<BR># gmake<BR>gmake[1]: Entering directory `/var/tmp/pljava/pljava-1.4.0/build/classes/pljava'<BR>gmake[1]: Nothing to be done for `all'.<BR>gmake[1]: Leaving directory `/var/tmp/pljava/pljava-1.4.0/build/classes/pljava'<BR>gmake[1]: Entering directory `/var/tmp/pljava/pljava-1.4.0/build/classes/deploy'<BR>gmake[1]: Nothing to be done for `all'.<BR>gmake[1]: Leaving directory `/var/tmp/pljava/pljava-1.4.0/build/classes/deploy'<BR>gmake[1]: Entering directory `/var/tmp/pljava/pljava-1.4.0/build/objs'<BR>/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/p
ostgres/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.<FONT face="">c</FONT> -o type/BigDecimal.o<BR>"/usr/postgres/8.2/include/server/pg_config_os.h", line 17: cannot find include file: <sys/isa_defs.h><BR>"/usr/postgres/8.2/include/server/pg_trace.h", line 17: cannot find include file: <sys/sdt.h><BR>"/usr/postgres/8.2/include/server/c.h", line 68: cannot find include file: <stdio.h><BR>"/usr/postgres/8.2/include/server/c.h", line 69: cannot find include file: <stdlib.h><BR>"/usr/postgres/8.2/include/server/c.h", line 70: cannot find include file: <string.h><BR>"/usr/postgres/8.2/include/server/c.h", line 71: cannot find include file: <stddef.h><BR>"/usr/postgres/8.2/include/server/c.h", line 72: cannot find include file:
<stdarg.h><BR>"/usr/postgres/8.2/include/server/c.h", line 74: cannot find include file: <strings.h><BR>"/usr/postgres/8.2/include/server/c.h", line 76: cannot find include file: <sys/types.h><BR>"/usr/postgres/8.2/include/server/c.h", line 78: cannot find include file: <errno.h><BR>"/usr/postgres/8.2/include/server/c.h", line 92: cannot find include file: <locale.h><BR>"/usr/postgres/8.2/include/server/c.h", line 97: cannot find include file: <libintl.h><BR>"/usr/postgres/8.2/include/server/c.h", line 328: syntax error before or at: Size<BR>"/usr/postgres/8.2/include/server/c.h", line 328: warning: old-style declaration or incorrect type for: Size<BR>"/usr/postgres/8.2/include/server/port.h", line 16: cannot find include file: <ctype.h><BR>"/usr/postgres/8.2/include/server/port.h", line 16: fatal: too many errors<BR>cc: acomp failed for /var/tmp/pljava/pljava-1.4.0/src/C/pljava/type/BigDecimal.<FONT face="">c</FONT><BR>gmake[1]: **
* [type/BigDecimal.o] Error 2<BR>gmake[1]: Leaving directory `/var/tmp/pljava/pljava-1.4.0/build/objs'<BR>gmake: *** [c_all] Error 2<BR># svcs postgresql<BR>STATE STIME FMRI<BR>disabled 22:18:47 svc:/application/database/postgresql:version_81<BR>online 22:18:56 svc:/application/database/postgresql:version_82<BR>#<BR><BR>I did install the postgresql devel and header package and jdbc package. What did I miss?<BR>
<BR>
Regards,<BR>
Terence<BR>
<BR><BR><BR> <BR>
<HR id=stopSpelling>
<BR>
> Date: Sun, 8 Jun 2008 12:02:38 -0600<BR>> From: books@ejurka.com<BR>> To: terencenwk@hotmail.com<BR>> CC: pljava-dev@pgfoundry.org<BR>> Subject: Re: [Pljava-dev] How to compile pljava in Solaris 10 5/08?<BR>> <BR>> <BR>> <BR>> Terence Ng wrote:<BR>> > <BR>> > I have installed Solaris Studio 12 the C compiler and build tool. After <BR>> > running:<BR>> > # cd /var/tmp/pljava/pljava-1.4.0<BR>> > # /opt/SUNWspro/bin/dmake<BR>> > dmake: Warning: Can't find `make.rules': No such file or directory<BR>> > dmake: Fatal error in reader: Makefile, line 30: Unexpected end of line seen<BR>> > <BR>> <BR>> You still need to use GNU make to build pljava, not dmake. Also since<BR>> you've installed sun studio 12 (and into a different location) instead<BR>> of the used sun studio 11, you'll need to either set CUSTOM_CC to point<BR>> to your cc binary, or make some symlinks.<BR>> <BR>> Kris Jurka<
BR><BR><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>