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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: >> >>> From: Chris Ford <[EMAIL PROTECTED]> >>> Subject: [Arsperl-users] Compiling ARSPerl-1.91 on RHEL 64bit >>> To: arsperl-users@arsperl.org >>> 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 >>> Arsperl-users@arsperl.org >>> 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 >> Arsperl-users@arsperl.org >> 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 > Arsperl-users@arsperl.org > 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 Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users