Hi All, It seems that by default perl looks for the locations of the perl modules given by the @INC directory. Now I want to build a version of perl ( with all extensions statically linked ) and which does not have any INC directory dependencires in it during compile time. It I succeed in this process, I will have a single executable which does not need any specific location to find its modules ( like strict.pm or POSIX.pm ) and all its modulex will be statically linked to its executable. Can some one suggest me the way to do it ? This is what I did on my Linux machine. a) Downloaded the 5.6.1 source and unpacked the contens on a /home/seenu/perl-5.6.1 location. b) ran the following script, ./configure ( here i chose all the default options, except to disable dynamic loading ) c) and followed by " make miniperl ". The build process completed successfully. Now when I tried to execute a simple perl program which looks something like #!/home/seenu/perl-5.6.1/miniperl use strict ; I got the following error from the command line :- Can't locate strict.pm in @INC (@INC contains: /home/seenu/perl/lib/5.6.1/i686-linux /home/seenu/perl/lib/5.6.1 /home/seenu/perl/lib/site_perl/5.6.1/i686-linux /home/seenu/perl/lib/site_perl/5.6.1 /home/seenu/perl/lib/site_perl .) at ./test-.pl line 3. BEGIN failed--compilation aborted at ./test.pl line 3. Thanks in advance, Seenu.
