logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Apache -- for Axis2/C
Author
saju



Joined: 30 Mar 2011
Posts: 2
Location: India

PostPosted: Wed 30 Mar '11 5:09    Post subject: Apache -- for Axis2/C Reply with quote

Hi,
I am a new user trying to install Apache, with an eventual goal of installing Axis2/C for a client/server project. The Operating System is Windows-Vista.

Downloaded/Installed: httpd-2.2.17-win32-x86-openssl-0.9.8o

Apache installs, and I am able to "Start" the service as well.

Now, I am trying to build the mod_axis2.dll, for the Axis2/C installation, but, as part of the build, it needs the following files:
apr-1.lib,
xml.lib
libhttpd.lib
libapr-1.lib
libaprutil-1.lib

I could not find these files under the "C:/Program Files/Apache Software Foundation/Apache2.2" area. After some internet searching, installed the Apache Source files - httpd-2.2.17-win32-src, which contains the
"include",
"srclib"
folders, and copied them over to the Apache install area. These folders removed some of the errors (on missing apr*.h files), but, the above .lib files (like apr-1.lib) are still not found.

Could somebody please let me know on how to fix this problem ?

Thanks!

Regards,
- Saju
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 30 Mar '11 5:26    Post subject: Reply with quote

I just downloaded that file from apache.org and the .lib files are in
c:\program files\Apache Software Foundation\Apache2.2\lib
Back to top
saju



Joined: 30 Mar 2011
Posts: 2
Location: India

PostPosted: Wed 30 Mar '11 6:56    Post subject: Reply with quote

Hi,
Thanks for the prompt response.
So, are you indicating that the "lib" folder was part of your standard Apache install itself...
Strange, since my downloaded version did not have the "lib" folder at all.
In any case, I downloaded the apr source files, and built the apr-1.lib now.

However, I still dont have the
xml.lib
libhttpd.lib
libapr-1.lib
libaprutil-1.lib

Could you please help me locate them..
Thanks, and Regards,
- Saju.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 31 Mar '11 4:17    Post subject: Reply with quote

If you are building with Visual Studio 2008 it would be best to use an Apache from here or apachehaus.com as these are built on VC 2008 and at least the ones at apachehaus.com include the libraries & includes, the ones here too last time I checked.

Apache.org builds are VC 6.0 (circa 1998).

If you are building with VC 2010 it would be best to build everything with that version of the compiler, httpd, apr, apr-util, apr-iconv. If you built apr no problem, the rest is rather easy but here's where these come from.

libapr-1.lib/dll are in APR (as you've found out)
libaprutil-1.lib/dll and xml.lib are in APR-Util
libhttpd.lib is part of Apache itself

the Win32 sources for httpd-2.2.x include everything needed for a vanilla no-ssl/no mod_deflate build.
Back to top


Reply to topic   Topic: Apache -- for Axis2/C View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads