[Detroit-pm] problem installing XML::Parser

Jim McQuillan jam at McQuil.com
Sat Apr 26 20:11:28 PDT 2008


I ran into this exact problem last week.

It's a bug in one of the build scripts.  when it calls the C compiler, 
it's passing a relative search path for includes, rather than an 
absolute path.  Something like: -Iusr/kerberos/include, instead of 
-I/usr/kerberos/include

There were 3 files it was searching for.  To get around it, I created 3 
symlinks like this:

cd /usr/include
ln -s /usr/kerberos/include/profile.h profile.h
ln -s /usr/kerberos/include/com_err.h comm_err.h
ln -s /usr/kerberos/include/krb5.h krb5.h

Once I did that, then CPAN was happy, and the build succeeded. 
Afterwards, I removed the symlinks.

I couldn't do the libxml-parser-perl package, because this was on a 
fairly old Redhat box.

I'm pointing this out, incase others need to install this package and 
don't have the distro packages to grab from.

Jim McQuillan
jam at Ltsp.org



Ron Wilson wrote:
> Adriano Ferreira wrote:
>> I think that's because XML::Parser has an external dependency
> 
> Thanks, I found and installed the libxml-parser-perl package.
> 
> _______________________________________________
> Detroit-pm mailing list
> Detroit-pm at pm.org
> http://mail.pm.org/mailman/listinfo/detroit-pm


More information about the Detroit-pm mailing list