Обсуждение: PgSQL (postgres & perl) under linux w- perl 5.003

Поиск
Список
Период
Сортировка

PgSQL (postgres & perl) under linux w- perl 5.003

От
Kingsley Turner
Дата:
Hi,

I'm running Perl 5.003:
[root@boronia]$ perl -v

This is perl, version 5.005_03 built for i386-linux

I tried to use Göran's PgSQL perl module, but during
'make test', I recieved the error:

[root@boronia]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 test.pl
Using /root/PgSQL-0.51/blib
1..32
Can't locate IO/Socket/UNIX.pm in @INC (@INC contains:
/root/PgSQL-0.51/blib/arch /root/PgSQL-0.51/blib/lib blib/arch blib/lib
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503 /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at
/root/PgSQL-0.51/blib/lib/PgSQL.pm line 15.
BEGIN failed--compilation aborted at /root/PgSQL-0.51/blib/lib/PgSQL.pm line
15.
BEGIN failed--compilation aborted at test.pl line 23.
not ok 1
make: *** [test_dynamic] Error 2

It would seem I'm missing 'IO/Socket/UNIX.pm'.
But I don't have a file called 'UNIX.pm' anywhere on my system.
(or unix.pm for that matter), despite having a standard complete
Perl5 installation.

any ideas,

-kt

-- 
Kingsley Turner, 
IT Mercenary 
Praxa x399 or mobile 0419621568 

"Programming is really just the mundane aspect of expressing a solution 
to a problem.  There are talents that are specifically related to actually 
coding, but the real issue is being able to grasp problems and devise 
solutions that are detailed enough to actually be coded."                                                   - John
Carmack