Discussion:
problem building on win32
Niv Twig
2002-05-07 18:24:44 UTC
Permalink
I have a problem building mozilla with gmake on Win32 according to the
Win32 build instructions. It stops immediately at the start of the
build. I downloaded the latest sources from FTP.

My environment variables are:
==============================
COMSPEC=C:\WINDOWS\COMMAND.COM
PROMPT=$p$g
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
MOZ_TOOLS=c:\utils\buildtools\windows
CVSROOT=:pserver:***@cvs-mirror.mozilla.org:/cvsroot
HOME=\TEMP
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;c:\cygwin\bin;c:\Program
Files\Microsoft Visual Studio\VC98\Bin;c:\utils\buildtools\windows\bin
winbootdir=C:\WINDOWS
windir=C:\WINDOWS

I run:
===========
C:\mozilla> make -f client.mk build

AND GET THE FOLLOWING ERRORS:
===============================
mozilla/build/autoconf/mozconfig2client-mk: not found
Can't locate File/Spec/Unix.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/cygw
in /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin
/usr/lib/perl5/sit
e_perl/5.6.1 /usr/lib/perl5/site_perl .) at
c:/mozilla/build/unix/abs2rel.pl lin
e 13.
BEGIN failed--compilation aborted at c:/mozilla/build/unix/abs2rel.pl
line 13.
cd /cygdrive/c/mozilla
./configure
./configure: not found
Fix above errors and then restart with "/cygdrive/c/CYGWIN/BIN/MAKE -f
clien ***
"t.mk build
MAKE: *** [/cygdrive/c/mozilla/Makefile] Error 1

My cygwin installation is at "c:\cygwin"
My netscape wintools installation is at "c:\utils\buildtools\"

In addition, I think there is a mistake in the "2.2b gmake build
environment" section of the win32 build instructions which states:
set PATH=%PATH%;%MOZ_TOOLS%\bin;c:\cygwin

I think this is WRONG, because the PATH should contain c:\cygwin\bin
to find the executables.(otherwise typing "make" without full path will
not find it).
Chris Seawood
2002-05-13 03:42:23 UTC
Permalink
Post by Niv Twig
mozilla/build/autoconf/mozconfig2client-mk: not found
/usr/lib/perl5/5.6.1/cygw
in /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin
/usr/lib/perl5/sit
e_perl/5.6.1 /usr/lib/perl5/site_perl .) at
c:/mozilla/build/unix/abs2rel.pl lin
e 13.
It looks like the perl installation is incomplete. File::Spec::Unix is
a standard perl module (even on win32).
Post by Niv Twig
I think this is WRONG, because the PATH should contain c:\cygwin\bin
to find the executables.(otherwise typing "make" without full path
will not find it).
Good catch.

- cls
Niv Twig
2002-05-14 17:04:49 UTC
Permalink
Post by Chris Seawood
Post by Niv Twig
mozilla/build/autoconf/mozconfig2client-mk: not found
/usr/lib/perl5/5.6.1/cygw
in /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin
/usr/lib/perl5/sit
e_perl/5.6.1 /usr/lib/perl5/site_perl .) at
c:/mozilla/build/unix/abs2rel.pl lin
e 13.
It looks like the perl installation is incomplete. File::Spec::Unix is
a standard perl module (even on win32).
Post by Niv Twig
I think this is WRONG, because the PATH should contain c:\cygwin\bin
to find the executables.(otherwise typing "make" without full path
will not find it).
Good catch.
- cls
Thanks a lot for the help, Chris.
I re-installed cygwin due to the bad perl installation and it solved
this problem, but there is another problem for which I will post
separately to the newsgroup if I won't find the cause.

Best regards,
Niv

Loading...