[24647] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 6811 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Aug 3 13:29:56 2004

Date: Tue, 3 Aug 2004 10:26:01 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Tue, 3 Aug 2004     Volume: 10 Number: 6811

Today's topics:
        Install module into a nonstandard place <luke@program.com.tw>
    Re: Install module into a nonstandard place <gogala@sbcglobal.net>
    Re: Install module into a nonstandard place <luke@program.com.tw>
    Re: Install module into a nonstandard place <gogala@sbcglobal.net>
    Re: Install module into a nonstandard place <perl@my-header.org>
    Re: Install module into a nonstandard place <gogala@sbcglobal.net>
    Re: Install module into a nonstandard place <perl@my-header.org>
        Install perl 5.8.3 and DBI, DBD::Oracle packages in my  (ulloa)
    Re: Install perl 5.8.3 and DBI, DBD::Oracle packages in <gogala@sbcglobal.net>
        Installing XML::Parser 2.3x in Perl5.8 for Win32. (sams)
        IO::Socket resulting in "Bad protocol 'tcp'" on Win2K (Ikke)
    Re: IO::Socket resulting in "Bad protocol 'tcp'" on Win <dug@plusthree.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Fri, 30 Jul 2004 12:58:46 +0800
From: "news.hinet.net" <luke@program.com.tw>
Subject: Install module into a nonstandard place
Message-Id: <ceckjc$259$1@netnews.hinet.net>


OS:Reahat 9  perl 5.8.0 (net::ldap in /usr/local/modftp/perl-ldap-0.3202)


cd /usr/local/modftp/perl-ldap-0.3202
perl Makefile.PL LIB=/usr/local/modftp/perlmod
PREFIX=/usr/local/modftp/perlmod
make
make install

(The module install is success...)

write some code to testing

#!/usr/local/bin/perl
use lib 'usr/local/modftp/perlmod';
use Net::LDAP;

will print error message

"LDAP_SUCCESS" is not exported by the Net::LDAP::Constant module at
/usr/local/modftp/perlmod/Net/LDAP/Message.pm line 7
"LDAP_COMPARE_TRUE" is not exported by the Net::LDAP::Constant module at
/usr/local/modftp/perlmod/Net/LDAP/Message.pm line 7
"LDAP_COMPARE_FALSE" is not exported by the Net::LDAP::Constant module at
/usr/local/modftp/perlmod/Net/LDAP/Message.pm line 7
Can't continue after import errors at
/usr/local/modftp/perlmod/Net/LDAP/Message.pm line 7
BEGIN failed--compilation aborted at
/usr/local/modftp/perlmod/Net/LDAP/Message.pm line 7, <DATA> line 1.
Compilation failed in require at /usr/local/modftp/perlmod/Net/LDAP.pm line
13, <DATA> line 1.
BEGIN failed--compilation aborted at /usr/local/modftp/perlmod/Net/LDAP.pm
line 13, <DATA> line 1.
Compilation failed in require at ldaptest.pl line 6, <DATA> line 1.
BEGIN failed--compilation aborted at ldaptest.pl line 6, <DATA> line 1.

And i use the same config to install other module(POE  DBI  Net::SOAP
IPC::ShareLite.....) is ok.
And i use the same config to install to solaris is ok.





------------------------------

Date: Fri, 30 Jul 2004 01:52:28 -0400
From: Mladen Gogala <gogala@sbcglobal.net>
Subject: Re: Install module into a nonstandard place
Message-Id: <pan.2004.07.30.05.52.27.59695@sbcglobal.net>

On Fri, 30 Jul 2004 12:58:46 +0800, news.hinet.net wrote:

> cd /usr/local/modftp/perl-ldap-0.3202
> perl Makefile.PL LIB=/usr/local/modftp/perlmod
> PREFIX=/usr/local/modftp/perlmod

This should read:

cd /usr/local/modftp/perl-ldap-0.3202
perl Makefile.PL perfix=/usr/local/modftp/perlmod

Then, of course, you should set and export shell variable PERL5LIB 
to point to the directory where the .pm file actually resides.

Sretno, i dobra zabava.

-- 
A city is a large community where people are lonesome together.



------------------------------

Date: Fri, 30 Jul 2004 14:36:37 +0800
From: "news.hinet.net" <luke@program.com.tw>
Subject: Re: Install module into a nonstandard place
Message-Id: <cecqar$lc2$1@netnews.hinet.net>

