public inbox for [email protected]  
help / color / mirror / Atom feed
From: Eugenie V. Lyzenko <[email protected]>
Subject: [Pljava-dev] Building PLJava on Solaris issues
Date: Tue, 22 Mar 2016 19:20:10 +0300
Message-ID: <[email protected]> (raw)

Hello,

Our company is working on the project that requires the usage of the PLJava plug-in with 
Solaris operating system. So we need this module to be compiled with gcc and working with 
Solaris 10. However taking the code from by instructions published on your site does not 
produce the native module required. There are several issues encountered during build:
1. Maven tool does not run after install in Solaris, even with simple "mvn -v" version command
2. The native *.so module building is silently ignoring if C/C++ compilers are gcc/g++
3. The java stack size is not enough for building

So we have performed investigation and found a way to build PLJava in Solaris 10 with gcc. 
Here is the instructions:
1. Replace default Maven start-up script with attached one to start using Maven in Solaris 
10. Based on Maven 3.3.9 version script.
2. Replace default aol.properties in the 
.m2/repository/com/github/maven-nar/nar-maven-plugin/3.2.3/nar-maven-plugin-3.2.3.jar with 
attached one to be able to use gcc in Solaris 10.
3. Set enough Java stack size:
MAVEN_JAVA_RUN_ENV=-Xss2m
export MAVEN_JAVA_RUN_ENV

These steps will give the building PLJava native libraries in Solaris 10 for x86_64 and 
sparc architectures.

Best Regards,
Mr Eugenie Lyzenko.

Software developer,
Golden Code Development Corporation(www.goldencode.com)

_______________________________________________
Pljava-dev mailing list
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev

Attachments:

  [application/zip] aol.properties_Solaris_10_x86_sparc.zip (4.3K, ../[email protected]/2-aol.properties_Solaris_10_x86_sparc.zip)
  download

  [application/zip] mvn.Solaris_10_x86_sparc.zip (2.6K, ../[email protected]/3-mvn.Solaris_10_x86_sparc.zip)
  download

view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] Building PLJava on Solaris issues
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox