Running logreport on MacOS X 10.2 as non-root...

Brad Knowles brad.knowles at asml.com
Wed Sep 18 12:51:00 CEST 2002


Folks,

	I've just installed lire-1.1 on my laptop (from the "full" 
version), and for the most part, things seem to have gone very well. 
However, I can't get `lr_check_service -l` to report what services 
are installed.  I get the following error:

% lr_check_service -l
Can't locate loadable object for module XML::Parser::Expat in @INC 
(@INC contains: /Users/blk/logreport/share/perl5 
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin 
/Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl .) 
at /Users/blk/logreport/share/perl5/XML/Parser.pm line 15
Compilation failed in require at 
/Users/blk/logreport/share/perl5/XML/Parser.pm line 15.
BEGIN failed--compilation aborted at 
/Users/blk/logreport/share/perl5/XML/Parser.pm line 19.
Compilation failed in require at 
/Users/blk/logreport/share/perl5/Lire/DlfSchema.pm line 7.
BEGIN failed--compilation aborted at 
/Users/blk/logreport/share/perl5/Lire/DlfSchema.pm line 7.
Compilation failed in require at 
/Users/blk/logreport/share/perl5/Lire/Program.pm line 15.
BEGIN failed--compilation aborted at 
/Users/blk/logreport/share/perl5/Lire/Program.pm line 15.
Compilation failed in require at 
/Users/blk/logreport/share/perl5/Lire/Config.pm line 21.
BEGIN failed--compilation aborted at 
/Users/blk/logreport/share/perl5/Lire/Config.pm line 21.
Compilation failed in require at 
/Users/blk/logreport/bin/lr_check_service line 9.
BEGIN failed--compilation aborted at 
/Users/blk/logreport/bin/lr_check_service line 9.


	Looking at line 15 of Parser.pm, it is clearly trying to "Require 
XML::Parser::Expat", but it's not finding it.  This is after I had 
created symlinks in ~/logreport/share/perl5 for XML (aimed at 
../../lib/perl5/darwin/XML, since @INC did not include this directory 
and the script was not able to load Parser.pm) and Parser (aimed at 
../../lib/perl5/darwin/XML/Parser), and even created a link for 
Expat.pm to Parser/Expat.pm.


	Could this be a DynaLoader problem?  I'm not sure that the stock 
version of perl installed on this machine (v5.6.0 built for darwin) 
was compiled with DynaLoader support....

-- 
Brad Knowles <brad.knowles at asml.nl> | Brad Knowles <brad at snow.nl>
   ASML ITM&S Unix Competence Center | Sr. Consultant for Snow, BV
          Veldhoven, The Netherlands | <http://www.snow.nl/>
       Tel/Fax: +31 40 268 3729/4218 | Tel/Fax: +31 418 653 333/666

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list