tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satya Narayan Dash" <ndsa...@rediffmail.com>
Subject Compilation Error !! mod_jk.dll, Apache 2.0.47 + Connector 4.1.27
Date Tue, 23 Sep 2003 19:38:08 GMT
Hi All,

I am getting a compilation error while generating the mod_jk.dll 
for
Apache 2.0.47 and Connector 4.1.27.

These are the steps I followed.

1. Took the sources of Apache and Connector and set APACHE2_HOME 
and
    JAVA_HOME.

2. From the prompt I run, MSDEV mod_jk.dsp /MAKE ALL. (VC++ 6.0)

3. Intially it threw error w.r.t Apache jk_uri_worker_map.c. Then 
I
    took the latest one from CVS , 1.84 version. The error got 
resolved.

4. Now I am getting an error as

    Compiling...
    mod_jk.c
    
C:\Satya\downloads\Apache_Src\httpd-2.0.47\include\ap_config.h
    (58) :  fatal error C1083:    Cannot open include file: 
'apr.h': No
    such file or directory
    Error executing cl.exe.

    I tried to take the latest one of "ap_config.h" from CVS . But 
the
    same problem persists. I could not find the "apr.h". All I can 
find
    is apr.h.in, aph.hnw and apr.hw.

    I am trying to get het .dll file for a long time. But unable 
to find
    any workaround.

    Your help is gratefully appreicated. Let me know if it is an 
issue
    or I have to include something else.


P.S: The complete logs for the Debug and Release are as follows.


--------------------Configuration: apache - Win32 
Release--------------------

Command Lines
Creating temporary file 
"C:\DOCUME~1\gkrishna\LOCALS~1\Temp\RSP9BC.tmp" with contents
[
/nologo /MD /W3 /O2 /I "..\common" /I "C:\j2sdk1.4.1\include" /I 
"C:\j2sdk1.4.1\include\win32" /I 
"C:\Satya\downloads\Apache_Src\httpd-2.0.47\include" /I 
"C:\Satya\downloads\Apache_Src\httpd-2.0.47\srclib\apr\include" /I 
"C:\Satya\downloads\Apache_Src\httpd-2.0.47\srclib\apr-util\include" 
/D "NDEBUG" /D "WIN32" /D "_WINDOWS" /Fo"Release/" 
/Fd"Release\mod_jk" /FD /c
"C:\Satya\downloads\Connector\jakarta-tomcat-connectors-4.1.27-src\jk\native\apache-2.0\mod_jk.c"
]
Creating command line "cl.exe 
@C:\DOCUME~1\gkrishna\LOCALS~1\Temp\RSP9BC.tmp"
Creating temporary file 
"C:\DOCUME~1\gkrishna\LOCALS~1\Temp\RSP9BD.tmp" with contents
[
libhttpd.lib libapr.lib libaprutil.lib kernel32.lib user32.lib 
advapi32.lib wsock32.lib /nologo /dll /incremental:no 
/pdb:"Release/mod_jk.pdb" /machine:I386 /out:"Release/mod_jk.dll" 
/implib:"Release/mod_jk.lib" 
/libpath:"C:\Satya\downloads\Apache_Src\httpd-2.0.47\Release" 
/libpath:"C:\Satya\downloads\Apache_Src\httpd-2.0.47\srclib\apr\Release" 
/libpath:"C:\Satya\downloads\Apache_Src\httpd-2.0.47\srclib\apr-util\Release" 
/libpath:"C:\Satya\downloads\Apache_Src\httpd-2.0.47\lib"
".\Release\jk_ajp12_worker.obj"
".\Release\jk_ajp13.obj"
".\Release\jk_ajp13_worker.obj"
".\Release\jk_ajp14.obj"
".\Release\jk_ajp14_worker.obj"
".\Release\jk_ajp_common.obj"
".\Release\jk_connect.obj"
".\Release\jk_context.obj"
".\Release\jk_jni_worker.obj"
".\Release\jk_lb_worker.obj"
".\Release\jk_map.obj"
".\Release\jk_md5.obj"
".\Release\jk_msg_buff.obj"
".\Release\jk_pool.obj"
".\Release\jk_sockbuf.obj"
".\Release\jk_uri_worker_map.obj"
".\Release\jk_util.obj"
".\Release\jk_worker.obj"
".\Release\mod_jk.obj"
]
Creating command line "link.exe 
@C:\DOCUME~1\gkrishna\LOCALS~1\Temp\RSP9BD.tmp"
Output Window
Compiling...
mod_jk.c
C:\Satya\downloads\Apache_Src\httpd-2.0.47\include\ap_config.h(58) 
: fatal error C1083: Cannot open include file: 'apr.h': No such 
file or directory
Error executing cl.exe.

Results
mod_jk.dll - 1 error(s), 0 warning(s)




___________________________________________________
Art meets Anesthesia; Shefali Weds Dr. Raman.
Rediff Matchmaker strikes another interesting match !!
Visit http://matchmaker.rediff.com?1


Mime
View raw message