On Jan 16, 2004, at 11:08 AM, Luca Ognibene wrote:
Don't know if this is the correct list.. tell me if i'm wrong! I'm doing perl bindings for a c library (gai). I've used swig with some typemaps.. It works in mine pc, but when i've sended my works to gai's author.. : perl Makefile.PL works fine, make works fine, make install works fine!
This would be a great time to start building out the "t/" test directory of test code so that you can do
make test
and see what explodes as the code moves around.
[..]
but when he try to launch a simple example : ./hello-world.pl Use of inherited AUTOLOAD for non-method gai::gai_init() is deprecated at ./hello-world.pl line 9. Can't locate auto/gai/gai_init.al in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at ./hello-world.pl line 9
mmm what is this? if you want i can send Makefile.PM and gai.pm
There are clearly two or more problems here:
a. the 'inherited autoload' problem - where something in your gai.pm has been set to 'autoload' the code gai::gai_init() that it thinks it is suppose to be finding by inheritence rather than from bootstrap????
b. Hence you should have set that up for use DynaLoader vice use AutoLoader?
Is there a difference between the version of perl you are using on your PC and the 5.8 version on the linux box???
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>