Thread: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit
Brought to you by:
jeffmurphy
|
From: Chris F. <cr...@gm...> - 2008-05-15 23:03:49
|
Hello. I am trying to compile AREPerl-1.91 on Red Hat Enterprise Linux AS
release 4 update 3, 64bit. The building of the Makefile completes
successfully, but when I run the make, it bombs pretty quick. Searching the
mail archives, Googling the error and asking people that know more about
programming than me proved unsuccessful. The error is below and I will be
forever grateful for any help with this.
chford:/home/chford/ARSperl-1.91> perl Makefile.PL
Building against perl 5.008005
Generating support.h file..
Processing AR_STRUCT_ITEM codes..
Processing AR_SERVER_STAT codes..
Processing AR_SCHEMA codes..
Processing AR_COM_PARM codes..
Processing AR_COM_METHOD codes..
Processing AR_DDE codes..
Processing AR_ACTIVE_LINK_ACTION codes..
Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
Processing AR_CHAR_MENU_DD type codes..
Processing AR_CHAR_MENU_DD name codes..
Processing AR_CHAR_MENU_DD value format..
Processing AR_CHAR_MENU codes..
Processing AR_FILTER_ACTION codes..
Processing AR_MENU_REFRESH codes..
Processing AR_PERMISSIONS (Schema) codes..
Processing AR_PERMISSIONS (Field) codes..
Processing AR_DATA_TYPE codes..
Processing AR_BYTE_LIST codes..
Processing AR_NO_MATCH codes..
Processing AR_MULTI_MATCH codes..
Processing AR_RETURN codes..
Processing AR_FUNCTION codes..
Processing ARCON codes..
Processing ARCONOWNER codes..
Processing ARREF codes..
Processing AR_KEYWORD codes..
Processing AR_SERVER_INFO codes..
Generating serverTypeInfoHints.h ..
Converting C header files to perl modules ..
Configuring with options:
ARSVERSION = 7.10
ARSAPI = /home/chford/api
AUTODEFINES = -g -Wno-unused-variable -Wuninitialized -DARS32
-DARS452 -malign-double -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5
-DPERL_BASEREV_IS=50
Writing Makefile for ARS
=== ARSperl 'make test' configuration. ===
Please enter the following information. This information will be
recorded in ./t/config.cache
If you want to skip the 'make test' step, just hit ENTER
three times. You can configure it later by either re-running
'perl Makefile.PL' or by editting ./t/config.cache
Fair warning: you probably don't want to run 'make test' against a
production ARSystem server.
Server Name []:
Admin Username []:
Admin Password []:
Type 'make' (windows: 'nmake') to build ARSperl.
Type 'make test' to test ARSperl before installing.
Type 'make install' to install ARSperl.
chford:/home/chford/ARSperl-1.91> make
Skip blib/lib/ARSarerrno-h.pm (unchanged)
Skip blib/lib/ARSnparm.pm (unchanged)
Skip blib/lib/artypes.ph (unchanged)
Skip blib/lib/_h2ph_pre.ph (unchanged)
Skip blib/lib/ARSar-h.pm (unchanged)
Skip blib/lib/ARSnterrno-h.pm (unchanged)
Skip blib/lib/ARSnt-h.pm (unchanged)
Skip blib/lib/ARSOOsup.pm (unchanged)
Skip blib/lib/ARSOOmsgs.pm (unchanged)
Skip blib/lib/ARSOOform.pm (unchanged)
Skip blib/lib/ARS.pm (unchanged)
gcc -c -I/home/chford/api/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64
-DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" -g
-Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 -DPERL_BASEREV_IS=50 ARS.c
ARS.c:1: error: -malign-double makes no sense in the 64bit mode
make: *** [ARS.o] Error 1
chford:/home/chford/ARSperl-1.91>
|
|
From: <wil...@em...> - 2008-08-28 20:45:46
|
Hi,
I'm trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
When I run make, it fails with the following error:
[root@citadel ARSperl-1.91]# make
cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
cp ARSnparm.pm blib/lib/ARSnparm.pm
cp artypes.ph blib/lib/artypes.ph
cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
cp ARSar-h.pm blib/lib/ARSar-h.pm
cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
cp ARSnt-h.pm blib/lib/ARSnt-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/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc
&& mv ARS.xsc ARS.c
gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
-D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
-Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
-DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
ARS.c
ARS.c:1: error: -malign-double makes no sense in the 64bit mode
make: *** [ARS.o] Error 1
I've tried the two solutions below which were in response to a post by
Chris Ford on 5/15/08. Neither worked.
Solution 1:
You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
arsperl 32-bit by setting the CPPFLAGS to include -m32:
$ export CPPFLAGS="${CPPFLAGS} -m32"
Axton Grams
Solution 2:
On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...>
wrote:
> Chris,
>
> In the Makefile you could remove references to "-malign-double" which
seems to be causing your problem. That may fix that problem but the fact
you're compiling on a 64 bit system might cause other issues. Last I
heard the Remedy libraries are only available as 32 bit libraries. I
never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
changed.
>
> Rusty
>
Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
Thanks
--Wayne
|
|
From: Thilo S. <thi...@ap...> - 2008-08-29 13:20:28
|
This is what I wrote some months ago to someone else (Geoffrey Endresen)
who appeared to have the same problem:
----------------------
I don't have any experience with 64 bit systems so I can only take a
guess here. To me, the situation looks as follows:
The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
-m32.
Your Perl interpreter is 64 bit, so ARSperl would also have to be
compiled as 64 bit, which of course collides with the condition above.
A possible solution might be to compile a Perl interpreter with -m32 and
use that one for ARSperl.
----------------------
He replied that he would try that, but I don't know if he was successful.
Regards
Thilo
wil...@em... wrote:
> Hi,
>
>
>
> I’m trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> When I run make, it fails with the following error:
>
>
>
> [root@citadel ARSperl-1.91]# make
>
> cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
>
> cp ARSnparm.pm blib/lib/ARSnparm.pm
>
> cp artypes.ph blib/lib/artypes.ph
>
> cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
>
> cp ARSar-h.pm blib/lib/ARSar-h.pm
>
> cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
>
> cp ARSnt-h.pm blib/lib/ARSnt-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/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc
> && mv ARS.xsc ARS.c
>
> gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c
>
> ARS.c:1: error: -malign-double makes no sense in the 64bit mode
>
> make: *** [ARS.o] Error 1
>
>
>
>
>
> I’ve tried the two solutions below which were in response to a post by
> Chris Ford on 5/15/08. Neither worked.
>
>
>
> Solution 1:
>
> You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> arsperl 32-bit by setting the CPPFLAGS to include -m32:
>
> $ export CPPFLAGS="${CPPFLAGS} -m32"
>
> Axton Grams
>
> Solution 2:
> On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...> wrote:
>> Chris,
>>
>> In the Makefile you could remove references to "-malign-double" which
> seems to be causing your problem. That may fix that problem but the fact
> you're compiling on a 64 bit system might cause other issues. Last I
> heard the Remedy libraries are only available as 32 bit libraries. I
> never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> changed.
>>
>> Rusty
>>
>
>
>
> Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
>
>
>
> Thanks
>
>
>
> --Wayne
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: KOBORI A. <ko...@si...> - 2008-09-02 03:59:48
|
I am troubled about next.
ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32.
compiled success.
However, ARS.so module was not loaded.
The output error message is as follows.
+---------------------------------------+
Can't load
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so
' for module ARS:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so:
wrong ELF class: ELFCLASS32 at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm
line 56
Compilation failed in require at
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm line
56.
+---------------------------------------+
Please, I want you to teach a method to load(operate) ARS.so module.
Regards
> This is what I wrote some months ago to someone else (Geoffrey Endresen)
> who appeared to have the same problem:
>
> ----------------------
>
> I don't have any experience with 64 bit systems so I can only take a
> guess here. To me, the situation looks as follows:
>
> The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
> -m32.
>
> Your Perl interpreter is 64 bit, so ARSperl would also have to be
> compiled as 64 bit, which of course collides with the condition above.
>
> A possible solution might be to compile a Perl interpreter with -m32 and
> use that one for ARSperl.
>
> ----------------------
>
> He replied that he would try that, but I don't know if he was successful.
>
>
> Regards
> Thilo
>
>
>
> wil...@em... wrote:
> > Hi,
> >
> >
> >
> > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> > When I run make, it fails with the following error:
> >
> >
> >
> > [root@citadel ARSperl-1.91]# make
> >
> > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> >
> > cp ARSnparm.pm blib/lib/ARSnparm.pm
> >
> > cp artypes.ph blib/lib/artypes.ph
> >
> > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
> >
> > cp ARSar-h.pm blib/lib/ARSar-h.pm
> >
> > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
> >
> > cp ARSnt-h.pm blib/lib/ARSnt-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/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > ARS.xsc
> > && mv ARS.xsc ARS.c
> >
> > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> > -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 ARS.c
> >
> > ARS.c:1: error: -malign-double makes no sense in the 64bit mode
> >
> > make: *** [ARS.o] Error 1
> >
> >
> >
> >
> >
> > I致e tried the two solutions below which were in response to a post by
> > Chris Ford on 5/15/08. Neither worked.
> >
> >
> >
> > Solution 1:
> >
> > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> > arsperl 32-bit by setting the CPPFLAGS to include -m32:
> >
> > $ export CPPFLAGS="${CPPFLAGS} -m32"
> >
> > Axton Grams
> >
> > Solution 2:
> > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...> wrote:
> >> Chris,
> >>
> >> In the Makefile you could remove references to "-malign-double" which
> > seems to be causing your problem. That may fix that problem but the fact
> > you're compiling on a 64 bit system might cause other issues. Last I
> > heard the Remedy libraries are only available as 32 bit libraries. I
> > never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> > changed.
> >>
> >> Rusty
> >>
> >
> >
> >
> > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
> >
> >
> >
> > Thanks
> >
> >
> >
> > --Wayne
|
|
From: Geoffrey E. <geo...@gm...> - 2008-09-02 04:28:54
|
I was only able to get it to work with 32 bit perl.
2008/9/1 KOBORI Akii <ko...@si...>
> I am troubled about next.
>
> ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32.
> compiled success.
>
> However, ARS.so module was not loaded.
> The output error message is as follows.
> +---------------------------------------+
> Can't load
> '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so
> ' for module ARS:
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so:
> wrong ELF class: ELFCLASS32 at
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
> at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm
> line 56
> Compilation failed in require at
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm line
> 56.
> +---------------------------------------+
>
> Please, I want you to teach a method to load(operate) ARS.so module.
>
> Regards
>
>
> > This is what I wrote some months ago to someone else (Geoffrey Endresen)
> > who appeared to have the same problem:
> >
> > ----------------------
> >
> > I don't have any experience with 64 bit systems so I can only take a
> > guess here. To me, the situation looks as follows:
> >
> > The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
> > -m32.
> >
> > Your Perl interpreter is 64 bit, so ARSperl would also have to be
> > compiled as 64 bit, which of course collides with the condition above.
> >
> > A possible solution might be to compile a Perl interpreter with -m32 and
> > use that one for ARSperl.
> >
> > ----------------------
> >
> > He replied that he would try that, but I don't know if he was successful.
> >
> >
> > Regards
> > Thilo
> >
> >
> >
> > wil...@em... wrote:
> > > Hi,
> > >
> > >
> > >
> > > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> > > When I run make, it fails with the following error:
> > >
> > >
> > >
> > > [root@citadel ARSperl-1.91]# make
> > >
> > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> > >
> > > cp ARSnparm.pm blib/lib/ARSnparm.pm
> > >
> > > cp artypes.ph blib/lib/artypes.ph
> > >
> > > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
> > >
> > > cp ARSar-h.pm blib/lib/ARSar-h.pm
> > >
> > > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
> > >
> > > cp ARSnt-h.pm blib/lib/ARSnt-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/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> > > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs >
> ARS.xsc
> > > && mv ARS.xsc ARS.c
> > >
> > > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> > > -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> > > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> > > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> > > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
> ARS.c
> > >
> > > ARS.c:1: error: -malign-double makes no sense in the 64bit mode
> > >
> > > make: *** [ARS.o] Error 1
> > >
> > >
> > >
> > >
> > >
> > > I致e tried the two solutions below which were in response to a post by
> > > Chris Ford on 5/15/08. Neither worked.
> > >
> > >
> > >
> > > Solution 1:
> > >
> > > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> > > arsperl 32-bit by setting the CPPFLAGS to include -m32:
> > >
> > > $ export CPPFLAGS="${CPPFLAGS} -m32"
> > >
> > > Axton Grams
> > >
> > > Solution 2:
> > > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...>
> wrote:
> > >> Chris,
> > >>
> > >> In the Makefile you could remove references to "-malign-double" which
> > > seems to be causing your problem. That may fix that problem but the
> fact
> > > you're compiling on a 64 bit system might cause other issues. Last I
> > > heard the Remedy libraries are only available as 32 bit libraries. I
> > > never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> > > changed.
> > >>
> > >> Rusty
> > >>
> > >
> > >
> > >
> > > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
> > >
> > >
> > >
> > > Thanks
> > >
> > >
> > >
> > > --Wayne
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
--
-Geoff Endresen
Amazon.com
|
|
From: KOBORI A. <ko...@si...> - 2008-09-02 07:46:31
|
What will you do to operate 32bit perl on RHEL5(x86-64)?
I am glad when I have you teach it.
> I was only able to get it to work with 32 bit perl.
>
> 2008/9/1 KOBORI Akii <ko...@si...>
>
> > I am troubled about next.
> >
> > ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32.
> > compiled success.
> >
> > However, ARS.so module was not loaded.
> > The output error message is as follows.
> > +---------------------------------------+
> > Can't load
> > '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so
> > ' for module ARS:
> > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so:
> > wrong ELF class: ELFCLASS32 at
> > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
> > at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm
> > line 56
> > Compilation failed in require at
> > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm line
> > 56.
> > +---------------------------------------+
> >
> > Please, I want you to teach a method to load(operate) ARS.so module.
> >
> > Regards
> >
> >
> > > This is what I wrote some months ago to someone else (Geoffrey Endresen)
> > > who appeared to have the same problem:
> > >
> > > ----------------------
> > >
> > > I don't have any experience with 64 bit systems so I can only take a
> > > guess here. To me, the situation looks as follows:
> > >
> > > The Remedy API libraries are 32 bit, so ARSperl has to be compiled with
> > > -m32.
> > >
> > > Your Perl interpreter is 64 bit, so ARSperl would also have to be
> > > compiled as 64 bit, which of course collides with the condition above.
> > >
> > > A possible solution might be to compile a Perl interpreter with -m32 and
> > > use that one for ARSperl.
> > >
> > > ----------------------
> > >
> > > He replied that he would try that, but I don't know if he was successful.
> > >
> > >
> > > Regards
> > > Thilo
> > >
> > >
> > >
> > > wil...@em... wrote:
> > > > Hi,
> > > >
> > > >
> > > >
> > > > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 system.
> > > > When I run make, it fails with the following error:
> > > >
> > > >
> > > >
> > > > [root@citadel ARSperl-1.91]# make
> > > >
> > > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> > > >
> > > > cp ARSnparm.pm blib/lib/ARSnparm.pm
> > > >
> > > > cp artypes.ph blib/lib/artypes.ph
> > > >
> > > > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph
> > > >
> > > > cp ARSar-h.pm blib/lib/ARSar-h.pm
> > > >
> > > > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm
> > > >
> > > > cp ARSnt-h.pm blib/lib/ARSnt-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/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
> > > > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs >
> > ARS.xsc
> > > > && mv ARS.xsc ARS.c
> > > >
> > > > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT
> > > > -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> > > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > > > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> > > > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC
> > > > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g
> > > > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 -malign-double
> > > > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50
> > ARS.c
> > > >
> > > > ARS.c:1: error: -malign-double makes no sense in the 64bit mode
> > > >
> > > > make: *** [ARS.o] Error 1
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I致e tried the two solutions below which were in response to a post by
> > > > Chris Ford on 5/15/08. Neither worked.
> > > >
> > > >
> > > >
> > > > Solution 1:
> > > >
> > > > You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> > > > arsperl 32-bit by setting the CPPFLAGS to include -m32:
> > > >
> > > > $ export CPPFLAGS="${CPPFLAGS} -m32"
> > > >
> > > > Axton Grams
> > > >
> > > > Solution 2:
> > > > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya...>
> > wrote:
> > > >> Chris,
> > > >>
> > > >> In the Makefile you could remove references to "-malign-double" which
> > > > seems to be causing your problem. That may fix that problem but the
> > fact
> > > > you're compiling on a 64 bit system might cause other issues. Last I
> > > > heard the Remedy libraries are only available as 32 bit libraries. I
> > > > never had luck compiling ARSPerl on a 64 bit system. But perhaps that's
> > > > changed.
> > > >>
> > > >> Rusty
> > > >>
> > > >
> > > >
> > > >
> > > > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system?
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > >
> > > >
> > > > --Wayne
> >
> --
> -Geoff Endresen
> Amazon.com
|
|
From: Axton <axt...@gm...> - 2008-09-03 13:37:51
|
Simply install another instance of perl, a 32-bit version, in another location, then use that perl for all your arsperl stuff. You can download the perl sources from perl.org. You may also want to check whether a 32-bit version of perl is already on your server. The key things are these: - compile arsperl as 32-bit (-m32) - use a 32-bit perl interpreter to load the arsperl pm Axton Grams 2008/9/2 KOBORI Akii <ko...@si...> > What will you do to operate 32bit perl on RHEL5(x86-64)? > > I am glad when I have you teach it. > > > > > I was only able to get it to work with 32 bit perl. > > > > 2008/9/1 KOBORI Akii <ko...@si...> > > > > > I am troubled about next. > > > > > > ARSperl-1.91 compiled on RHEL5(x86-64) with option -m32. > > > compiled success. > > > > > > However, ARS.so module was not loaded. > > > The output error message is as follows. > > > +---------------------------------------+ > > > Can't load > > > > '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so > > > ' for module ARS: > > > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/ARS/ARS.so: > > > wrong ELF class: ELFCLASS32 at > > > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line > 230. > > > at > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm > > > line 56 > > > Compilation failed in require at > > > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/XXXXXXX.pm > line > > > 56. > > > +---------------------------------------+ > > > > > > Please, I want you to teach a method to load(operate) ARS.so module. > > > > > > Regards > > > > > > > > > > This is what I wrote some months ago to someone else (Geoffrey > Endresen) > > > > who appeared to have the same problem: > > > > > > > > ---------------------- > > > > > > > > I don't have any experience with 64 bit systems so I can only take a > > > > guess here. To me, the situation looks as follows: > > > > > > > > The Remedy API libraries are 32 bit, so ARSperl has to be compiled > with > > > > -m32. > > > > > > > > Your Perl interpreter is 64 bit, so ARSperl would also have to be > > > > compiled as 64 bit, which of course collides with the condition > above. > > > > > > > > A possible solution might be to compile a Perl interpreter with -m32 > and > > > > use that one for ARSperl. > > > > > > > > ---------------------- > > > > > > > > He replied that he would try that, but I don't know if he was > successful. > > > > > > > > > > > > Regards > > > > Thilo > > > > > > > > > > > > > > > > wil...@em... wrote: > > > > > Hi, > > > > > > > > > > > > > > > > > > > > I知 trying to compile ARSPerl 1.91on a 64 bit Redhat linux EL5 > system. > > > > > When I run make, it fails with the following error: > > > > > > > > > > > > > > > > > > > > [root@citadel ARSperl-1.91]# make > > > > > > > > > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm > > > > > > > > > > cp ARSnparm.pm blib/lib/ARSnparm.pm > > > > > > > > > > cp artypes.ph blib/lib/artypes.ph > > > > > > > > > > cp _h2ph_pre.ph blib/lib/_h2ph_pre.ph > > > > > > > > > > cp ARSar-h.pm blib/lib/ARSar-h.pm > > > > > > > > > > cp ARSnterrno-h.pm blib/lib/ARSnterrno-h.pm > > > > > > > > > > cp ARSnt-h.pm blib/lib/ARSnt-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/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap > > > > > /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap ARS.xs > > > > ARS.xsc > > > > > && mv ARS.xsc ARS.c > > > > > > > > > > gcc -c -I/remedy/arheaders/remedy_7.01/api/include -D_REENTRANT > > > > > -D_GNU_SOURCE -fno-strict-aliasing -pipe > -Wdeclaration-after-statement > > > > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > > > > -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > > > > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 > > > > > -mtune=generic -DVERSION=\"1.91\" -DXS_VERSION=\"1.91\" -fPIC > > > > > "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -g > > > > > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 > -malign-double > > > > > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 > > > ARS.c > > > > > > > > > > ARS.c:1: error: -malign-double makes no sense in the 64bit mode > > > > > > > > > > make: *** [ARS.o] Error 1 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I致e tried the two solutions below which were in response to a post > by > > > > > Chris Ford on 5/15/08. Neither worked. > > > > > > > > > > > > > > > > > > > > Solution 1: > > > > > > > > > > You can run both 32-bit and 64-bit programs on 64-bit linux. > Compile > > > > > arsperl 32-bit by setting the CPPFLAGS to include -m32: > > > > > > > > > > $ export CPPFLAGS="${CPPFLAGS} -m32" > > > > > > > > > > Axton Grams > > > > > > > > > > Solution 2: > > > > > On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rcopeland10@ya. > ..> > > > wrote: > > > > >> Chris, > > > > >> > > > > >> In the Makefile you could remove references to "-malign-double" > which > > > > > seems to be causing your problem. That may fix that problem but the > > > fact > > > > > you're compiling on a 64 bit system might cause other issues. Last > I > > > > > heard the Remedy libraries are only available as 32 bit libraries. > I > > > > > never had luck compiling ARSPerl on a 64 bit system. But perhaps > that's > > > > > changed. > > > > >> > > > > >> Rusty > > > > >> > > > > > > > > > > > > > > > > > > > > Has anyone successfully compiled ARSPerl 1.91on a 64 bit system? > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > --Wayne > > > > > -- > > -Geoff Endresen > > Amazon.com > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Rusty C. <rco...@ya...> - 2008-05-15 23:33:24
|
Chris, In the Makefile you could remove references to "-malign-double" which seems to be causing your problem. That may fix that problem but the fact you're compiling on a 64 bit system might cause other issues. Last I heard the Remedy libraries are only available as 32 bit libraries. I never had luck compiling ARSPerl on a 64 bit system. But perhaps that's changed. Rusty --- On Thu, 5/15/08, Chris Ford <cr...@gm...> wrote: > From: Chris Ford <cr...@gm...> > Subject: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit > To: ars...@ar... > Date: Thursday, May 15, 2008, 3:57 PM > Hello. I am trying to compile AREPerl-1.91 on Red Hat > Enterprise Linux AS > release 4 update 3, 64bit. The building of the Makefile > completes > successfully, but when I run the make, it bombs pretty > quick. Searching the > mail archives, Googling the error and asking people that > know more about > programming than me proved unsuccessful. The error is > below and I will be > forever grateful for any help with this. > > chford:/home/chford/ARSperl-1.91> perl Makefile.PL > Building against perl 5.008005 > Generating support.h file.. > Processing AR_STRUCT_ITEM codes.. > Processing AR_SERVER_STAT codes.. > Processing AR_SCHEMA codes.. > Processing AR_COM_PARM codes.. > Processing AR_COM_METHOD codes.. > Processing AR_DDE codes.. > Processing AR_ACTIVE_LINK_ACTION codes.. > Processing AR_ACTIVE_LINK_ACTION_OPEN codes.. > Processing AR_CHAR_MENU_DD type codes.. > Processing AR_CHAR_MENU_DD name codes.. > Processing AR_CHAR_MENU_DD value format.. > Processing AR_CHAR_MENU codes.. > Processing AR_FILTER_ACTION codes.. > Processing AR_MENU_REFRESH codes.. > Processing AR_PERMISSIONS (Schema) codes.. > Processing AR_PERMISSIONS (Field) codes.. > Processing AR_DATA_TYPE codes.. > Processing AR_BYTE_LIST codes.. > Processing AR_NO_MATCH codes.. > Processing AR_MULTI_MATCH codes.. > Processing AR_RETURN codes.. > Processing AR_FUNCTION codes.. > Processing ARCON codes.. > Processing ARCONOWNER codes.. > Processing ARREF codes.. > Processing AR_KEYWORD codes.. > Processing AR_SERVER_INFO codes.. > > Generating serverTypeInfoHints.h .. > Converting C header files to perl modules .. > Configuring with options: > ARSVERSION = 7.10 > ARSAPI = /home/chford/api > AUTODEFINES = -g -Wno-unused-variable > -Wuninitialized -DARS32 > -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=8 > -DPERL_SUBVERSION_IS=5 > -DPERL_BASEREV_IS=50 > Writing Makefile for ARS > === ARSperl 'make test' configuration. === > > Please enter the following information. This information > will be > recorded in ./t/config.cache > > If you want to skip the 'make test' step, just hit > ENTER > three times. You can configure it later by either > re-running > 'perl Makefile.PL' or by editting ./t/config.cache > > Fair warning: you probably don't want to run 'make > test' against a > production ARSystem server. > > Server Name []: > Admin Username []: > Admin Password []: > > Type 'make' (windows: 'nmake') to build > ARSperl. > Type 'make test' to test ARSperl before installing. > Type 'make install' to install ARSperl. > > chford:/home/chford/ARSperl-1.91> make > Skip blib/lib/ARSarerrno-h.pm (unchanged) > Skip blib/lib/ARSnparm.pm (unchanged) > Skip blib/lib/artypes.ph (unchanged) > Skip blib/lib/_h2ph_pre.ph (unchanged) > Skip blib/lib/ARSar-h.pm (unchanged) > Skip blib/lib/ARSnterrno-h.pm (unchanged) > Skip blib/lib/ARSnt-h.pm (unchanged) > Skip blib/lib/ARSOOsup.pm (unchanged) > Skip blib/lib/ARSOOmsgs.pm (unchanged) > Skip blib/lib/ARSOOform.pm (unchanged) > Skip blib/lib/ARS.pm (unchanged) > gcc -c -I/home/chford/api/include -D_REENTRANT > -D_GNU_SOURCE -DDEBUGGING > -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe > -m64 > -DVERSION=\"1.91\" > -DXS_VERSION=\"1.91\" -fPIC > "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" > -g > -Wno-unused-variable -Wuninitialized -DARS32 -DARS452 > -malign-double > -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5 > -DPERL_BASEREV_IS=50 ARS.c > ARS.c:1: error: -malign-double makes no sense in the 64bit > mode > make: *** [ARS.o] Error 1 > chford:/home/chford/ARSperl-1.91>------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Axton <axt...@gm...> - 2008-05-16 14:43:08
|
You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
arsperl 32-bit by setting the CPPFLAGS to include -m32:
$ export CPPFLAGS="${CPPFLAGS} -m32"
Axton Grams
On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rco...@ya...> wrote:
> Chris,
>
> In the Makefile you could remove references to "-malign-double" which seems to be causing your problem. That may fix that problem but the fact you're compiling on a 64 bit system might cause other issues. Last I heard the Remedy libraries are only available as 32 bit libraries. I never had luck compiling ARSPerl on a 64 bit system. But perhaps that's changed.
>
> Rusty
>
> --- On Thu, 5/15/08, Chris Ford <cr...@gm...> wrote:
>
>> From: Chris Ford <cr...@gm...>
>> Subject: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit
>> To: ars...@ar...
>> Date: Thursday, May 15, 2008, 3:57 PM
>> Hello. I am trying to compile AREPerl-1.91 on Red Hat
>> Enterprise Linux AS
>> release 4 update 3, 64bit. The building of the Makefile
>> completes
>> successfully, but when I run the make, it bombs pretty
>> quick. Searching the
>> mail archives, Googling the error and asking people that
>> know more about
>> programming than me proved unsuccessful. The error is
>> below and I will be
>> forever grateful for any help with this.
>>
>> chford:/home/chford/ARSperl-1.91> perl Makefile.PL
>> Building against perl 5.008005
>> Generating support.h file..
>> Processing AR_STRUCT_ITEM codes..
>> Processing AR_SERVER_STAT codes..
>> Processing AR_SCHEMA codes..
>> Processing AR_COM_PARM codes..
>> Processing AR_COM_METHOD codes..
>> Processing AR_DDE codes..
>> Processing AR_ACTIVE_LINK_ACTION codes..
>> Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
>> Processing AR_CHAR_MENU_DD type codes..
>> Processing AR_CHAR_MENU_DD name codes..
>> Processing AR_CHAR_MENU_DD value format..
>> Processing AR_CHAR_MENU codes..
>> Processing AR_FILTER_ACTION codes..
>> Processing AR_MENU_REFRESH codes..
>> Processing AR_PERMISSIONS (Schema) codes..
>> Processing AR_PERMISSIONS (Field) codes..
>> Processing AR_DATA_TYPE codes..
>> Processing AR_BYTE_LIST codes..
>> Processing AR_NO_MATCH codes..
>> Processing AR_MULTI_MATCH codes..
>> Processing AR_RETURN codes..
>> Processing AR_FUNCTION codes..
>> Processing ARCON codes..
>> Processing ARCONOWNER codes..
>> Processing ARREF codes..
>> Processing AR_KEYWORD codes..
>> Processing AR_SERVER_INFO codes..
>>
>> Generating serverTypeInfoHints.h ..
>> Converting C header files to perl modules ..
>> Configuring with options:
>> ARSVERSION = 7.10
>> ARSAPI = /home/chford/api
>> AUTODEFINES = -g -Wno-unused-variable
>> -Wuninitialized -DARS32
>> -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=8
>> -DPERL_SUBVERSION_IS=5
>> -DPERL_BASEREV_IS=50
>> Writing Makefile for ARS
>> === ARSperl 'make test' configuration. ===
>>
>> Please enter the following information. This information
>> will be
>> recorded in ./t/config.cache
>>
>> If you want to skip the 'make test' step, just hit
>> ENTER
>> three times. You can configure it later by either
>> re-running
>> 'perl Makefile.PL' or by editting ./t/config.cache
>>
>> Fair warning: you probably don't want to run 'make
>> test' against a
>> production ARSystem server.
>>
>> Server Name []:
>> Admin Username []:
>> Admin Password []:
>>
>> Type 'make' (windows: 'nmake') to build
>> ARSperl.
>> Type 'make test' to test ARSperl before installing.
>> Type 'make install' to install ARSperl.
>>
>> chford:/home/chford/ARSperl-1.91> make
>> Skip blib/lib/ARSarerrno-h.pm (unchanged)
>> Skip blib/lib/ARSnparm.pm (unchanged)
>> Skip blib/lib/artypes.ph (unchanged)
>> Skip blib/lib/_h2ph_pre.ph (unchanged)
>> Skip blib/lib/ARSar-h.pm (unchanged)
>> Skip blib/lib/ARSnterrno-h.pm (unchanged)
>> Skip blib/lib/ARSnt-h.pm (unchanged)
>> Skip blib/lib/ARSOOsup.pm (unchanged)
>> Skip blib/lib/ARSOOmsgs.pm (unchanged)
>> Skip blib/lib/ARSOOform.pm (unchanged)
>> Skip blib/lib/ARS.pm (unchanged)
>> gcc -c -I/home/chford/api/include -D_REENTRANT
>> -D_GNU_SOURCE -DDEBUGGING
>> -fno-strict-aliasing -pipe -I/usr/local/include
>> -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe
>> -m64
>> -DVERSION=\"1.91\"
>> -DXS_VERSION=\"1.91\" -fPIC
>> "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"
>> -g
>> -Wno-unused-variable -Wuninitialized -DARS32 -DARS452
>> -malign-double
>> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5
>> -DPERL_BASEREV_IS=50 ARS.c
>> ARS.c:1: error: -malign-double makes no sense in the 64bit
>> mode
>> make: *** [ARS.o] Error 1
>> chford:/home/chford/ARSperl-1.91>-------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
>> Arsperl-users mailing list
>> Ars...@ar...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|
|
From: Thilo S. <thi...@ap...> - 2008-05-16 15:00:15
|
I suspect that this would work only if the Perl interpreter was also
compiled as a 32-bit program.
Thilo
Axton wrote:
> You can run both 32-bit and 64-bit programs on 64-bit linux. Compile
> arsperl 32-bit by setting the CPPFLAGS to include -m32:
>
> $ export CPPFLAGS="${CPPFLAGS} -m32"
>
> Axton Grams
>
> On Thu, May 15, 2008 at 7:33 PM, Rusty Copeland <rco...@ya...> wrote:
>> Chris,
>>
>> In the Makefile you could remove references to "-malign-double" which seems to be causing your problem. That may fix that problem but the fact you're compiling on a 64 bit system might cause other issues. Last I heard the Remedy libraries are only available as 32 bit libraries. I never had luck compiling ARSPerl on a 64 bit system. But perhaps that's changed.
>>
>> Rusty
>>
>> --- On Thu, 5/15/08, Chris Ford <cr...@gm...> wrote:
>>
>>> From: Chris Ford <cr...@gm...>
>>> Subject: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit
>>> To: ars...@ar...
>>> Date: Thursday, May 15, 2008, 3:57 PM
>>> Hello. I am trying to compile AREPerl-1.91 on Red Hat
>>> Enterprise Linux AS
>>> release 4 update 3, 64bit. The building of the Makefile
>>> completes
>>> successfully, but when I run the make, it bombs pretty
>>> quick. Searching the
>>> mail archives, Googling the error and asking people that
>>> know more about
>>> programming than me proved unsuccessful. The error is
>>> below and I will be
>>> forever grateful for any help with this.
>>>
>>> chford:/home/chford/ARSperl-1.91> perl Makefile.PL
>>> Building against perl 5.008005
>>> Generating support.h file..
>>> Processing AR_STRUCT_ITEM codes..
>>> Processing AR_SERVER_STAT codes..
>>> Processing AR_SCHEMA codes..
>>> Processing AR_COM_PARM codes..
>>> Processing AR_COM_METHOD codes..
>>> Processing AR_DDE codes..
>>> Processing AR_ACTIVE_LINK_ACTION codes..
>>> Processing AR_ACTIVE_LINK_ACTION_OPEN codes..
>>> Processing AR_CHAR_MENU_DD type codes..
>>> Processing AR_CHAR_MENU_DD name codes..
>>> Processing AR_CHAR_MENU_DD value format..
>>> Processing AR_CHAR_MENU codes..
>>> Processing AR_FILTER_ACTION codes..
>>> Processing AR_MENU_REFRESH codes..
>>> Processing AR_PERMISSIONS (Schema) codes..
>>> Processing AR_PERMISSIONS (Field) codes..
>>> Processing AR_DATA_TYPE codes..
>>> Processing AR_BYTE_LIST codes..
>>> Processing AR_NO_MATCH codes..
>>> Processing AR_MULTI_MATCH codes..
>>> Processing AR_RETURN codes..
>>> Processing AR_FUNCTION codes..
>>> Processing ARCON codes..
>>> Processing ARCONOWNER codes..
>>> Processing ARREF codes..
>>> Processing AR_KEYWORD codes..
>>> Processing AR_SERVER_INFO codes..
>>>
>>> Generating serverTypeInfoHints.h ..
>>> Converting C header files to perl modules ..
>>> Configuring with options:
>>> ARSVERSION = 7.10
>>> ARSAPI = /home/chford/api
>>> AUTODEFINES = -g -Wno-unused-variable
>>> -Wuninitialized -DARS32
>>> -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=8
>>> -DPERL_SUBVERSION_IS=5
>>> -DPERL_BASEREV_IS=50
>>> Writing Makefile for ARS
>>> === ARSperl 'make test' configuration. ===
>>>
>>> Please enter the following information. This information
>>> will be
>>> recorded in ./t/config.cache
>>>
>>> If you want to skip the 'make test' step, just hit
>>> ENTER
>>> three times. You can configure it later by either
>>> re-running
>>> 'perl Makefile.PL' or by editting ./t/config.cache
>>>
>>> Fair warning: you probably don't want to run 'make
>>> test' against a
>>> production ARSystem server.
>>>
>>> Server Name []:
>>> Admin Username []:
>>> Admin Password []:
>>>
>>> Type 'make' (windows: 'nmake') to build
>>> ARSperl.
>>> Type 'make test' to test ARSperl before installing.
>>> Type 'make install' to install ARSperl.
>>>
>>> chford:/home/chford/ARSperl-1.91> make
>>> Skip blib/lib/ARSarerrno-h.pm (unchanged)
>>> Skip blib/lib/ARSnparm.pm (unchanged)
>>> Skip blib/lib/artypes.ph (unchanged)
>>> Skip blib/lib/_h2ph_pre.ph (unchanged)
>>> Skip blib/lib/ARSar-h.pm (unchanged)
>>> Skip blib/lib/ARSnterrno-h.pm (unchanged)
>>> Skip blib/lib/ARSnt-h.pm (unchanged)
>>> Skip blib/lib/ARSOOsup.pm (unchanged)
>>> Skip blib/lib/ARSOOmsgs.pm (unchanged)
>>> Skip blib/lib/ARSOOform.pm (unchanged)
>>> Skip blib/lib/ARS.pm (unchanged)
>>> gcc -c -I/home/chford/api/include -D_REENTRANT
>>> -D_GNU_SOURCE -DDEBUGGING
>>> -fno-strict-aliasing -pipe -I/usr/local/include
>>> -D_LARGEFILE_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe
>>> -m64
>>> -DVERSION=\"1.91\"
>>> -DXS_VERSION=\"1.91\" -fPIC
>>> "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE"
>>> -g
>>> -Wno-unused-variable -Wuninitialized -DARS32 -DARS452
>>> -malign-double
>>> -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=5
>>> -DPERL_BASEREV_IS=50 ARS.c
>>> ARS.c:1: error: -malign-double makes no sense in the 64bit
>>> mode
>>> make: *** [ARS.o] Error 1
>>> chford:/home/chford/ARSperl-1.91>-------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
>>> Arsperl-users mailing list
>>> Ars...@ar...
>>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Arsperl-users mailing list
>> Ars...@ar...
>> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|