Colly Murray | 1 Jul 11:55

Cannot locate special.mk file

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
-------------------------------------------------------------------------
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
_______________________________________________
mod-security-users mailing list
mod-security-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Brian Rectanus | 1 Jul 18:08

Re: Cannot locate special.mk file

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
Ivan Ristic | 1 Jul 18:18

Re: Cannot locate special.mk file

Do you have a good reason for using 2.1.7 instead of the latest 2.5.5?

On Tue, Jul 1, 2008 at 10:56 AM, Colly Murray <colin.murray <at> dit.ie> 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
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> mod-security-users mailing list
> mod-security-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-security-users
>
>

--

-- 
Ivan Ristic

-------------------------------------------------------------------------
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

Gmane