Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#13 Compiling problem: "No rule to make target `mod_gzip.a'"

open
nobody
None
5
2003-06-09
2003-06-09
Artem Ryabov
No

Can't install.
Static compling:
$ ./configure \ > "--prefix=/opt/apache" \ > --activate-module=src/modules/gzip/mod_gzip.a \ >
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated gzip module (modules/gzip/mod_gzip.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/gzip
$ make
===> src
make[1]: Entering directory `/usr/local/src/apache_1.3.
27'
make[2]: Entering directory `/usr/local/src/apache_1.3.
27/src'
===> src/regex
make[3]: Nothing to be done for `all'.
<=== src/regex
===> src/os/unix
make[3]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[3]: Nothing to be done for `all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[4]: Nothing to be done for `all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
make[4]: Nothing to be done for `all'.
<=== src/modules/standard
===> src/modules/gzip
Makefile:108: warning: overriding commands for target
`libgzip.a'
Makefile:61: warning: ignoring old commands for target
`libgzip.a'
Makefile:132: warning: overriding commands for target `.
c.o'
Makefile:68: warning: ignoring old commands for target `.
c.o'
Makefile:138: warning: overriding commands for target
`clean'
Makefile:75: warning: ignoring old commands for target
`clean'
Makefile:141: warning: overriding commands for target
`distclean'
Makefile:78: warning: ignoring old commands for target
`distclean'
Makefile:147: warning: overriding commands for target
`depend'
Makefile:82: warning: ignoring old commands for target
`depend'
make[4]: *** No rule to make target `mod_gzip.a',
needed by `libgzip.a'. Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.
27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.
27'
make: *** [build] Error 2
$

Discussion