MozillaZine

firebird built with vs7?

Discuss building things with or for the Mozilla Platform.
mwillbanks
 
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post Posted November 1st, 2003, 11:44 pm

okay i have no idea on how to even start to create the build after i pulled all the files from the cvs.
i know i need to create a project file in vc but according to the old directions I dont know what to do.

Any help? pointers?
Last edited by mwillbanks on November 2nd, 2003, 4:31 pm, edited 1 time in total.
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040204 Firebird/0.8.0+
Email: Mozilla Thunderbird 0.5b (20040204)
OS: WinXP SP1

Scarrow

User avatar
 
Posts: 1326
Joined: November 5th, 2002, 12:20 am
Location: Japan, East

Post Posted November 2nd, 2003, 2:25 am

This particular thread is the likeliest place to begin:

http://forums.mozillazine.org/viewtopic.php?t=25161



- Scarrow

mwillbanks
 
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post Posted November 2nd, 2003, 11:16 am

see this has been what is happening when i call make :/

[snip]
checking for gcc... cl
checking whether the C compiler (cl ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
[/snip]
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040204 Firebird/0.8.0+
Email: Mozilla Thunderbird 0.5b (20040204)
OS: WinXP SP1

Jesse

User avatar
 
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA

Post Posted November 2nd, 2003, 7:40 pm

I got a similar error, "checking whether cl can create executables... no", when compiling with VC7. The solution was to "call vcvars32.bat" in a batch file I run before compiling.

nilson

User avatar
 
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama

Post Posted November 2nd, 2003, 8:31 pm

You'll get the smae error if there is no mozconfig.

mwillbanks
 
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post Posted November 3rd, 2003, 12:01 am

mozconfig exists and gets read...

i tried that vcvars32.bat... doesn't seem to work the trick.


checking whether the C compiler (cl ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040204 Firebird/0.8.0+
Email: Mozilla Thunderbird 0.5b (20040204)
OS: WinXP SP1

Jesse

User avatar
 
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA

Post Posted November 3rd, 2003, 12:24 am

I searched Google for "whether the C compiler * works no", and found several pages suggesting that you look at config.log.

Btw, are you following the instructions for building Mozilla on e.g. http://www.mozilla.org/build/win32.html or are you just stumbling around in the dark? (The only step that differs from those instructions is adding a .mozconfig.)

mwillbanks
 
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post Posted November 3rd, 2003, 12:52 am

that fixed that problem :)

Forgot to put in a path in the lib environment.

Now I have this :/
checking for ar... no
checking for ld... link
checking for strip... no
checking for windres... no
/cygdrive/f/Program: not found

I think its from not knowing the CXX?
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040204 Firebird/0.8.0+
Email: Mozilla Thunderbird 0.5b (20040204)
OS: WinXP SP1

Jesse

User avatar
 
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA

Post Posted November 3rd, 2003, 12:55 am

My guess is that something got confused about "F:\Program Files\" because "Program Files" contains a space. Have you followed the instructions and installed nothing other than MSVC into a directory whose name contains a space?

What's in config.log?

mwillbanks
 
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post Posted November 3rd, 2003, 10:17 am

I found my problem in config.log :)
I gotta start there more often.

Then I had another path error and now it is seeming to build. Lets just hope it fully builds :)

Thanks for your help.
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040204 Firebird/0.8.0+
Email: Mozilla Thunderbird 0.5b (20040204)
OS: WinXP SP1

mwillbanks
 
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post Posted November 3rd, 2003, 11:20 am

/home/MWillbanks/mozilla/build/cygwin-wrapper /home/MWillbanks/mozilla/build/cyg
win-wrapper cl -Fohost_cppsetup.o -c -TC -nologo -DXP_WIN32 -DXP_WIN -DWIN32 -D_
WIN32 -DNO_X11 -Oxs -G7 -arch:SSE2 -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".
obj\" -I../../dist/include/mkdepend -I../../dist/include -I../../dist/include/
nspr -I../../dist/include/nspr /home/MWillbanks/mozilla/config/mkdepend/cppsetup.c
cl : Command line warning D4002 : ignoring unknown option '/home/MWillbanks/mozilla/config/mkdepend/cppsetup.c'
cl : Command line error D2003 : missing source filename
make[3]: *** [host_cppsetup.o] Error 2
make[3]: Leaving directory `/home/MWillbanks/mozilla/config/mkdepend'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/home/MWillbanks/mozilla/config'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/MWillbanks/mozilla'
make: *** [build] Error 2
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040204 Firebird/0.8.0+
Email: Mozilla Thunderbird 0.5b (20040204)
OS: WinXP SP1

cls

User avatar
 
Posts: 77
Joined: July 31st, 2003, 12:27 pm
Location: San Diego, CA

Post Posted March 22nd, 2004, 11:50 pm

Read the first item under 'Common Problems and Hints' on the official win32 build instructions page.

TierMann

User avatar
 
Posts: 184
Joined: March 29th, 2004, 10:18 am
Location: Sitting here, posting to fourms.

Post Posted March 29th, 2004, 10:25 am

I'm getting the same problem compiling mozilla 1.6 under cygwin

Command line warning D4002 : ignoring unknown option '/mozilla/config/mkdepend/c
ppsetup.c'

My directory is not in home, it's c:/cygin/mozilla as recommended.

Anyone found out the reason for this?

cls

User avatar
 
Posts: 77
Joined: July 31st, 2003, 12:27 pm
Location: San Diego, CA

Post Posted April 17th, 2004, 1:06 pm

TierMann wrote:I'm getting the same problem compiling mozilla 1.6 under cygwin

Command line warning D4002 : ignoring unknown option '/mozilla/config/mkdepend/c
ppsetup.c'

My directory is not in home, it's c:/cygin/mozilla as recommended.

Anyone found out the reason for this?


It's the same problem. Move the source tree out of c:/cygwin completely.

Return to Mozilla Development


Who is online

Users browsing this forum: Bing [Bot] and 0 guests