This message was forwarded to the list. Please read the attachment.
Craig A. Sharp
Unix Systems Administrator
DNS Administrator
Roush Industries
Office: 734-779-7282
Cell: 734-231-6769
Fax: 734-779-7807
[EMAIL PROTECTED]
====================================================
I have not lost my mind, it's backed up on tape somewhere!
====================================================
--- Begin Message ---
Criag, sorry to mail you direct, but can you tell me how long this list
takes to post an email? I sent one about an 30 minutes ago, and it hasn't
appeared, I am a member of this list... If it shouldn't take this long,
would it be possible for you to forward the folling message please...
many thanks..
Geoff
<MESSAGE>
I need some help in installing perl and some modules, namely XML::Parser on
an AIX machine...
Perl installed fine from smit...
I then in a directory /envix/bin/expat-1.95.2 ran the Makefile.PL and make,
make test and make install..
make test came back with 2 problems but didn't fail..
t/astress...........ok
t/cdata.............ok
t/decl..............ok
t/defaulted.........ok
t/encoding..........ok
t/external_ent......Couldn't load LWP based external entity handler
Switching to file-based external entity handler
(To avoid this message, use NoLWP option to XML::Parser)
t/external_ent......ok
t/file..............ok
t/finish............ok
t/namespaces........ok
t/parament..........Couldn't load LWP based external entity handler
Switching to file-based external entity handler
(To avoid this message, use NoLWP option to XML::Parser)
t/parament..........ok
t/partial...........ok
t/skip..............ok
t/stream............ok
All tests successful.
Expat was installed into /usr/local/lib and 'make install' reported no
errors.
Now, when trying to run < perl -e 'use XML::Parser' > just to see if the
module will load I get this error...
==== ERROR ====
Can't locate XML/Parser.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.1/aix-thread /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/aix-thread
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at -e
line 1.
BEGIN failed--compilation aborted at -e line 1.
===============
so I tried to install the XML::Parser module by < perl -MCPAN -e 'install
XML::Parser' >, and it just error out becuase it couldn't load LWP...
==== ERROR ====
LWP not available
Please, install Net::FTP as soon as possible. CPAN.pm installs it for you
if you just type
install Bundle::libnet
Your ~/.netrc neither contains ftp.perl.org
nor does it have a default entry
Issuing "/usr/bin/ftp -n"
ftp: Unknown host ftp.perl.org
Not connected.
Local directory now /.cpan/sources/authors
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Not connected.
Bad luck... Still failed!
===============
Also, becuase I've never really had to delve into why modules don't load,
coming from a background where by the -MCPAN and ppm did all the hard work
for you, I've never really had to force the modules to install in the right
place...
I looked into installing LWP, I guess libwww-5.6.1, I read the docs and
looked at the prereqs, I then tried to see if I had some of those modules
installed which are...
URI
MIME-Base64
HTML-Parser
libnet
Digest-MD5
I tried to call those with perl -e 'use module' and they all failed, so I
looked in /usr/local/lib/perl5/5.6.1 and found none of the .pm's there...
HERE IS THE CONTENTS of /usr/local/lib/perl5/5.6.1 ....
abbrev.pl charnames.pm Fatal.pm locale.pm syslog.pl
aix-thread chat2.pl fields.pm look.pl tainted.pl
AnyDBM_File.pm Class File Math Term
assert.pl complete.pl FileCache.pm Net termcap.pl
attributes.pm constant.pm FileHandle.pm newgetopt.pl Test
auto CPAN filetest.pm open2.pl Test.pm
AutoLoader.pm CPAN.pm FindBin.pm open3.pl Text
AutoSplit.pm ctime.pl finddepth.pl open.pm Tie
autouse.pm Cwd.pm find.pl overload.pm Time
B DB.pm flush.pl perl5db.pl timelocal.pl
base.pm Devel ftp.pl pod unicode
Benchmark.pm diagnostics.pm getcwd.pl Pod UNIVERSAL.pm
bigfloat.pl DirHandle.pm Getopt pwd.pl User
bigint.pl dotsh.pl getopt.pl Search
utf8_heavy.pl
bigrat.pl Dumpvalue.pm getopts.pl SelectSaver.pm utf8.pm
blib.pm dumpvar.pl hostname.pl SelfLoader.pm validate.pl
bytes_heavy.pl English.pm I18N Shell.pm vars.pm
bytes.pm Env.pm importenv.pl shellwords.pl warnings
cacheout.pl exceptions.pl integer.pm sigtrap.pm warnings.pm
Carp Exporter IO stat.pl Win32.pod
Carp.pm Exporter.pm IPC strict.pm
CGI ExtUtils less.pm subs.pm
CGI.pm fastcwd.pl lib.pm Symbol.pm
so a question, why is nothing installing right... I see why LWP does not
load for the -MCPAN -e install to work, but I can't see why XML::Parser
failed to put the files in the right place to start with even though the
make test worked?
had anyone come across this problem or know a good place to start looking
for some help ?
TIA Geoff
If you need any info about the configuration of the AIX box, please ask
me.... thanks..
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Craig Sharp
Sent: Monday, December 03, 2001 8:54 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [Perl-unix-users] DBD::Informix problem
I am trying to use DBD::Informix to query a remote database.
I am connected to a local database and then issuing a remote sql query:
select * from perf_info@roushprod:archive_info
roushprod is in the sqlhosts file. The statement works correctly outside of
the DBD/DBI functions.
When I try to run the statement from perl, I get the following error:
DBD::Informix::db prepare failed: SQL: -569: Cannot reference an external
database with logging. at test.old line 18.
How can I correct this problem?
Thanks,
Craig A. Sharp
Unix Systems Administrator
DNS Administrator
Roush Industries
Office: 734-779-7282
Cell: 734-231-6769
Fax: 734-779-7807
[EMAIL PROTECTED]
====================================================
I have not lost my mind, it's backed up on tape somewhere!
====================================================
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
--- End Message ---