I try to setenv PERLLIB & PERL5LIB. but it have the same error
message.(net::ldap)
And other module use the same config not to setenv.It still can run.

"Mladen Gogala" <gogala@sbcglobal.net> ¦b¶l¥ó
news:pan.2004.07.30.05.52.27.59695@sbcglobal.net ¤¤¼¶¼g...
> On Fri, 30 Jul 2004 12:58:46 +0800, news.hinet.net wrote:
>
> > cd /usr/local/modftp/perl-ldap-0.3202
> > perl Makefile.PL LIB=/usr/local/modftp/perlmod
> > PREFIX=/usr/local/modftp/perlmod
>
> This should read:
>
> cd /usr/local/modftp/perl-ldap-0.3202
> perl Makefile.PL perfix=/usr/local/modftp/perlmod
>
> Then, of course, you should set and export shell variable PERL5LIB
> to point to the directory where the .pm file actually resides.
>
> Sretno, i dobra zabava.
>
> -- 
> A city is a large community where people are lonesome together.
>




------------------------------

Date: Fri, 30 Jul 2004 03:45:05 -0400
From: Mladen Gogala <gogala@sbcglobal.net>
Subject: Re: Install module into a nonstandard place
Message-Id: <pan.2004.07.30.07.45.02.785085@sbcglobal.net>

On Fri, 30 Jul 2004 14:36:37 +0800, news.hinet.net wrote:

> I try to setenv PERLLIB & PERL5LIB. but it have the same error
> message.(net::ldap)
> And other module use the same config not to setenv.It still can run.
> 
> "Mladen Gogala" <gogala@sbcglobal.net> ¦b¶l¥ó
> news:pan.2004.07.30.05.52.27.59695@sbcglobal.net ¤¤¼¶¼g...
>> On Fri, 30 Jul 2004 12:58:46 +0800, news.hinet.net wrote:
>>
>> > cd /usr/local/modftp/perl-ldap-0.3202
>> > perl Makefile.PL LIB=/usr/local/modftp/perlmod
>> > PREFIX=/usr/local/modftp/perlmod
>>
>> This should read:
>>
>> cd /usr/local/modftp/perl-ldap-0.3202
>> perl Makefile.PL perfix=/usr/local/modftp/perlmod
>>
>> Then, of course, you should set and export shell variable PERL5LIB
>> to point to the directory where the .pm file actually resides.
>>
>> Sretno, i dobra zabava.
>>
>> -- 
>> A city is a large community where people are lonesome together.
>>

OK. I will not install LDAP, because I don't want to download gazillion
other modules from CPAN, but let's try with Net::DNS:
$ mkdir ~/my_mods
$ ls
Changes  demo    lib          MANIFEST  README  TODO
contrib  DNS.xs  Makefile.PL  META.yml  t
$ perl Makefile.PL prefix=$HOME/my_mods
Testing if you have a C compiler and the needed header files....
cc    -c -o compile.o compile.c
You have a working compiler.
 
You appear to be directly connected to the Internet.  I have some tests
that try to query live nameservers.
 
Do you want to enable these tests? [y]
Checking if your kit is complete...
Looks good
Writing Makefile for Net::DNS

Make and make test go more or less as expected, below is the output from
make install:
$ make install
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Net/DNS/DNS.so
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Net/DNS/DNS.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Header.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Update.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Resolver.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Nameserver.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/FAQ.pod
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Question.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Packet.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Resolver/Win32.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Resolver/Cygwin.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Resolver/Recurse.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Resolver/UNIX.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/A.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/Unknown.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/MX.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/EID.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/ISDN.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/NIMLOC.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/SOA.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/OPT.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/TXT.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/DNAME.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/AAAA.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/RP.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/X25.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/PTR.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/NS.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/TSIG.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/PX.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/LOC.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/NULL.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/RT.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/AFSDB.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/SRV.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/MINFO.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/MR.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/CNAME.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/HINFO.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/NAPTR.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/CERT.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/MG.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/TKEY.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/NSAP.pm
Installing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Net/DNS/RR/MB.pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::A.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Resolver::Win32.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::Unknown.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::EID.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::ISDN.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::MX.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Header.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::SOA.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::OPT.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::NIMLOC.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::DNAME.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::TXT.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::AAAA.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::X25.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::RP.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::PTR.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Resolver::Recurse.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Resolver::Cygwin.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::NS.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::TSIG.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Update.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Resolver.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::PX.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Nameserver.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::NULL.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::LOC.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::SRV.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::AFSDB.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::RT.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::MINFO.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::MR.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::FAQ.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::CNAME.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Question.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::NAPTR.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Packet.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::HINFO.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::MG.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::TKEY.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::NSAP.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::CERT.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Resolver::UNIX.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::RR::MB.3pm
Installing /home/mgogala/my_mods/share/man/man3/Net::DNS::Resolver::Base.3pm
Writing /home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Net/DNS/.packlist
Appending installation info to /home/mgogala/my_mods/lib/perl5/5.8.0/i386-linux-thread-multi/perllocal.pod

