Hi,
I have never compiled apache in the Windows environment. I have compile in
Linux. I am getting a compile error for the apr_escape.c module. I am sure
the error is because I do not have all of the environment variables set
correctly. What needs to be set?
Here is the path variable.
C:\Program Files\Microsoft SDKs\Windows\v7.1>echo %PATH%
C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319;C:\WINDOWS\Microsoft.NET\Framework64\v3.5;C:\WINDOWS\Mic
rosoft.NET\Framework\v3.5;;C:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
\Tools;;C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\VCPackages;;C:\Pro
gram Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\x64;C:\Program
Files\Microsoft SDKs\Windows\v7.1\Bin\x64;C:\Program Files\Microsoft SDKs\Wi
ndows\v7.1\Bin;;D:\app\hrasja20\product\11.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerSh
ell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program
Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files
(x86)\QuickTime\QTSystem\
;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Windows\system32
Here is the error messages.
echo Building Win32 Release targets (R suffixes)
Building Win32 Release targets (R suffixes)
cd srclib\apr
"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\amd64\nmake.exe" -nologo -f apr.mak CFG="apr -
0
tempfile.bat
cl.exe /nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "./include/arch"
/I "./include/arch/win32" /I "./include/arch/uni
DECLARE_STATIC" /D "WIN32" /D "WINNT" /D "_WINDOWS" /Fo".\LibR\\"
/Fd".\LibR\apr-1" /FD /c .\atomic\win32\apr_atomic.c
apr_atomic.c
cl.exe /nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "./include/arch"
/I "./include/arch/win32" /I "./include/arch/uni
DECLARE_STATIC" /D "WIN32" /D "WINNT" /D "_WINDOWS" /Fo".\LibR\\"
/Fd".\LibR\apr-1" /FD /c .\dso\win32\dso.c
dso.c
cl.exe /nologo /MD /W3 /Zi /O2 /Oy- /I "./include" /I "./include/arch"
/I "./include/arch/win32" /I "./include/arch/uni
DECLARE_STATIC" /D "WIN32" /D "WINNT" /D "_WINDOWS" /Fo".\LibR\\"
/Fd".\LibR\apr-1" /FD /c .\encoding\apr_escape.c
apr_escape.c
.\encoding\apr_escape.c(77) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(77) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(77) : error C2065: 'T_ESCAPE_SHELL_CMD' : undeclared
identifier
.\encoding\apr_escape.c(89) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(89) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(89) : error C2065: 'T_ESCAPE_SHELL_CMD' : undeclared
identifier
.\encoding\apr_escape.c(322) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(322) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(322) : error C2065: 'T_ESCAPE_PATH_SEGMENT' :
undeclared identifier
.\encoding\apr_escape.c(338) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(338) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(338) : error C2065: 'T_ESCAPE_PATH_SEGMENT' :
undeclared identifier
.\encoding\apr_escape.c(406) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(406) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(406) : error C2065: 'T_OS_ESCAPE_PATH' : undeclared
identifier
.\encoding\apr_escape.c(420) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(420) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(420) : error C2065: 'T_OS_ESCAPE_PATH' : undeclared
identifier
.\encoding\apr_escape.c(471) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(471) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(471) : error C2065: 'T_ESCAPE_URLENCODED' : undeclared
identifier
.\encoding\apr_escape.c(491) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(491) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(491) : error C2065: 'T_ESCAPE_URLENCODED' : undeclared
identifier
.\encoding\apr_escape.c(545) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(545) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(545) : error C2065: 'T_ESCAPE_XML' : undeclared
identifier
.\encoding\apr_escape.c(597) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(597) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(597) : error C2065: 'T_ESCAPE_XML' : undeclared
identifier
.\encoding\apr_escape.c(851) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(851) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(851) : error C2065: 'T_ESCAPE_ECHO' : undeclared
identifier
.\encoding\apr_escape.c(924) : error C2065: 'test_char_table' : undeclared
identifier
.\encoding\apr_escape.c(924) : error C2109: subscript requires array or pointer
type
.\encoding\apr_escape.c(924) : error C2065: 'T_ESCAPE_ECHO' : undeclared
identifier
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\amd64\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.
Mit freundlichen Grüßen
Janet Hrasch
Siemens Medical Solutions USA, Inc.
H IT SAP TS BU
1717 Deerfield Rd
60015-0778 Deerfield, IL, USA
Tel: +1 847 267-6075
Mobile: +1 847 323-8463
mailto:[email protected]
This message and any attachments are solely for the use of intended recipients.
The information contained herein may include trade secrets, protected health or
personal information, privileged or otherwise confidential information.
Unauthorized review, forwarding, printing, copying, distributing, or using such
information is strictly prohibited and may be unlawful. If you are not an
intended recipient, you are hereby notified that you received this email in
error, and that any review, dissemination, distribution or copying of this
email and any attachment is strictly prohibited. If you have received this
email in error, please contact the sender and delete the message and any
attachment from your system. Thank you for your cooperation