Author |
|
jondspen
Joined: 03 Sep 2009 Posts: 1
|
Posted: Thu 03 Sep '09 21:10 Post subject: install(apxs)error no libhttpd library found \httpd/lib |
|
|
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
|
Posted: Thu 17 Sep '09 23:51 Post subject: |
|
|
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
|
Posted: Fri 18 Sep '09 18:16 Post subject: |
|
|
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
|
Posted: Tue 17 Aug '10 21:54 Post subject: |
|
|
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
|
Posted: Wed 18 Aug '10 8:13 Post subject: |
|
|
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
|
Posted: Fri 17 Sep '10 17:18 Post subject: |
|
|
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
|
Posted: Fri 17 Sep '10 18:01 Post subject: |
|
|
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
|
Posted: Tue 28 Sep '10 9:07 Post subject: |
|
|
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
|
Posted: Thu 13 Jan '11 10:03 Post subject: No libhttpd library found under C:\Apache2.2\/lib at util.pl |
|
|
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 |
|