Hi All,
When I tried to build the WSF/C from the zip (wso2-wsf-c-src-1.3.0.zip) which I downloaded from the site, it gives me the following errors,
mod_axis2.c
c:\wsfc\axis2c\src\core\transport\http\server\apache2\axis2_apache2_out_transport_info.h(33) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory
..\..\src\core\transport\http\server\apache2\mod_axis2.c(19) : fatal error C1083
: Cannot open include file: 'httpd.h': No such file or directory c:\wsfc\axis2c\src\core\transport\http\server\apache2\apache2_stream.h(25) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory c:\wsfc\axis2c\src\core\transport\http\server\apache2\apache2_stream.h(25) : fatal error C1083: Cannot open include file: 'httpd.h': No such file or directory NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe"' : return code '0x2'Stop.
I tried with Windows XP SP2, Windows 2003, and with both VC 8 and VC 9. I even tried with 1.2 but still it gave me the same error.
What could be the reason for this ?
Regards,
Primal
Can you make sure you have
Can you make sure you have apache httpd installed in your computer?
You have to set APACHE_BIN_DIR in configure.in to where you installed apache. Even though the variable is called APACHE_BIN_DIR, it is not the bin directory of the apache. you have to set the root directory of apache (something like C:\Program Files\Apache Software Foundation\Apache2.2)
No mod_axis2
What if I don't want to build mod_axis2?
In the build instructions for the WSF/C++ it says Apache is optional. But the build.bat script give me this error. Can I alter a build script to have it not try to build the Apache or IIS stuff? I only want to use the Axis2 simple server.
Re
Current we do not have the option of not building Axis2/C apache and IIS modules. But if you do not want to have them you can do the following to avoid building those dlls. Go to \axis2c\build\win32 directory and open the makefile. It would have dist target as follows
dist: install axis2_apache_module axis2_IIS_module axis2_cgi tcpmon copy_samples copy_vc_projects clean_manifest mv_dist
Remove the axis2_apache_module axis2_IIS_module entries and then run the build.bat file from the topmost directory.
Regards
Nandika