You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ts...@softhome.net on 2005/06/17 18:53:56 UTC

[users@httpd] Compiling httpd-2.0.54 issue - FNM_PERIOD undeclared

All, 

I'm having some issues compiling httpd-2.0.54
Compilation stops with 

/usr/local/apr-1.1.1/build-1/libtool --silent --mode=compile gcc  -g -O2
 -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
 -DAP_HAVE_DESIGNATED_INITIALI
ZER   -I/usr/local/apr-1.1.1/include/apr-1
 -I/usr/local/apr-util-1.1.2/include/apr-1 -I. -I/tmp/httpd-2.0.54/os/unix
 -I/tmp/httpd-2.0.54/server/mpm/prefork -I/tmp/httpd-2.0.
54/modules/http -I/tmp/httpd-2.0.54/modules/filters
 -I/tmp/httpd-2.0.54/modules/proxy -I/tmp/httpd-2.0.54/include
 -I/tmp/httpd-2.0.54/modules/generators -I/usr/include/opens
sl -I/tmp/httpd-2.0.54/modules/dav/main -prefer-non-pic -static -c config.c
&& touch config.lo
config.c: In function `ap_process_resource_config':
config.c:1603: error: `FNM_PERIOD' undeclared (first use in this function)
config.c:1603: error: (Each undeclared identifier is reported only once
config.c:1603: error: for each function it appears in.)
make[2]: *** [config.lo] Error 1
make[2]: Leaving directory `/tmp/httpd-2.0.54/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.0.54/server'
make: *** [all-recursive] Error 1 

I've googled and dont see anything except
http://hypermail.linklord.com/new-httpd/2004/May/4949.html 

I've compiled and installed
openldap-2.2.26
apr-1.1.1
apr-util-1.1.2
openssl-0.9.7g 

I'm doing this so I can get apache2 and use the ldap modules to connect
to AD's ldap server for authenticating users. 

I've configured apache like this 

./configure --prefix=/usr/local/httpd-2.0.54 --enable-ldap
 --enable-auth-ldap --enable-so --enable-ssl
 --with-apr=/usr/local/apr-1.1.1/bin/apr-1-config
 --with-apr-util=/usr/local/apr-util-1.1.2/bin/apu-1-config
 --with-ssl=/usr/local/openssl-0.9.7g/include/openssl 

I'm building on Slackware 10.1 (2.4.29) 

When googling I dont see anyone else who has had the same issue so I
guess I'm doing something wrong? But what? This isn't in Apache FAQs 

Regards

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Compiling httpd-2.0.54 issue - FNM_PERIOD undeclared

Posted by Joshua Slive <js...@gmail.com>.
On 6/17/05, tsr@softhome.net <ts...@softhome.net> wrote:
> All,
> 
> I'm having some issues compiling httpd-2.0.54

> I've configured apache like this
> 
> ./configure --prefix=/usr/local/httpd-2.0.54 --enable-ldap
>  --enable-auth-ldap --enable-so --enable-ssl
>  --with-apr=/usr/local/apr-1.1.1/bin/apr-1-config
>  --with-apr-util=/usr/local/apr-util-1.1.2/bin/apu-1-config
>  --with-ssl=/usr/local/openssl-0.9.7g/include/openssl

I haven't tried it myself, but I don't think you can compile
httpd-2.0.x with APR 1.1.  You should be using the APR included with
httpd-2.0.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org