Closed
Bug 111760
Opened 24 years ago
Closed 24 years ago
Fix build issues on M$ VC/Win9x
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: pipr1, Assigned: netscape)
References
()
Details
<rant>
I've spent half a day fiddling with setting up the build environment under
VC6/Win98SE.
Currently, build fails at "SHMSDOS: sh: The system cannot find the file specified".
I've installed all the tools and set up the ENV properly.
I am an experienced developer. Yes I could fix it myself.
But, I have no desire to waste my precious time fighting with hardcoded paths
and other idiosyncrasies in the build config.
I am sure that there are many more developers with similar dev enviroment who
would contribute to Mozilla if somebody would please fix the build.
Thanks,
R. Piper
</rant>
Assignee | ||
Comment 1•24 years ago
|
||
Are you *sure* that you set up your environment correctly as documented at
http://www.mozilla.org/build/win32.html ? Pay particular attention to the notes
about installing cygwin (provides sh) and making sure that the cygwin bin
directory is in your path. And try to provide a bit more context with the error
message. That one-liner could occur at a number of places.
Thanks for replying.
The build ENV is OK.
However, I don't see 'sh' in Cygwin (1.2)!
There are 'ash' and 'bash' shells.
Cygwin starts with 'bash' and works fine.
The build chokes at the first step:
-------------------------------------
nmake /f client.mak build_all
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
gmake -f gmakefile.win MOZ_SRC_FLIPPED=E:/PROJECTS/MOZILLA
cd WIN32_O.OBJ/ ; \
sh ../configure --with-mozilla --with-dist-prefix=E:/PROJECTS/MOZILLA/mo
zilla/dist --with-dist-bindir=E:/PROJECTS/MOZILLA/mozilla/dist/WIN32_O.OBJ/bin -
-with-dist-libdir=E:/PROJECTS/MOZILLA/mozilla/dist/WIN32_O.OBJ/lib --enable-opti
mize --disable-debug
SHMSDOS: sh: The system cannot find the file specified.
D:\DEV\TOOLS\MOZILLA\BIN\gmake.exe: *** [WIN32_O.OBJ/config.status] Error -1
NMAKE : fatal error U1077: 'D:\DEV\TOOLS\MOZILLA\BIN\gmake.exe' : return code '0
x2'
Stop.
----------------------------------------------
I could probably find older Cygwin dist with 'sh', but I am concerned that that
wouldn't be the end of my troubles.
'sh' could have / should have been included in SHMSDOS.
The build process and QC could be better.
That's the main point of my post.
Thanks for listening,
R. Piper
Assignee | ||
Comment 3•24 years ago
|
||
Every cygwin install that I've used has installed ash as
\<cygwinroot>\bin\sh.exe. I'd be very surprised if they've changed setup.exe to
not install \<cygwinroot>\bin\sh.exe at all. If they did, that's a cygwin bug.
'sh' needs to be a real shell, *not* shmsdos otherwise we would have changed the
instructions accordingly. There's no reason to bundle it when it comes stock
with cygwin which we need for other tools anyway.
I have fixed the Cygwin 'sh' problem.
Then, build complained about "Missing MSPDB60.DLL".
I fixed that problem, too (which was not a real problem, the DLL did exist but
the build somehow could not find it).
Then I got "../../config/now.c(35) : fatal error C1083: Cannot open include
file: 'stdio.h'..."
Of course, I have all includes in proper places.
As suspected, this seems to be a never ending story.
I give up.
Maybe I'll take another stab at building Mozilla when you fix the build or I have
nothing better to do.
Thanks for your help.
R. Piper
Assignee | ||
Comment 5•24 years ago
|
||
Again, that sounds like your build environment is not up to par. Did you run
the vcvars32.bat script that comes with MSVC to set up the proper build paths
for MSVC? I'm not a regular win32 developer but I assumed that was common
knowledge for win32 developers. Anyway, I guess I'm marking this invalid as I
see no evidence of this actually being a Mozilla build system problem.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Sweeping the build problems under the rug will not help you broaden your base of
contributors.
I build software every day (and have been doing so for many years).
Obviously, I wouldn't be able to do so if there was anything wrong with my
environment.
In fact, I have already fixed your build.
But I cannot be bothered to waste more time on the bowl of spaghetti that you've
got.
Thanks, anyway.
R. Piper
Assignee | ||
Comment 7•24 years ago
|
||
You have yet to convince me that it's *mozilla's* build problem. You have not
shown what your build environment looks like, so I cannot even determine if you
have it properly setup as you claim. I don't build on win98 but I know people
who do regularly and they *will* hunt me down if there is a *real* problem with
building on win98. As I have not heard from them, I have no reason to believe
that this problem exists beyond the confines of your machine. If you truly wish
to contribute, you could tell us how you fixed your build problems, so that
others will know what to avoid, rather than just using bugzilla as your
personal rant forum.
Verified Invalid?
Obviously, this show is being run by spineless and brainless corporate drones.
Even your executable relies on hardcoded paths (try running Mozilla from
anywhere but "mozilla\bin" and watch what happens).
I am not going to waste one more second of my precious time on your pathetic
project.
Have a nice day.
P.R.
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
Assignee | ||
Comment 10•24 years ago
|
||
Still lacking any *useful* information. Back to invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → INVALID
Comment 11•24 years ago
|
||
what a child. this is a bug system, take it to the newsgroups.
verified invalid.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•