Re: [Arsperl-users] Problem compiling ARSperl 1.90 on linux RHEL5 with ARS 7.0
Brought to you by:
jeffmurphy
|
From: Geoffrey E. <geo...@gm...> - 2008-05-02 16:08:21
|
I had already downloaded the APIs from arswiki and I changed the Makefile.PL Yea! The warnings came up but it did compile this time. Thanks, -Geoff On Fri, May 2, 2008 at 1:49 AM, Thilo Stapff <thi...@ap...> wrote: > There's an error in line 114 of Makefile.PL: > > $ARS_LIBS .= " -lpthread -licuuc -licui18n"; > > which should be changed to > > $ARS_LIBS .= " -lpthread -licuucbmc -licui18nbmc"; > > > Additionally, as Jeff already wrote, the unicode libraries might be > missing on your system. > > > Regards, > Thilo Stapff > > > Geoffrey Endresen wrote: > > > > I've seen some recommendations, but for solving this issue. Any help > > would be appreciated. > > > > -------| remedy-dev-4715: ~/ARSperl-1.90 |--------- > > > > % perl Makefile.PL > > > > Building against perl 5.008008 > > > > 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.00 > > > > ARSAPI = api70 > > > > AUTODEFINES = -g -Wno-unused-variable -Wuninitialized > > -DARS32 -DARS452 -malign-double -DPERL_PATCHLEVEL_IS=8 > > -DPERL_SUBVERSION_IS=8 -DPERL_BASEREV_IS=50 > > > > Checking if your kit is complete... > > > > Looks good > > > > Warning: -Lapi70/lib changed to > > -L/local/home/endresen/ARSperl-1.90/api70/lib > > > > 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 []: remedy-dev-4715.sea5 > > > > Admin Username []: endresen > > > > Admin Password []: password > > > > > > > > Type 'make' (windows: 'nmake') to build ARSperl. > > > > Type 'make test' to test ARSperl before installing. > > > > Type 'make install' to install ARSperl. > > > > > > > > -------| remedy-dev-4715: ~/ARSperl-1.90 |--------- > > > > % make > > > > cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm > > > > cp ARSnparm.pm blib/lib/ARSnparm.pm > > > > cp artypes.ph <http://artypes.ph> blib/lib/artypes.ph <http://artypes.ph > > > > > > cp _h2ph_pre.ph <http://h2ph_pre.ph> blib/lib/_h2ph_pre.ph > > <http://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 -Iapi70/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 -m32 -march=i386 -mtune=generic > > -fasynchronous-unwind-tables -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" > > -fPIC "-I/usr/lib/perl5/5.8.8/i386-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: In function āXS_ARS_ars_CreateFieldā: > > > > ARS.xs:4179: warning: ācreateModeā may be used uninitialized in this > > function > > > > ARS.xs: In function āXS_ARS_ars_SetVUIā: > > > > ARS.xs:5039: warning: call to __builtin___memset_chk will always > > overflow destination buffer > > > > gcc -c -Iapi70/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 -m32 -march=i386 -mtune=generic > > -fasynchronous-unwind-tables -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" > > -fPIC "-I/usr/lib/perl5/5.8.8/i386-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 > > support.c > > > > support.c: In function āperl_ARFieldValueOrArithStructā: > > > > support.c:3338: warning: pointer targets in passing argument 2 of > > āperl_dataType_namesā differ in signedness > > > > support.c: In function āsv_to_ARValueā: > > > > support.c:3880: warning: operation on ā__lenā may be undefined > > > > support.c:3902: warning: operation on ā__lenā may be undefined > > > > support.c: In function āperl_ARCharMenuStructā: > > > > support.c:4495: warning: āretā may be used uninitialized in this > function > > > > support.c: In function āperl_ARBulkEntryReturnā: > > > > support.c:4248: warning: āretā may be used uninitialized in this > function > > > > gcc -c -Iapi70/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 -m32 -march=i386 -mtune=generic > > -fasynchronous-unwind-tables -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" > > -fPIC "-I/usr/lib/perl5/5.8.8/i386-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 > > supportrev.c > > > > supportrev.c: In function ārev_ARValueStructā: > > > > supportrev.c:1235: warning: pointer targets in passing argument 3 of > > āPerl_sv_2pv_flagsā differ in signedness > > > > supportrev.c: In function ārev_ARByteListā: > > > > supportrev.c:1482: warning: format ā%dā expects type āintā, but argument > > 3 has type ālong unsigned intā > > > > supportrev.c: In function ārev_ARPermissionListā: > > > > supportrev.c:2738: warning: suggest parentheses around assignment used > > as truth value > > > > supportrev.c:2739: warning: null argument where non-null required > > (argument 1) > > > > supportrev.c: At top level: > > > > supportrev.c:542: warning: ārev_ARDisplayStruct_helperā defined but not > used > > > > gcc -c -Iapi70/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 -m32 -march=i386 -mtune=generic > > -fasynchronous-unwind-tables -DVERSION=\"1.90\" -DXS_VERSION=\"1.90\" > > -fPIC "-I/usr/lib/perl5/5.8.8/i386-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 > > supportrev_generated.c > > > > supportrev_generated.c: In function ārev_ARCharMenuQueryStructā: > > > > supportrev_generated.c:2791: warning: passing argument 2 of > > ācopyUIntArrayā from incompatible pointer type > > > > Running Mkbootstrap for ARS () > > > > chmod 644 ARS.bs > > > > rm -f blib/arch/auto/ARS/ARS.so > > > > gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 > > -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib ARS.o > > support.o supportrev.o supportrev_generated.o api70/lib/libar.a -o > > blib/arch/auto/ARS/ARS.so \ > > > > -L/local/home/endresen/ARSperl-1.90/api70/lib -lpthread > > -licuuc -licui18n \ > > > > > > > > /usr/bin/ld: cannot find -licuuc > > > > collect2: ld returned 1 exit status > > > > make: *** [blib/arch/auto/ARS/ARS.so] Error 1 > > > > > > > > -- > > -Geoff Endresen > > Amazon.com > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Arsperl-users mailing list > > Ars...@ar... > > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > -- -Geoff Endresen Amazon.com |