perl Makefile.PL make make test make install #### perl Makefile.PL EXPATLIBPATH=/usr/local/lib EXPATINCPATH=/usr/local/include make make test make install #### WriteMakefile( NAME => 'XML::Parser::Expat', C => ['Expat.c'], LIBS => $libs, XSPROTOARG => '-noprototypes', VERSION_FROM => 'Expat.pm', @extras ); #### LIBS => $libs, #### OBJECT => "Expat.o /usr/local/lib/libexpat.a",