firebird built with vs7?

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

firebird built with vs7?

Post by mwillbanks »

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
User avatar
Scarrow
Posts: 1326
Joined: November 5th, 2002, 12:20 am
Location: Japan, East
Contact:

Post by Scarrow »

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 by mwillbanks »

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
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA
Contact:

Post by Jesse »

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.
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

You'll get the smae error if there is no mozconfig.
mwillbanks
Posts: 35
Joined: October 15th, 2003, 10:47 pm

Post by mwillbanks »

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
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA
Contact:

Post by Jesse »

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 by mwillbanks »

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
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA
Contact:

Post by Jesse »

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 by mwillbanks »

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 by mwillbanks »

/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
User avatar
cls
Posts: 77
Joined: July 31st, 2003, 12:27 pm
Location: San Diego, CA
Contact:

Post by cls »

Read the first item under 'Common Problems and Hints' on the official win32 build instructions page.
User avatar
TierMann
Posts: 184
Joined: March 29th, 2004, 10:18 am
Location: Sitting here, posting to fourms.
Contact:

Post by TierMann »

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?
User avatar
cls
Posts: 77
Joined: July 31st, 2003, 12:27 pm
Location: San Diego, CA
Contact:

Post by cls »

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.
Post Reply