> > > And anyway it's been fixed by the new Module::ScanDeps, the > > > extension is not a problem. :-) > > > > Yes indeed. Works great now, without any -M option! > > Hurray!
Oops ... my bad. I think it did change something as the compiled file runs ok on the box it was compiled on and on any box that has the same file in the perl dir (e.g. /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/asm/termios.ph ), but if I got to a box with a different perl path, or simply temporarily rename /usr/local/lib/perl5, then it fails to find any termios.ph. I also grep for TERMIOS in all the /tmp files and don't see it there. If I add -M asm/termios.ph, then that file gets created as a /tmp/123456789.pm file (I can grep to find which one), but it is still not found (maybe because it is .pm, not .ph?). Sorry for the premature celebration. You can use this to try it: pp -e 'use Device::SerialPort' ./a.out Should run without errors, but if you rename /usr/local/lib/perl5 (or equivalent, as shown by perl -V), then run again, you will get this error: Device::Serial could not find ioctl definitions! because the eval 'require asm/termios.ph' failed. Bruce
