From: terencenwk at hotmail.com (Terence Ng) Date: Sun, 8 Jun 2008 22:50:34 +0800 Subject: [Pljava-dev] How to compile pljava in Solaris 10 5/08? In-Reply-To: <484B5E37.1080008@ejurka.com> References: <484B5E37.1080008@ejurka.com> Message-ID: Hi Kris, 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/dmakedmake: Warning: Can't find `make.rules': No such file or directorydmake: Fatal error in reader: Makefile, line 30: Unexpected end of line seen What should I do? Should I also install the C++ compiler? Regards, Terence > Date: Sat, 7 Jun 2008 22:21:11 -0600> From: jurka 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 difficulty in compiling pljava 1.4.0 in Solaris 10 5/08.> > I am using Postgresql 8.2, JDK1.5..0, GCC and Binutils packages in Solaris.> > > > There is an error during compiling: > > > > /bin/sh: /ws/on10-tools/SUNWspro/SS11/bin/cc: not found > > Pljava is trying to use the same compiler and options to build pljava as > the postgresql server was compiled with. Apparently your postgresql > package was built with Solaris' compiler, so it's trying to use that > instead of gcc which you have installed.> > You can override this by setting the CUSTOM_CC environment variable to > point to gcc, but you'll still have the old CFLAGS and other things > which are not so easy to override. The easiest thing would be to > install the sun compiler, next easiest would be to build your own > postgresql version with gcc, and finally you could adjust assorted parts > of the pljava build system to build with gcc instead of sun's compiler.> > Kris Jurka _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE -------------- next part -------------- An HTML attachment was scrubbed... URL: