lr_config aborts with local installation on Solaris 9

Francis J. Lacoste flacoste at logreport.org
Wed Jul 30 18:54:09 CEST 2003


On Tue, 2003-07-29 at 10:13, Robert_G_Kennington at notes.tcs.treas.gov
wrote:
> Hi Again,
> 
> Since system installation failed for me (see below), despite my grit and
> determination, I opted for local installation and lire compiled without a
> hitch.  In the long run, I'd like to be able to complete a system
> installation.   If I succeed, the outcome of this will be very detailed
> Solaris 9 installation instructions I'd be glad to share.
> 
> In the mean time, lr_config aborts.  Here's what happened.
> 
[...]

> isbld2br>lr_config
> Can't locate XML/Parser.pm in at INC (@INC contains:
> /rkenning/lire/share/perl5 /usr/perl5/5.6.1/lib/sun4-solaris-64int
> /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int
> /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl
> /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
> /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at
> /rkenning/lire/share/perl5/Lire/DlfSchema.pm line 7.

[...]
> 
> Any suggestions would be greatly appreaciated.
> 


If XML::Parser isn't installed in perl5's system directories, the Lire
build tool will install a version into 

<prefix>/lib/perl5

which may or not be by default in @INC.

The profile_lean shell script which is sourced by lr_run make sure
that the installed XML::Parser will be found. But since you are running
the lr_config command directly, it cannot be found.

Solutions:

1) Add the directories where XML::Parser was installed to your
PERL5LIB environment variable.

2) Use lr_run lr_config instead of lr_config

Hope this helps



Francis J. Lacoste

-- 
Francis J. Lacoste              . .           http://www.logreport.org
/^LogReport$/               . .               flacoste at logreport.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030730/82fbfefa/attachment.bin 


More information about the Questions mailing list