Without the proper PERL5LIB setting:
$ perl -e 'use Net::DNS;print Net::DNS->version,"\n";'
0.23
$
With the proper PERL5LIB setting:

PERL5LIB=/home/mgogala/my_mods/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi:$PERL5LIB
$ perl -e 'use Net::DNS;print Net::DNS->version,"\n";'
0.47
$

That means that perl is using my newly installed Net::DNS module version
0.47 which is newer then version 0.23 which comes with the system.
Try locating the .pm file for the module you're looking for with find
and then put the coresponding directory in the PERL5LIB.

-- 
A city is a large community where people are lonesome together.



------------------------------

Date: Sat, 31 Jul 2004 21:40:27 +0200
From: Matija Papec <perl@my-header.org>
Subject: Re: Install module into a nonstandard place
Message-Id: <v8tng01vslkcv3au0hjgkrleouvp0m1pde@4ax.com>

X-Ftn-To: Mladen Gogala 

Mladen Gogala <gogala@sbcglobal.net> wrote:
>On Fri, 30 Jul 2004 12:58:46 +0800, news.hinet.net wrote:
>
>> cd /usr/local/modftp/perl-ldap-0.3202
>> perl Makefile.PL LIB=/usr/local/modftp/perlmod
>> PREFIX=/usr/local/modftp/perlmod
>
>This should read:
>
>cd /usr/local/modftp/perl-ldap-0.3202
>perl Makefile.PL perfix=/usr/local/modftp/perlmod
>
>Then, of course, you should set and export shell variable PERL5LIB 
>to point to the directory where the .pm file actually resides.

Or even better, tell perl where are your libraries,
use lib qw(all my extra pm dirs);

>Sretno, i dobra zabava.

Nije ti on s Hineta ako si na to mislio. :)



-- 
Matija


------------------------------

Date: Sat, 31 Jul 2004 18:11:43 -0400
From: Mladen Gogala <gogala@sbcglobal.net>
Subject: Re: Install module into a nonstandard place
Message-Id: <pan.2004.07.31.22.11.43.971234@sbcglobal.net>

On Sat, 31 Jul 2004 21:40:27 +0200, Matija Papec wrote:

> Or even better, tell perl where are your libraries,
> use lib qw(all my extra pm dirs);

This can cause program to fail, if moved to another box,
but it is a viable option.

> 
>>Sretno, i dobra zabava.
> 
> Nije ti on s Hineta ako si na to mislio. :)

Jesam, zaista.


-- 
A city is a large community where people are lonesome together.



------------------------------

Date: Sun, 01 Aug 2004 11:04:30 +0200
From: Matija Papec <perl@my-header.org>
Subject: Re: Install module into a nonstandard place
Message-Id: <tecpg0trrcnuqk0r0c23ij8lpoadct2p6h@4ax.com>

X-Ftn-To: Mladen Gogala 

Mladen Gogala <gogala@sbcglobal.net> wrote:
>On Sat, 31 Jul 2004 21:40:27 +0200, Matija Papec wrote:
>
>> Or even better, tell perl where are your libraries,
>> use lib qw(all my extra pm dirs);
>
>This can cause program to fail, if moved to another box,
>but it is a viable option.

Yes, but one should be fine as long as it sticks to relative paths.


-- 
Matija


------------------------------

Date: 28 Jul 2004 15:46:14 -0700
From: randall_ulloa@costarricense.cr (ulloa)
Subject: Install perl 5.8.3 and DBI, DBD::Oracle packages in my local account
Message-Id: <d2954550.0407281446.20652d0c@posting.google.com>

