1 Jul 18:08
Re: Cannot locate special.mk file
From: Brian Rectanus <Brian.Rectanus <at> breach.com>
Subject: Re: Cannot locate special.mk file
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-07-01 16:08:42 GMT
Subject: Re: Cannot locate special.mk file
Newsgroups: gmane.comp.apache.mod-security.user
Date: 2008-07-01 16:08:42 GMT
Hi,
It should be in the build dir. You can locate the build dir via an apxs
query shuch as:
$ apxs -q INSTALLBUILDDIR
/usr/share/apache2/build
Perhaps you do not have the apache2-devel package installed? You will
also need the -devel packages for APR, APR-Util, PCRE, etc.
-B
Colly Murray wrote:
> Hi there
>
>
>
> I'm getting an error when I execute the "make"
> /modsecurity-apache_2.1.7/apache2:
>
>
>
> Makefile:40: /usr/local/apache2/build/special.mk: No such file or
> directory......... the
> special.mk doesnt exist in that directory...
>
>
>
> The files that are in /usr/local/apache2/build/are: apr_rules.mk
> libtool make_exports.awk
> make_var_export.awk mkdir.sh
>
>
> When I do a locate special.mk - it turns up nothing... Cannot proceed!
> Help
>
> I'm using httpd 2.2.3 on RHEL5.1 (Tikanga)
>
> Here are some lines from the MakeFile:
>
> top_dir = /usr/local/apache2
>
> top_srcdir = ${top_dir}
> top_builddir = ${top_dir}
>
> include ${top_builddir}/build/special.mk
>
> APXS = apxs
> APACHECTL = apachectl
>
> INCLUDES = -I /usr/lib/libxml2
> #INCLUDES = -I /usr/include/libxml2 -I /path/to/httpd-x.y/srclib/pcre
> DEFS = -DWITH_LIBXML2
> #DEFS = -DWITH_LIBXML2 -DNO_MODSEC_API
> #LIBS = -Lmy/lib/dir -lmylib
>
> CFLAGS = -O2 -g -Wuninitialized -Wall -Wmissing-prototypes -Wshadow -
> Wunused-variable -Wunused-value -Wchar-subscripts -Wsign-compare
>
> all: local-shared-build
>
> clean:
> -rm -f *.o *.lo *.slo *.la *~ .libs
>
>
>
> Thanks in advance
>
>
> This message has been scanned for content and viruses by the DIT
> Information Services E-Mail Scanning Service, and is believed to be
> clean. http://www.dit.ie
>
--
--
Brian Rectanus
Breach Security
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
RSS Feed