<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi,<BR>
&nbsp;<BR>
I still cannot compile pljava, the output is:<BR>
&nbsp;<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&nbsp; -xildoff&nbsp; -xc99=none -xCC -KPIC&nbsp; -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: &lt;sys/isa_defs.h&gt;<BR>"/usr/postgres/8.2/include/server/pg_trace.h", line 17: cannot find include file: &lt;sys/sdt.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 68: cannot find include file: &lt;stdio.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 69: cannot find include file: &lt;stdlib.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 70: cannot find include file: &lt;string.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 71: cannot find include file: &lt;stddef.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 72: cannot find include file:
  &lt;stdarg.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 74: cannot find include file: &lt;strings.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 76: cannot find include file: &lt;sys/types.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 78: cannot find include file: &lt;errno.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 92: cannot find include file: &lt;locale.h&gt;<BR>"/usr/postgres/8.2/include/server/c.h", line 97: cannot find include file: &lt;libintl.h&gt;<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: &lt;ctype.h&gt;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STIME&nbsp;&nbsp;&nbsp; FMRI<BR>disabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22:18:47 svc:/application/database/postgresql:version_81<BR>online&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22:18:56 svc:/application/database/postgresql:version_82<BR>#<BR><BR>I did install the postgresql devel and header package and jdbc package.&nbsp; What did I miss?<BR>
&nbsp;<BR>
Regards,<BR>
Terence<BR>
<BR><BR><BR>&nbsp;<BR>

<HR id=stopSpelling>
<BR>
&gt; Date: Sun, 8 Jun 2008 12:02:38 -0600<BR>&gt; From: books@ejurka.com<BR>&gt; To: terencenwk@hotmail.com<BR>&gt; CC: pljava-dev@pgfoundry.org<BR>&gt; Subject: Re: [Pljava-dev] How to compile pljava in Solaris 10 5/08?<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Terence Ng wrote:<BR>&gt; &gt; <BR>&gt; &gt; I have installed Solaris Studio 12 the C compiler and build tool. After <BR>&gt; &gt; running:<BR>&gt; &gt; # cd /var/tmp/pljava/pljava-1.4.0<BR>&gt; &gt; # /opt/SUNWspro/bin/dmake<BR>&gt; &gt; dmake: Warning: Can't find `make.rules': No such file or directory<BR>&gt; &gt; dmake: Fatal error in reader: Makefile, line 30: Unexpected end of line seen<BR>&gt; &gt; <BR>&gt; <BR>&gt; You still need to use GNU make to build pljava, not dmake. Also since<BR>&gt; you've installed sun studio 12 (and into a different location) instead<BR>&gt; of the used sun studio 11, you'll need to either set CUSTOM_CC to point<BR>&gt; to your cc binary, or make some symlinks.<BR>&gt; <BR>&gt; 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>