I have an account in an sun server, and i have a problem i need to
instal DBI and DBD::Oracle packages and i can not install them using
the actual perl version (I am having a lot of problems).
I read that a possible solution is to install another perl version, so
i download perl 5.8.3 and the respective packages, and now i need to
install them, but i do not have any permission to do that. So what do
i need to do? to install perl and those packages in my local account,
in my home directory!!!

Thanks a lot.


------------------------------

Date: Wed, 28 Jul 2004 20:59:28 -0400
From: Mladen Gogala <gogala@sbcglobal.net>
Subject: Re: Install perl 5.8.3 and DBI, DBD::Oracle packages in my local account
Message-Id: <pan.2004.07.29.00.59.25.537808@sbcglobal.net>

On Wed, 28 Jul 2004 15:46:14 -0700, ulloa wrote:

> I have an account in an sun server, and i have a problem i need to
> instal DBI and DBD::Oracle packages and i can not install them using
> the actual perl version (I am having a lot of problems).
> I read that a possible solution is to install another perl version, so
> i download perl 5.8.3 and the respective packages, and now i need to
> install them, but i do not have any permission to do that. So what do
> i need to do? to install perl and those packages in my local account,
> in my home directory!!!
> 
> Thanks a lot.

When installing perl, the perl script will ask you where to install
it. Make a directory called $HOME/local and install it under
$HOME/local/perl. Then do perl Makefile.PL prefix=$HOME/local
with your required packages. The last thing is to set PERL5LIB to
point to the directory where your packages are. In my case, it is
the following:
$ echo $PERL5LIB
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi:/usr/lib/perl5/site_perl/5.8.0

$ ls /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/DBI.pm
$



-- 
A city is a large community where people are lonesome together.



------------------------------

Date: 23 Jul 2004 17:09:54 -0700
From: sams@freeddns.org (sams)
Subject: Installing XML::Parser 2.3x in Perl5.8 for Win32.
Message-Id: <4d010e73.0407231609.5c299f51@posting.google.com>

I have been trying to install the XML::Parser (2.3x) downloaded from
CPAN to be installed in my Perl5.8. I didnt use ActivePerl cause, I
had problem with other modules in their version, so I thought of using
Perl. I am usign VC++6.0 nmake


perl Makefile.PL 
Result: 
   Note (probably harmless): No Library found for -lexpat
  -Note (probably harmless): No library found for -lexpat
  Writing makefile for XML::Parser::Expat
  Writing makefile for XML::Parser

nmake Results: 
fatal error U1077, cl : retyurn code '0x2'
fatal error U1077m 'cd': return code '0x2'

Am I missing something? I did install a MSXML SDK before trying this,
but apparantly no improvments.

Appreciate any help

Sam


------------------------------

Date: 3 Aug 2004 00:47:14 -0700
From: netmining@hotmail.com (Ikke)
Subject: IO::Socket resulting in "Bad protocol 'tcp'" on Win2K
Message-Id: <14bee884.0408022347.45496842@posting.google.com>

I have a small perl script that seems to work on some Win2K machines
and to crash on others.

The error message is always:
Bad protocol 'tcp' when it fails to run

The code is:
my $socket = IO::Socket::INET->new ($Socket_type[0] =>
$Socket_type[1],
						LocalAddr => '0.0.0.0',
						LocalPort => $port,
						Proto => 'tcp',
						Listen => 10,
                        Reuse => 1
                        );
die "Could not create a server on port: $@\n" unless $socket;


I am using ActiveState's Perl 5.8   All computers are 100% identical
in terms of Perl installation


------------------------------

Date: 3 Aug 2004 13:11:45 GMT
From: Douglas Hunter <dug@plusthree.com>
Subject: Re: IO::Socket resulting in "Bad protocol 'tcp'" on Win2K
Message-Id: <slrncgv3hc.ms.dug@plusthree.com>

On 2004-08-03, Ikke <netmining@hotmail.com> wrote:
> I have a small perl script that seems to work on some Win2K machines
> and to crash on others.
>
> The error message is always:
> Bad protocol 'tcp' when it fails to run

See http://www.perlmonks.org/index.pl?node_id=374524 for a discussion
and solution. 

-- Douglas


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 6811
***************************************


home help back first fref pref prev next nref lref last post