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: install(apxs)error no libhttpd library found \httpd/lib
Author
jondspen



Joined: 03 Sep 2009
Posts: 1

PostPosted: Thu 03 Sep '09 21:10    Post subject: install(apxs)error no libhttpd library found \httpd/lib Reply with quote

Installing apxs for win 32 on a Server 2008 machine. Using ActivePerl and MinGS. Run the following command:

perl configure.pl --with-apache-prog=httpd.exe

I then get the setup gcc environment message and put in my path to apache

c:\program files (x86)\collabnet subversion server\httpd

I am then prompted for my Apache program name (httpd.exe)

I then get the error:
"No libhttpd library found under c:\program files (x86)\collabnet subversion server\httpd/lib at util.pl line 27, <STDIN> line2.

It looks like the util.pl script is trying to put in a forward slash (linux pathing convention) when it should be using a backslash. I tried to modify the script, but don't know PERL at all and everything I have changed does not seem to work. Perhaps its me, b/c it doesn't seem intuitive a win32 install package would be using linux convention for anything...but stranger things have happened.

Any suggestions, help, or insights to what I am doing wrong here? Thanks!
Back to top
afaxwebgirl



Joined: 17 Sep 2009
Posts: 1

PostPosted: Thu 17 Sep '09 23:51    Post subject: Reply with quote

Hi Jondspen,

We got the same error. Were you ever able to find a resolution to this issue?
Back to top
glsmith
Moderator


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

PostPosted: Fri 18 Sep '09 18:16    Post subject: Reply with quote

Like Apache, perl uses *nix path conventions so try feeding it
c:/program files (x86)/collabnet subversion server/httpd

if not, when modifying the script you would need to replace
unless -e qq{$apache/lib/libhttpd.lib};
with
unless -e qq{$apache\\lib\\libhttpd.lib}; # note the double \\

and likewise for the others that are similar
Back to top
Calorus



Joined: 17 Aug 2010
Posts: 2
Location: London

PostPosted: Tue 17 Aug '10 21:54    Post subject: Reply with quote

I'm struggling with this, too.

Config.pl is looking for files end with '.lib' in a folder called lib.

I've tried using the prog name switch, however it still looks for files in the lib library.

Has anyone had these issues? Are there any tricks I can try?

Many thanks!
Back to top
glsmith
Moderator


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

PostPosted: Wed 18 Aug '10 8:13    Post subject: Reply with quote

Well, let's say Apache 2.2 is installed at C:\Apache22 for ease.
Here then is the full folder tree;

C:\Apache22
_____\-bin <- libapr-1.dll libapriconv-1.dll libaprutil-1.dll libhttpd.dll among others
_____\-cgi-bin
_____\-conf
_____\-error
_____\-htdocs
_____\-icons
_____\-include <- lots of .h header files
_____\-lib <- libapr-1.lib libapriconv-1.lib libaprutil-1.lib libhttpd.lib among others
_____\-logs
_____\-manual
_____\-modules

If you do not have lib & include, you will not be able to build modules. Anyhow, this is what apxs is looking for.
Back to top
Calorus



Joined: 17 Aug 2010
Posts: 2
Location: London

PostPosted: Fri 17 Sep '10 17:18    Post subject: Reply with quote

Ah-ha...

Right this is pretty much what I'd expected to be missing...

However, do you happen to know where I might find those folders to install manually? Or if there is an Apache installation I should have used or some parameters I should have set on installation?

Many thanks!
Back to top
glsmith
Moderator


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

PostPosted: Fri 17 Sep '10 18:01    Post subject: Reply with quote

The one on the download page here, or at www.apachehaus.com ... or the official one at httpd.apache.org
Back to top
Amit



Joined: 28 Sep 2010
Posts: 1
Location: Bangalore

PostPosted: Tue 28 Sep '10 9:07    Post subject: Reply with quote

Calorus wrote:
Ah-ha...

Right this is pretty much what I'd expected to be missing...

However, do you happen to know where I might find those folders to install manually? Or if there is an Apache installation I should have used or some parameters I should have set on installation?

Many thanks!

Hii Calorus,

Am facing same problem ,i would to like to ask 2 things.
1. What parameter i have to give when prompted to my Apache program name (httpd.exe)
2.Did you find those two folder(lib,include) and if yes wher can i find them??

waiting for response..
THANKS
Back to top
zdavatz



Joined: 13 Jan 2011
Posts: 2

PostPosted: Thu 13 Jan '11 10:03    Post subject: No libhttpd library found under C:\Apache2.2\/lib at util.pl Reply with quote

I am facing the same issue here on Windows Vista, with apache and apxs_win32

http://www.apachelounge.com/download/apxs_win32.zip

sh-3.1$ /c/Perl/bin/perl.exe Configure.pl
Set up gcc environment - 3.4.5 (mingw-vista special r3)
No libhttpd library found under C:\Apache2.2\/lib at util.pl line 27.

Best
Zeno
Back to top


Reply to topic   Topic: install(apxs)error no libhttpd library found \httpd/lib View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads