sshutdownow / mod-myvhost

Automatically exported from code.google.com/p/mod-myvhost
Apache License 2.0
5 stars 5 forks source link

build fails #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download 0.15v
2. extract
3. make

What is the expected output? What do you see instead?
 - should build the module but i get this error:
/usr/local/apache/bin/apxs -c -Wc,-Wall `mysql_config --include` -DWITH_PHP
-DWITH_UID_GID -DWITH_CACHE -DDEBUG `mysql_config --libs` mod_myvhost.c
mod_myvhost_cache.c ap_hash.c escape_sql.c
apxs:Error: Unknown option: r
apxs:Error: Unknown option: d
apxs:Error: Unknown option: y
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
make: *** [mod_myvhost.so] Error 1 

What version of the product are you using? On what operating system?
0.15, happens an centos5 i386 and ubuntu 8.04 tls amd64.

Please provide any additional information below.

/usr/local/apache/bin/httpd -v
Server version: Apache/1.3.41 (Unix)
Server built:   Nov 20 2008 15:01:14

Original issue reported on code.google.com by lucia...@gmail.com on 20 Nov 2008 at 11:43

GoogleCodeExporter commented 9 years ago
It seems it doesnt like my MYSQLLDFLAGS:
#/opt/mysql/bin/mysql_config --libs
-rdynamic -L/opt/mysql/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm

Removing -rdynamic fixed it. Let's see how well it runs now.

Original comment by lucia...@gmail.com on 20 Nov 2008 at 11:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I believe that I fixed problem, new Makefile avialable at subversion tree -
/mod-myvhost/branches/1.3.xx/Makefile

Original comment by iPop...@gmail.com on 5 Oct 2009 at 11:53

GoogleCodeExporter commented 9 years ago
I believe that I fixed problem, new Makefile avialable at subversion tree -
/mod-myvhost/branches/1.3.xx/Makefile

Original comment by iPop...@gmail.com on 5 Oct 2009 at 11:54

GoogleCodeExporter commented 9 years ago
Welcome back! :>

Original comment by lucia...@gmail.com on 7 Oct 2009 at 8:58