Hi all, I'm trying to install ARSperl on Solaris 9 against ARS 6.03, patch 21.
SunOS xxxxx.wanadoo.nl 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V210 I noticed in the Makefile.PL that you can choose a ARSVERSION. When you pick a version <6.3 the artypes.ph is not copied to the INST_LIBDIR. However, the file ARSar-h.pm still has the following line (line 5): require 'artypes.ph'; /home/wesleys/ARSperl-1.90/example$ ./connect.pl Can't locate artypes.ph in @INC (did you run h2ph?) (@INC contains: /opt/EURONET/perl5.8.5/lib/5.8.5/sun4-solaris-thread-multi /opt/EURONET/perl5.8.5/lib/5.8.5 /opt/EURONET/perl5.8.5/lib/site_perl/5.8.5/sun4-solaris-thread-multi /opt/EURONET/perl5.8.5/lib/site_perl/5.8.5 /opt/EURONET/perl5.8.5/lib/site_perl /opt/IMS/lib .) at /opt/EURONET/perl5.8.5/lib/site_perl/5.8.5/sun4-solaris-thread-multi/ARSar-h.pm line 5. Compilation failed in require at /opt/EURONET/perl5.8.5/lib/site_perl/5.8.5/sun4-solaris-thread-multi/ARS.pm line 67. Compilation failed in require at ./connect.pl line 3. BEGIN failed--compilation aborted at ./connect.pl line 3. However, when you run the code from the src location it will run the same code: /home/wesleys/ARSperl-1.90$ /opt/perl example/connect.pl $VAR1 = bless( do{\(my $o = 4626376)}, 'ARControlStructPtr' ); The reason is that artypes.ph is present in /home/wesleys/ARSperl-1.90. Perhaps the artypes.ph can be installed when you select a version <6.3? connect.pl is a small script to check wheter you can connect to the ARS server: use ARS; use Data::Dumper; my ($server, $account, $password, $port) = ("localhost", "User", "Pass", 123456); $c = ars_Login($server, $account, $password, undef, undef, $port, undef); print Dumper $c; When I change the ARSVERSION to 6.3 everything works fine. Cheers, Wesley ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Arsperl-users mailing list Arsperl-users@arsperl.org https://lists.sourceforge.net/lists/listinfo/arsperl-users