[Rt-devel] Build.html error

Asif Iqbal iqbala-rt-devel at qwestip.net
Thu Jul 1 15:37:58 EDT 2004


Hi All

I am noticing my @INC is not including the following libs

/usr/local/lib/perl5/5.8.4/sun4-solaris
/usr/local/lib/perl5/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.4

Here is error message I get when trying to read the Build.html file

Error during compilation of /opt/rt3/share/html/Search/Build.html:
Can't locate Tree/Simple.pm in @INC (@INC contains: /opt/rt3/local/lib
/opt/rt3/lib /usr/local/lib/perl5/5.8.0/sun4-solaris
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .
/usr/local/apache/ /usr/local/apache/lib/perl) at
/opt/rt3/share/html/Search/Build.html line 79.


I get the same error when clicking RSS

Error during compilation of /opt/rt3/share/html/Search/Results.rdf:
Can't locate XML/RSS.pm in @INC (@INC contains: /opt/rt3/local/lib
/opt/rt3/lib /usr/local/lib/perl5/5.8.0/sun4-solaris
/usr/local/lib/perl5/5.8.0
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.0
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .
/usr/local/apache/ /usr/local/apache/lib/perl) at
/opt/rt3/share/html/Search/Results.rdf line 10.


I can't locate the Simple.pm and RSS.pm but since those paths are not in 
@INC it fails.
             
/usr/local/lib/perl5/site_perl/5.8.4/Tree/Simple.pm
/usr/local/lib/perl5/site_perl/5.8.4/XML/RSS.pm

Now my question is where is the one place that I can add those paths for 
@INC to include them in its list of lib dirs?

I could go ahead and ask this question to perl community for a quick tip
but I like to fix
it the right way, hence asking it here

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There's no place like 127.0.0.1


More information about the Rt-devel mailing list