[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-08 14:50:34
Message-ID: BAY105-W4452394177E8FC5204EACAD3B10@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20080608/d90ff0ed/attachment.html>

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Kris Jurka 2008-06-08 18:02:38 [Pljava-dev] How to compile pljava in Solaris 10 5/08?
Previous Message Kris Jurka 2008-06-08 04:21:11 [Pljava-dev] How to compile pljava in Solaris 10 5/08?