Re: [Arsperl-users] make failing
Brought to you by:
jeffmurphy
|
From: Siobhan G. <sho...@gm...> - 2006-07-27 22:54:45
|
George, Thank you, One of the guys here had seen this before and told me to go ahead with the install even though test failed. I went back and redid the ./mkheaders and this time when running the tests ignore dthe failures and attempted the install, which worked, a test worked. Thank you for the reply, the big piece for the alias to have now is Ignore the errors. The make always would work, but the test is where I was getting failures and therefore I was hesitate to run install. Regards, Siobhan On 7/26/06, George Barsan <gb...@gm...> wrote: > > Hello, > > I compiled ARSPerl 1.85 yesterday on Solaris 10 with gcc v3.3.2, perl > 5.6.1 (that's the one installed by our sysadmins) and GNU Make 3.80 > using ARS 5.1.2 API. I documented each step: > > 1. Ensure that all needed packages and tools are installed (perl, > gcc, make - refer to Sun Packaging) > 2. Download ARSPerl source and extract it i.e. to ~/arsperl/ARSperl-1.85 > 3. Copy ARS api & libs directories (usually found in $ARS/api) i.e. > to ~/arsperl/api_5.1.2 > 4. 'cd ~/arsperl/ARSperl-1.85' > 5. Open Makefile.PL and change the $ARSAPI variable to point to the > right API, i.e. $ARSAPI = "/home/remedy/arsperl/api_5.1.2"; Please > note that the full path has to be used here (~/arsperl/api_5.1.2 won't > work) > 6. Generate the Makefile by running: 'perl Makefile.PL' - feel free > to enter ARS server details although it's not needed. > 7. Open the newly generated Makefile and change the following lines: > 1. CC = cc => CC = gcc > 2. LD = cc => LD = gcc > 3. LD = cc => LD = gcc > 4. CCCDLFLAGS = -KPIC => CCCDLFLAGS = -fPIC > 5. OPTIMIZE = -xO3 -xdepend => OPTIMIZE = -O3 -funroll-loops > 8. Run 'make' and ignore the warnings > 9. Optional: run 'make test' and provide necessary credentials for > the ARS test system. This also performs ARSPerl internal tests. > 10. Switch to root and go to the ARSPerl directory (i.e. > /home/remedy/arsperl/ARSperl-1.85) > 11. Run 'make install' => done > > If this doesn't help, you could check/change the make version, switch > to a different ARS API or downgrade Perl. > > George > > On 7/25/06, Siobhan Gowen <sho...@gm...> wrote: > > > > I am using solaris 10. Installed gcc-3.3.2-sol10-sparc-local and > > perl-5.8.7-sol10-sparc-local. The PATH is set correct to hit the version > of > > perl I need and to call on gcc before cc. Then the makefile test fails. > I've > > tried ./mkheaders and switching paths for gcc to the sfw, but that just > > wreaks more havoc and I reinstall gcc. > > > > Any thoughts would be greatly appreciated as I've tried everything I can > > think of > > > > make test Makefile > > gcc -B/usr/ccs/bin/ -c -I/opt/ar/api/include -fno-strict-aliasing > -pipe > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O > > -DVERSION=\"1.84\" -DXS_VERSION=\" 1.84\" -fPIC > > "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -g > > -DARS32 -DARS452 -DPERL_PATCHLEVEL_IS=8 -DPERL_SUBVERSION_IS=7 > > -DPERL_BASEREV_IS=50 ARS.c > > In file included from /usr/include/sys/signal.h:34, > > from /usr/include/signal.h:26, > > from > > /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106, > > from > > /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220, > > from support.h:70, > > from ARS.xs:26: > > /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" > > /usr/include/sys/siginfo.h:292: error: parse error before '}' token > > /usr/include/sys/siginfo.h:294: error: parse error before '}' token > > /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" > > /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' > > /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' > > /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' > > /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' > > /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' > > /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' > > /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' > > /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' > > /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' > > /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' > > /usr/include/sys/siginfo.h:426: error: parse error before '}' token > > /usr/include/sys/siginfo.h:428: error: parse error before '}' token > > /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" > > /usr/include/sys/siginfo.h:437: error: parse error before '}' token > > In file included from /usr/include/signal.h:26, > > from > > /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106, > > from > > /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220, > > from support.h:70, > > from ARS.xs:26: > > /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" > > In file included from > > /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/unixish.h:106, > > from > > /usr/local/lib/perl5/5.8.7/sun4-solaris/CORE/perl.h:2220, > > from support.h:70, > > from ARS.xs:26: > > /usr/include/signal.h:111: error: parse error before "siginfo_t" > > /usr/include/signal.h:113: error: parse error before "siginfo_t" > > *** Error code 1 > > make: Fatal error: Command failed for target `ARS.o' > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Arsperl-users mailing list > > Ars...@ar... > > https://lists.sourceforge.net/lists/listinfo/arsperl-users > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |