Subject: | Bug+fix in Perl Module PAB-3.1.5 |
Date: | Thu, 8 Oct 2009 13:35:54 +0200 |
To: | bug-PAB3 [...] rt.cpan.org |
From: | Luca Monfardini <luca.monfardini [...] gmail.com> |
To whom it may concern.
I'm here to signal the following problem while trying to install Perl Module
'PAB3':
omis231:/app/ess/tmp/PAB3-3.1.5> *perl Makefile.PL --disable-mysql
--disable-pgsql --disable-sqlite3*
************* WARNING *************
* Your operation system has not *
* been tested. *
* The installation may fail! *
***********************************
...
omis231:/app/ess/tmp/PAB3-3.1.5> *make*
cp lib/PAB3/Logger.pm blib/lib/PAB3/Logger.pm
cp lib/PAB3/CGI/Request.pm blib/lib/PAB3/CGI/Request.pm
cp lib/PAB3/DB/Max.pm blib/lib/PAB3/DB/Max.pm
cp lib/PAB3/HashmapCache.pm blib/lib/PAB3/HashmapCache.pm
cp lib/PAB3/CGI/RequestStd.pm blib/lib/PAB3/CGI/RequestStd.pm
cp lib/PAB3/Output/Object.pm blib/lib/PAB3/Output/Object.pm
cp lib/PAB3/DB/DataSet.pm blib/lib/PAB3/DB/DataSet.pm
cp lib/PAB3/ModPerl/Registry.pm blib/lib/PAB3/ModPerl/Registry.pm
cp lib/PAB3/CGI.pm blib/lib/PAB3/CGI.pm
cp lib/PAB3/Output/CGI.pm blib/lib/PAB3/Output/CGI.pm
cp lib/PAB3/Session.pm blib/lib/PAB3/Session.pm
cp lib/PAB3/DB.pm blib/lib/PAB3/DB.pm
cp lib/PAB3/Output/Code.pm blib/lib/PAB3/Output/Code.pm
cp PAB3.pm ../../blib/lib/PAB3.pm
cp XOR.pm ../../../../blib/lib/PAB3/Crypt/XOR.pm
/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -noprototypes -typemap
/usr/perl5/5.8.4/lib/ExtUtils/typemap XOR.xs > XOR.xsc && mv XOR.xsc XOR.c
cc -c -I../../../ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO -O3 -DVERSION=\"1.1.0\" -DXS_VERSION=\"1.1.0\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" XOR.c
"XOR.xs", line 1: warning: invalid white space character in directive
"XOR.xs", line 2: warning: invalid white space character in directive
....
"XOR.c", line 209: cannot recover from previous errors
cc: acomp failed for XOR.c
*** Error code 2
make: Fatal error: Command failed for target `XOR.o'
Current working directory /app/ess/tmp/PAB3-3.1.5/xs/PAB3/Crypt/XOR
*** Error code 1
The following command caused the error:
cd XOR && make -f Makefile all LIBPERL_A="libperl.a" LINKTYPE="dynamic"
OPTIMIZE="-O3" PREFIX="/usr/perl5/5.8.4"
make: Fatal error: Command failed for target `subdirs'
Current working directory /app/ess/tmp/PAB3-3.1.5/xs/PAB3/Crypt
*** Error code 1
The following command caused the error:
cd Crypt && make -f Makefile all LIBPERL_A="libperl.a" LINKTYPE="dynamic"
OPTIMIZE="-O3" PREFIX="/usr/perl5/5.8.4" PASTHRU_DEFINE="" PASTHRU_INC=""
make: Fatal error: Command failed for target `subdirs'
Current working directory /app/ess/tmp/PAB3-3.1.5/xs/PAB3
*** Error code 1
The following command caused the error:
cd PAB3 && make -f Makefile all LIBPERL_A="libperl.a" LINKTYPE="dynamic"
OPTIMIZE="-O3" PREFIX="/usr/perl5/5.8.4"
make: Fatal error: Command failed for target `subdirs'
Current working directory /app/ess/tmp/PAB3-3.1.5/xs
*** Error code 1
The following command caused the error:
cd xs && make -f Makefile all LIBPERL_A="libperl.a" LINKTYPE="dynamic"
OPTIMIZE="-O3" PREFIX="/usr/perl5/5.8.4"
make: Fatal error: Command failed for target `subdirs'
Operating environment:
#* uname -a*
*SunOS* omis231 *5.10* Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V890
# *perl -V*
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-64int
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO',
optimize='-xO3 -xspace -xildoff',
cppflags=''
...
I won't delve into many details as the problem's solution is straight and is
to be found in the error message:
*"XOR.xs", line 1: warning: invalid white space character in directive*
Just edit the distribution file:*./xs/PAB3/Crypt/XOR/XOR.xs*
and you will see a trailing *<CTRLM>* character at the end of every lines.
Remove the control character at the end of the lines, save and repeat the
installation procedure.
Thank you very much for the marvellous job that you are doing and have a
nice day.
Luca