From: | "Eugenie V(dot) Lyzenko" <evl(at)goldencode(dot)com> |
---|---|
To: | |
Subject: | [Pljava-dev] Building PLJava on Solaris issues |
Date: | 2016-03-22 16:20:10 |
Message-ID: | 56F170BA.2000202@goldencode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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)
Attachment | Content-Type | Size |
---|---|---|
aol.properties_Solaris_10_x86_sparc.zip | application/zip | 4.3 KB |
mvn.Solaris_10_x86_sparc.zip | application/zip | 2.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Chapman Flack | 2016-03-23 02:14:59 | Re: [Pljava-dev] Building PLJava on Solaris issues |
Previous Message | Chapman Flack | 2016-03-20 05:35:48 | Re: [Pljava-dev] PL/Java 1.5.0-BETA3 announced (release candidate) |