Bluehost.com Web Hosting $6.95

Apache 2.0.50: Error executing cl.exe

This is a discussion on Apache 2.0.50: Error executing cl.exe within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, after the build InstallBin process (win32), VC Studio reports following error: --- Generating code... Error executing cl.exe I searched ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-24-2004
H. Jörg
 
Posts: n/a
Default Apache 2.0.50: Error executing cl.exe

Hi,

after the build InstallBin process (win32), VC Studio reports following
error:
---
Generating code...
Error executing cl.exe

I searched the whole drive for that file but couldn't find it. Is it part of
an external package which is required to build Apache2? (Cygwin is
installed)
Thanks for your help!




  #2 (permalink)  
Old 09-24-2004
Jim Patterson
 
Posts: n/a
Default Re: Apache 2.0.50: Error executing cl.exe

H. Jörg wrote:
> after the build InstallBin process (win32), VC Studio reports following
> error:
> ---
> Generating code...
> Error executing cl.exe
>
> I searched the whole drive for that file but couldn't find it. Is it part of
> an external package which is required to build Apache2? (Cygwin is
> installed)


cl.exe is the compiler part of Visual C++. Since you say the error was
reported from VC Studio, I assume you have it installed, so it should be
somewhere within \Program Files\Microsoft Visual Studio. Maybe you
should try reinstalling Visual C++ - it definitely should be there.

Cygwin is another story. I think some people have got Apache to build
with Cygwin, but it's not exactly a supported configuration. Go with
Visual C++ if you can. In any case, Cygwin's compiler is gcc.exe, not
cl.exe, and you would not be building it via VC Studio.

--
Jim Patterson
Ottawa, Ont
CANADA
  #3 (permalink)  
Old 09-25-2004
H. Jörg
 
Posts: n/a
Default Re: Apache 2.0.50: Error executing cl.exe

You're right, its in the Visual Studio \bin directory. Perhaps I really
should reinstall it.

I installed Cygwin, because I thought I need it for the Apache2 build. I
don't use the gcc compiler but I've less warnings/errors while building
since cygwin is installed.



"Jim Patterson" <jim-patterson@ncf.ca> schrieb im Newsbeitrag
news:zyO4d.27671$pA.1845772@news20.bellglobal.com. ..
> H. Jörg wrote:
> > after the build InstallBin process (win32), VC Studio reports following
> > error:
> > ---
> > Generating code...
> > Error executing cl.exe
> >
> > I searched the whole drive for that file but couldn't find it. Is it

part of
> > an external package which is required to build Apache2? (Cygwin is
> > installed)

>
> cl.exe is the compiler part of Visual C++. Since you say the error was
> reported from VC Studio, I assume you have it installed, so it should be
> somewhere within \Program Files\Microsoft Visual Studio. Maybe you
> should try reinstalling Visual C++ - it definitely should be there.
>
> Cygwin is another story. I think some people have got Apache to build
> with Cygwin, but it's not exactly a supported configuration. Go with
> Visual C++ if you can. In any case, Cygwin's compiler is gcc.exe, not
> cl.exe, and you would not be building it via VC Studio.
>
> --
> Jim Patterson
> Ottawa, Ont
> CANADA



  #4 (permalink)  
Old 09-25-2004
Jim Patterson
 
Posts: n/a
Default Re: Apache 2.0.50: Error executing cl.exe

H. Jörg wrote:
> You're right, its in the Visual Studio \bin directory. Perhaps I really
> should reinstall it.
>
> I installed Cygwin, because I thought I need it for the Apache2 build. I
> don't use the gcc compiler but I've less warnings/errors while building
> since cygwin is installed.


If you're compiling from the command line, then look for and "CALL" a
batch file called VCVARS32.BAT before running NMAKE. That file will set
up your PATH etc. so that it can find the compiler; maybe that's all you
need to do.

None of this should be necessary if running from Developer Studio,
though; it maintains its own path settings. You can find them under
Tools/Options. It's possible that they have been messed up somehow,
which would explain the compile error you're getting.


--
Jim Patterson
Ottawa, Ont
CANADA
  #5 (permalink)  
Old 09-26-2004
H. Jörg
 
Posts: n/a
Default Re: Apache 2.0.50: Error executing cl.exe

VCVARS32.BAT - I know, this file is has been executed. I can launch cl.exe
from command line. However, the build process will not successfully
terminated.

It says:
> xlate.c
> Fatal Error C1083 can not open include file apr_iconv.h - no such file or

directory
> apr_xml.c
> Generating Code...
> Error executing cl.exe.


During the build process I still have some error dialogs which I closed to
continue. I usually have not problems with building applications this is the
first time. So I think the Apache2 build package is not complete or
something is missing. Anyway for hints to get me out there thanks in
advance!



"Jim Patterson" <jim-patterson@ncf.ca> schrieb im Newsbeitrag
news:mm45d.29613$bL1.1438101@news20.bellglobal.com ...
> H. Jörg wrote:
> > You're right, its in the Visual Studio \bin directory. Perhaps I really
> > should reinstall it.
> >
> > I installed Cygwin, because I thought I need it for the Apache2 build. I
> > don't use the gcc compiler but I've less warnings/errors while building
> > since cygwin is installed.

>
> If you're compiling from the command line, then look for and "CALL" a
> batch file called VCVARS32.BAT before running NMAKE. That file will set
> up your PATH etc. so that it can find the compiler; maybe that's all you
> need to do.
>
> None of this should be necessary if running from Developer Studio,
> though; it maintains its own path settings. You can find them under
> Tools/Options. It's possible that they have been messed up somehow,
> which would explain the compile error you're getting.
>
>
> --
> Jim Patterson
> Ottawa, Ont
> CANADA



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:36 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0