Hi Jeff, On 5/24/06, Jeff King <peff@xxxxxxxx> wrote:
On Wed, May 24, 2006 at 10:03:44PM +0930, Geoff Russell wrote: > ":errno_h" is not exported by the POSIX module > Can't continue after import errors at > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/POSIX.pm line 19 > BEGIN failed--compilation aborted at ./git-cvsimport line 26. Hmm. It looks like something is nonstandard in your setup. I just compiled 5.8.0 from source and the :errno_h tag works fine. What is your platform? Can you try the following and let me know which work:
I compiled perl from source on Mandrake 9.1.
$ perl -e 'use POSIX qw(:errno_h)' $ perl -e 'use POSIX qw(errno_h)' $ perl -e 'use Errno'
All 3 work. But if I add a second tag before the ':errno_h", then I get an error. The "use" line that makes git-cvsimport compile for me is: use POSIX qw(strftime dup2 ENOENT); Which just imports the required symbol and not the full tag list. Cheers, Geoff.
-Peff - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html