Re: [Arsperl-users] Make on AIX
Brought to you by:
jeffmurphy
|
From: <Nei...@HB...> - 2007-02-12 16:35:12
|
So if I don't have gcc on my AIX box I need to use the same compiler as was=
=
originally used for PERL=3F
Is it the line
$AUTODEFINES .=3D " -Wno-unused-variable -Wuninitialized " if $Config{'cc'=
}=
eq "gcc";
in Makefile.PL that I need to change, as that is the only mention of gcc in=
=
the file=3F
Neil Anderson
Technical Specialist
Service Process Automation (SPA)
Enterprise Technology Services
Group Technology
Group Services - HBOS plc
Extension - (7584) 30455
DDI 01422 830455
Mobile: 07785 372821
Postal Reference:CW1/Z2D13/GT/SPA/NA
E-mail: Nei...@hb...
group services - delivering for HBOS
-----Original Message-----
=46rom: ars...@ar...
[mailto:ars...@ar...]On Behalf Of Thilo Stapff
Sent: 12 February 2007 16:15
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] Make on AIX
I'm no expert on this, but it might only compile if you use the same=20
compiler for ARSperl that the perl interpreter was built with.
Apparently "make" wants to use gcc whereas perl was built with the=20
native IBM compiler (you may run "perl -V" to check this out).
As I see it, your options are:
1) use the IBM compiler to build arsperl. As far as I know IBM sells the=20
compiler as a separate product, so it might not be available on your system.
or
2) Build your own perl interpreter using gcc.
Regards,
Thilo Stapff
Nei...@HB... schrieb:
>=20
>> I'm trying to install ARSPerl on AIX for the first time. I am used to =
Solaris. the Makefile.PL works fine, but the make gives me these errors. =
any suggestions=3F
>>
>> tivdevhub1p:/mnt/mike/arsperl/ARSperl-1.85>make
>> cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
>> cp artypes.ph blib/lib/artypes.ph
>> cp ARSnparm.pm blib/lib/ARSnparm.pm
>> cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
>> cp ARSar-h.pm blib/lib/ARSar-h.pm
>> cp ARSnt-h.pm blib/lib/ARSnt-h.pm
>> cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
>> cp ARSOOsup.pm blib/lib/ARSOOsup.pm
>> cp ARSOOmsgs.pm blib/lib/ARSOOmsgs.pm
>> cp ARSOOform.pm blib/lib/ARSOOform.pm
>> cp ARS.pm blib/lib/ARS.pm
>> AutoSplitting blib/lib/ARS.pm (blib/lib/auto/ARS)
>> /usr/local/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" =3D>=
=
"ARS", "DL_FUNCS" =3D> { }, "FUNCLIST" =3D> [], "DL_VARS" =3D> []);'
>> /usr/local/bin/perl /usr/opt/perl5/lib/5.8.0/ExtUtils/xsubpp -typemap =
/usr/opt/perl5/lib/5.8.0/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc=
=
&& mv ARS.xsc ARS.c
>> gcc -c -I/mnt/mike/arsperl/api/include -D_ALL_SOURCE -D_ANSI_C_SOURCE =
-D_POSIX_SOURCE -qmaxmem=3D16384 -qnoansialias -DUSE_NATIVE_DLOPEN =
-DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=3D\"1.84\" =
-DXS_VERSION=3D\"1.84\" "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" =
-g -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 =
-DPERL_PATCHLEVEL_IS=3D8 -DPERL_SUBVERSION_IS=3D0 -DPERL_BASEREV_IS=3D50 =
ARS.c
>> gcc: unrecognized option `-qmaxmem=3D16384'
>> gcc: unrecognized option `-qnoansialias'
>> gcc: unrecognized option `-q32'
>> gcc: unrecognized option `-qlonglong'
>> cc1: Unrecognised option `-Wno-unused-variable'
>> In file included from =
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/op.h:480,
>> from /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:2209,
>> from support.h:70,
>> from ARS.xs:26:
>> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:610: field =
`_drand48_struct' has incomplete type
>> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:717: field =
`_random_struct' has incomplete type
>> ARS.c: In function `XS_ARS_ars_perl_qualifier':
>> ARS.c:107: warning: `ctrl' might be used uninitialized in this function
>> ARS.c:108: warning: `in' might be used uninitialized in this =
=66unction................
>>
>>
>>
>>
>>
>>
>> Neil Anderson
>> Technical Specialist
>> Service Process Automation (SPA)
>> Enterprise Technology Services
>> Group Technology
>> Group Services - HBOS plc
>> Extension - (7584) 30455
>> DDI 01422 830455
>> Mobile: 07785 372821
>> Postal Reference:CW1/Z2D13/GT/SPA/NA
>> E-mail: Nei...@hb...
>> group services - delivering for HBOS
>>
>=20
> .
> =
---------------------------------------------------------------------------=
-----------------------------------------
>=20
> HBOS plc, Registered in Scotland No. SC218813. Registered Office: The =
Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of =
which are authorised and regulated by the Financial Services Authority.
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>=20
>=20
> -------------------------------------------------------------------------
> Using Tomcat but need to do more=3F Need to support web services, =
security=3F
> Get stuff done quickly with pre-integrated technology to make your job =
easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> =
http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>=20
-------------------------------------------------------------------------
Using Tomcat but need to do more=3F Need to support web services, =
security=3F
Get stuff done quickly with pre-integrated technology to make your job =
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
.
---------------------------------------------------------------------------=
-------------------------------------------
HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound=
,=
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which ar=
e=
authorised and regulated by the Financial Services Authority.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
|