I happen to have perl installed in the directory
F:\gnu\perl
instead of the directory
f:\perllib-directory
assumed by default in the mozillaenv.cmd.
I have however corrected that and I set following variables before
building mozilla.
SET PERLLOC=F:\GNU\PERL
SET PERLLOC2=F:/GNU/PERL
SET PERLLIB_PREFIX=%PERLLOC2%/LIB;%PERLLOC%\LIB
SET PERL_SH_DIR=%PERLLOC%\BIN
SET USE_PERL_FLOCK=0
If I now try to run
gmake -f client.mk build_all
configuration passes the perl-version test after that I get following
error
(from config.log)
configure:3159: checking for perl5
configure:3159: checking for perl
configure:3203: checking for minimum required perl version >= 5.004
configure:3213: checking for full perl installation
Can't locate Config.pm in @INC (@INC contains:
f:/perllib/lib/5.00553/os2 f:/perllib/lib/5.00553
f:/perllib/lib/site_perl/5.00553/os2 f:/perllib/lib/site_perl/5.00553 .)
at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
I believe that this is caused by the following lines in the configure.in
AC_MSG_CHECKING([for full perl installation])
_perl_archlib=`$PERL -e 'use Config; if ( -d $Config{archlib} ) {
exit(0); } else { exit(1); }' 2>&5`
_perl_res=$?
if test "$_perl_res" != 0; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Cannot find Config.pm or \$Config{archlib}. A full
perl installation is required.])
else
AC_MSG_RESULT([yes])
fi
Unfortunately I do not have any idea what I should do for that. (Except
than reinstalling perl
what I would like to avoid.) While I tried to build mozilla earlier
(quite many months ago) the
installation script didn't stopped to this test.
Mika