Hi,

I want to compile some perl modules (.PM) to be static included in a
new perl binary, I did a Makefile.PL like this:

# file : Makefile.PL
use ExtUtils::MakeMaker;
WriteMakefile(
   'NAME' => 'lib/Speed/Agent.pm',
   'LIBS' => ["-L/usr/lib -lgdbm", "-ldbm"],
   'INST_ARCHLIB' => '/root/perl/lib',
   'SITELIBEXP' => '/root/perl/lib',
   'INST_ARCHLIB' => '/root/perl/lib',
   'linkext' => { LINKTYPE => 'static','LIBS' => ["-L/usr/lib -lgdbm",
"-ldbm"] }
);

In the lib directory i put my modules, and i get compiled my new perl
binary, but when i execute it tells me that don't find the module

Can't locate Speed/Agent.pm in @INC (@INC contains: ...

I thouth that compiling a new static perl, it won't need that the
module be install anywhere (it must be included in the binary perl),
rigth?. If somebody could give me some guide about this issue, i would
be thankfull.

Regards,

-- 
Gustavo Adolfo García Plaza
Internet Manager
Supercable

Reply via email to