Regarding Perl installation #16458
OS is SunOS uamqmyy002l 5.10 Generic_150400-21 sun4v sparc sun4v.
Our apache version is 2.4.29
We are trying to install perl and mod and perl but we are getting errors while installing perl itself, while doing make test throwing below error.
Perl version we are installing is perl-5.26.1.
Steps we did to install perl
Downloaded from perl version perl-5.26.1.tar from http://www.cpan.org/src/README.html
Run below command to install perl
/Configure -des -Dprefix=/www/perl/perl-5.26.1 -Dcc=gcc -Dusethreads -A ccflags=-fPIC
I tried setting below environment variables but no use.
export LDFLAGS=" -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/X/lib -R/usr/X/lib -L/usr/X11/lib -R/usr/X11/lib -L/usr/ccs/lib -R/usr/ccs/lib "
lib/warnings ................................................... ok
I have taken perl harness report I did not see any failed errors report no use.
Note: I am able to install perl with lower version perl-5.20.0 without any problem, but getting errors while building mod_perl.so. Mod_perl.so we are trying to compile is mod_perl-2.0.10.tar.
ld: fatal: file /www/apache_2.4.29/lib/libaprutil-1.so: wrong ELF class: ELFCLASS64
I checked the files are they compiling with 64 bit or 32 bit they are compiling with 64 bit.
libaprutil-1.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped, no debugging information available
My collogue send me below matrix of perl compatibility.
Please help me resolve above perl issue first .
Thanks and Regrads
Confidential Communication: The contents of this e-mail including any attachment are confidential and intended solely for the person(s) to whom they are addressed. Any reader of this email who is not the intended recipient is notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete all copies from your computer system. Subsequent alterations to this email after its transmission will be disregarded.
On Thu, 08 Mar 2018 12:56:59 GMT, Ravi.Avireneni@sita.aero wrote:
Thank you for this report. Unfortunately, as you can see from a search at http://perl5.test-smoke.org/search, we have not gotten smoke test reports for perl on SunOS for several years. Nevertheless, we will try our best to assist you.
Note that in this response I won't touch upon your mod_perl issues, as mod_perl is outside the Perl 5 core distribution and not maintained by Perl 5 Porters.
I believe it is customary not to have whitespace between '-A' and 'ccflags'. This probably is not the source of your problem, but you may want to try it with the space closed up.
If you got this far, then you built perl-5.26.1 successfully, but one test file has failed. That's actually quite a good result for an operating system we haven't been tested on in five years.
In the directory where you built perl-5.26.1, please try:
$> cd t; ./perl harness -v ../ext/POSIX/t/math.t; cd -
... then send the output as an attachment to your response.
Thank you very much.
On Thu, Mar 8, 2018 at 9:27 AM, James E Keenan via RT
I took this to mean that he already tried harness and the test does
$ cd t; ./perl TEST -v ../ext/POSIX/t/math.t; cd -
On Thu, 08 Mar 2018 04:56:59 -0800, Ravi.Avireneni@sita.aero wrote:
I expect adding -Duse64bitall will fix your errors linking with the apache libraries.
I don't expect it to fix the math.t failure, we need more information for that.