Comment puis-je définir la bibliothèque et inclure des chemins d'accès pour Makefile.PL pour une installation unique?

Comment puis-je savoir CPAN pour donner Makefile.PL un argument spécifique dans une installation spécifique?

Spécifiquement. Je veux installer XML::LibXML, et apt-get installé à la bibliothèque de /usr/lib/libxml2.so.2.6.32. Makefile.PL a des problèmes avec ça et me dit:

using fallback values for LIBS and INC
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

looking for -lxml2... no
looking for -llibxml2... no
libxml2 not found
Try setting LIBS and INC values on the command line
Or get libxml2 from 
  http://xmlsoft.org/

Je sais où la libxml2 est, mais je ne sais pas comment le dire à la Makefile.PL.

edit: Quand je fais dpkg -L libxml2 (c'est une debian), je vois

/.
/usr
/usr/lib
/usr/lib/libxml2.so.2.6.32
/usr/share
/usr/share/doc
/usr/share/doc/libxml2
/usr/share/doc/libxml2/AUTHORS
/usr/share/doc/libxml2/changelog.Debian.gz
/usr/share/doc/libxml2/copyright
/usr/share/doc/libxml2/README
/usr/share/doc/libxml2/README.Debian
/usr/share/doc/libxml2/NEWS.gz
/usr/share/doc/libxml2/changelog.gz
/usr/share/doc/libxml2/TODO.gz
/usr/lib/libxml2.so.2

Je ne suis pas un super-utilisateur sur la machine et je ne peux pas faire de lien symbolique dans /usr/lib ou de la réparer.

Alors, comment ce travail? Avez-vous réussi à résoudre votre problème?
Oui, je l'ai fait (désolé de ne pas répondre, j'ai eu quelques autres travaux), merci!

OriginalL'auteur Karel Bílek | 2010-09-29