I have realized my mistake.  I was trying to compile with 6.3 api's uasing 
version 1.81.  I was supposed to be using 1.85.  When I went to the correct 
directory/version, I had no problems at all!

Thanks for your reply.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 02, 2006 10:52 AM
To: arsperl-users@arsperl.org
Subject: Re: [Arsperl-users] Compile issues with arsperl (Sun Sparc, Sol
10,perl 5.8.7, ARS 6.3)


It kind of looks like the header files haven't been included.

Have you specified the path to the ARS api directory correctly in the
Makefile.PL?

I've noticed in 6.3 that on intsall ARS puts the name of the server as
part of 
the directory name so just uncommenting the line for your version in
Makefile.PL 
may not work.


Clayton

> -----Original Message-----
> Subject: [Arsperl-users] Compile issues with arsperl (Sun 
> Sparc, Sol 10,perl 5.8.7, ARS 6.3)
> 
> Hello all, I have been trying to install the arsperl into the 
> perl (came from binary package from SunFreeWare.com).
> 
> I am on a Sun Sparc with Solaris 10
> Perl 5.8.7
> ARSPerl 1.8.1
> ARS 6.3 with APIs for 6.3
> 
> When i run the make, I get the following:  (Does this look 
> familiar to anybody?)
> 
> 
> ############# Begin Paste:
> 
> cp ARSarerrno-h.pm blib/lib/ARSarerrno-h.pm
> cp ARSnparm.pm blib/lib/ARSnparm.pm
> 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 
> /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap 
> /usr/local/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap  
> ARS.xs > ARS.xsc && mv ARS.xsc ARS.c
> 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.8002\" -DXS_VERSION=\"1.8002\" -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
> ARS.xs: In function `XS_ARS_ars_Login':
> ARS.xs:247: error: structure has no member named `language'
> ARS.xs:249: error: structure has no member named `language'
> ARS.xs: In function `XS_ARS_ars_GetControlStructFields':
> ARS.xs:373: error: structure has no member named `language'
> ARS.xs: In function `XS_ARS_ars_GetListEntry':
> ARS.xs:919: warning: passing arg 8 of `ARGetListEntry' makes 
> integer from pointer without a cast
> ARS.xs:919: warning: passing arg 10 of `ARGetListEntry' from 
> incompatible pointer type
> ARS.xs:919: error: too few arguments to function `ARGetListEntry'
> ARS.xs: In function `XS_ARS_ars_GetListSchema':
> ARS.xs:1009: warning: passing arg 6 of `ARGetListSchema' from 
> incompatible pointer type
> ARS.xs:1009: warning: passing arg 7 of `ARGetListSchema' from 
> incompatible pointer type
> ARS.xs:1009: error: too few arguments to function `ARGetListSchema'
> ARS.xs: In function `XS_ARS_ars_GetListContainer':
> ARS.xs:1064: warning: passing arg 6 of `ARGetListContainer' 
> from incompatible pointer type
> ARS.xs:1064: warning: passing arg 7 of `ARGetListContainer' 
> from incompatible pointer type
> ARS.xs:1064: error: too few arguments to function `ARGetListContainer'
> ARS.xs: In function `XS_ARS_ars_GetSchema':
> ARS.xs:1713: warning: passing arg 4 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 5 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 6 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 7 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 8 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 9 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 10 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 11 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 12 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 13 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 14 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 15 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: warning: passing arg 16 of `ARGetSchema' from 
> incompatible pointer type
> ARS.xs:1713: error: too few arguments to function `ARGetSchema'
> ARS.xs: In function `XS_ARS_ars_GetListActiveLink':
> ARS.xs:1812: warning: passing arg 4 of `ARGetListActiveLink' 
> from incompatible pointer type
> ARS.xs:1812: warning: passing arg 5 of `ARGetListActiveLink' 
> from incompatible pointer type
> ARS.xs:1812: error: too few arguments to function 
> `ARGetListActiveLink'
> ARS.xs: In function `XS_ARS_ars_Export':
> ARS.xs:2095: warning: passing arg 5 of `ARExport' from 
> incompatible pointer type
> ARS.xs:2095: warning: passing arg 6 of `ARExport' from 
> incompatible pointer type
> ARS.xs:2095: error: too few arguments to function `ARExport'
> ARS.xs: In function `XS_ARS_ars_GetListFilter':
> ARS.xs:2189: warning: passing arg 4 of `ARGetListFilter' from 
> incompatible pointer type
> ARS.xs:2189: warning: passing arg 5 of `ARGetListFilter' from 
> incompatible pointer type
> ARS.xs:2189: error: too few arguments to function `ARGetListFilter'
> ARS.xs: In function `XS_ARS_ars_GetListEscalation':
> ARS.xs:2213: warning: passing arg 4 of `ARGetListEscalation' 
> from incompatible pointer type
> ARS.xs:2213: warning: passing arg 5 of `ARGetListEscalation' 
> from incompatible pointer type
> ARS.xs:2213: error: too few arguments to function 
> `ARGetListEscalation'
> ARS.xs: In function `XS_ARS_ars_GetListCharMenu':
> ARS.xs:2236: warning: passing arg 4 of `ARGetListCharMenu' 
> from incompatible pointer type
> ARS.xs:2236: error: too few arguments to function `ARGetListCharMenu'
> ARS.xs: In function `XS_ARS_ars_DeleteActiveLink':
> ARS.xs:2289: warning: passing arg 3 of `ARDeleteActiveLink' 
> makes integer from pointer without a cast
> ARS.xs:2289: error: too few arguments to function `ARDeleteActiveLink'
> ARS.xs: In function `XS_ARS_ars_DeleteCharMenu':
> ARS.xs:2380: warning: passing arg 3 of `ARDeleteCharMenu' 
> makes integer from pointer without a cast
> ARS.xs:2380: error: too few arguments to function `ARDeleteCharMenu'
> ARS.xs: In function `XS_ARS_ars_DeleteEscalation':
> ARS.xs:2407: warning: passing arg 3 of `ARDeleteEscalation' 
> makes integer from pointer without a cast
> ARS.xs:2407: error: too few arguments to function `ARDeleteEscalation'
> ARS.xs: In function `XS_ARS_ars_DeleteFilter':
> ARS.xs:2463: warning: passing arg 3 of `ARDeleteFilter' makes 
> integer from pointer without a cast
> ARS.xs:2463: error: too few arguments to function `ARDeleteFilter'
> ARS.xs: In function `XS_ARS_ars_GetListEntryWithFields':
> ARS.xs:3809: warning: passing arg 8 of 
> `ARGetListEntryWithFields' makes integer from pointer without a cast
> ARS.xs:3809: warning: passing arg 10 of 
> `ARGetListEntryWithFields' from incompatible pointer type
> ARS.xs:3809: error: too few arguments to function 
> `ARGetListEntryWithFields'
> make: *** [ARS.o] Error 1
> 
> ########## END Paste
> 
> 
> perl -V
> 
> 
> ######### Begin Paste:
> Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
>   Platform:
>     osname=solaris, osvers=2.10, archname=sun4-solaris
>     uname='sunos 5.10 s10_60 sun4u sparc sunw,ultra-5_10 '
>     config_args='-Dcc=gcc -B/usr/ccs/bin/'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef 
> usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing 
> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64',
>     optimize='-O',
>     cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
>     ccversion='', gccversion='2.95.3 20010315 (release)', 
> gccosandvers='solaris2.10'
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define, 
> longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, 
> Off_t='off_t', lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib '
>     libpth=/usr/local/lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -ldl -lm -lc
>     perllibs=-lsocket -lnsl -ldl -lm -lc
>     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl):
>   Compile-time options: USE_LARGE_FILES
>   Built under solaris
>   Compiled at Dec  5 2005 01:53:11
>   @INC:
>     /usr/local/lib/perl5/5.8.7/sun4-solaris
>     /usr/local/lib/perl5/5.8.7
>     /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris
>     /usr/local/lib/perl5/site_perl/5.8.7
>     /usr/local/lib/perl5/site_perl
>     .
> 
> ########### End Paste:
> 
> gcc -v
> 
> ########### Begin Paste:
> 
> Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
> Configured with: 
> /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/confi
gure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as >
--with-ld=/usr/ccs/bin/ld --without-gnu-ld 
> --enable-languages=c,c++ --enable-shared
> Thread model: posix
> gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
> 
> ############# END Paste
> 
> 
> 
> Any assistance would be greatly appreciated.
> 
> Thanks,
> 
> Brent
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> 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?cmd=lnk&kid=120709&bid=263057&;
dat=121642
> _______________________________________________
> Arsperl-users mailing list
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
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?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
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?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to