LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2004, 02:17 PM   #1
Athens101com
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Angry Mod_GZIP


Hello all this is my first post!

Our webserver is running Apache 1.3 on a Ultra SPARC 5 that runs Aurora Linux 1.0.

I downloaded the source and prepared to compile mod_gzip as a module. Well when I ran ./configure --activate-module=src/modules/gzip/mod_gzip.c everything looks fine. But when I run make or gmake it dies out with this error "Makefile:70 *** missing seperator. Stop. "

I am not a programer in any shape form or fassion so any ideas would be welcome. The author of mod_gzip told me it was due to the system being a SPARC?

Here is the generated Makefile

-----------------------------------------
##
## Apache Makefile, automatically generated by Configure script.
## Hand-edited changes will be lost if the Configure script is re-run.
## Sources: - ../../Makefile.config (via Configuration.apaci)
## - ./Makefile.tmpl
##

##
## Inherited Makefile options from Configure script
## (Begin of automatically generated section)
##
SRCDIR=../..
EXTRA_CFLAGS=`$(SRCDIR)/apaci`
EXTRA_LDFLAGS=
EXTRA_LIBS=
EXTRA_INCLUDES=
EXTRA_DEPS=
OSDIR=$(SRCDIR)/os/unix
INCDIR=$(SRCDIR)/include
INCLUDES0=-I$(OSDIR) -I$(INCDIR)
SHELL=/bin/sh
OS=Linux
CC=gcc
CPP=gcc -E
TARGET=httpd
OPTIM=
PHP_CFLAGS= -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/db1 -I/usr/src/php-4.3.8/main -I/usr/src/php-4.3.8/Zend -I/usr/src/php-4.3.8/TSRM -I/usr/src/php-4.3.8 -I/usr/src/php-4.3.8/sapi/apache -I/usr/src/php-4.3.8/main -I/usr/src/php-4.3.8/Zend -I/usr/src/php-4.3.8/TSRM
PHP_LIBS= -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -rdynamic -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -lm -lcrypt -lndbm
CFLAGS1= -DLINUX=22 -DHAVE_SET_DUMPABLE -I/usr/include/db1 -DNO_DL_NEEDED
INCLUDES1=
LIBS_SHLIB=
LDFLAGS1=
MFLAGS_STATIC=--no-print-directory
REGLIB=
EXPATLIB=
RANLIB=ranlib
LIBS1= -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -rdynamic -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -lm -lcrypt -lndbm -lexpat
##
## (End of automatically generated section)
##

##
## Default Makefile options from Configure script
## (Begin of automatically generated section)
##
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
LIBS=$(EXTRA_LIBS) $(LIBS1)
INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
INCDIR=$(SRCDIR)/include
LIBEXT=c
##
## (End of automatically generated section)
##

LIB=libgzip.$(LIBEXT)

OBJS=\
mod_gzip.o \
mod_gzip_compress.o mod_gzip_debug.o
OBJS_PIC=\
mod_gzip.lo \
mod_gzip_compress.lo mod_gzip_debug.lo

all: lib

lib: $(LIB)

libgzip.a: $(OBJS)
rm -f $@
ar cr $@ $(OBJS)
$(RANLIB) $@

libgzip.so: $(OBJS_PIC)
rm -f $@
$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(OBJS_PIC) $(LIBS_SHLIB)

libgzip.dll: $(OBJS_PIC) mod_gzip.def
if [ "x$(OS)" = "xCygwin" ]; then \
rm -f $@; \
if [ -f "$(SRCDIR)/$(SHCORE_IMPLIB)" ]; then \
$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $*.dll $(OBJS_PIC) $(LIBS_SHLIB) \
$(SRCDIR)/$(SHCORE_IMPLIB) $(LIBS1); \
fi \
else \
$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $* $(OBJS_PIC) $(LIBS_SHLIB); \
emxbind -b -q -s -h0 -dmod_gzip.def $* && \
rm $*; \
fi

.SUFFIXES: .o .lo .dll

.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $<

.c.lo:
$(CC) -c $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $< && mv $*.o $*.lo

clean:
rm -f $(OBJS) $(OBJS_PIC) $(LIB)

distclean: clean
-rm -f Makefile

# We really don't expect end users to use this rule. It works only with
# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after
# using it.
depend:
cp Makefile.tmpl Makefile.tmpl.bak \
&& sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
&& gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
&& sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
-e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
> Makefile.tmpl \
&& rm Makefile.new

#Dependencies

$(OBJS) $(OBJS_PIC): Makefile

# DO NOT REMOVE
mod_gzip.o: mod_gzip.c mod_gzip.h mod_gzip_debug.h \
$(INCDIR)/httpd.h $(INCDIR)/http_config.h \
$(INCDIR)/http_core.h $(INCDIR)/http_log.h \
$(INCDIR)/http_main.h $(INCDIR)/http_protocol.h \
$(INCDIR)/http_request.h $(INCDIR)/util_script.h
mod_gzip_debug.o: mod_gzip_debug.c mod_gzip_debug.h \
$(INCDIR)/httpd.h $(INCDIR)/http_config.h \
$(INCDIR)/http_log.h mod_gzip.h
mod_gzip_compress.o: mod_gzip_compress.c \
$(INCDIR)/httpd.h $(INCDIR)/http_config.h \
$(INCDIR)/http_log.h mod_gzip.h
--------------------------------------------------------------------------------
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install mod_gzip for a linux newbie PLEASE HELP johnball Fedora 2 06-02-2005 10:56 PM
Just installed mod_gzip - be on the lookout! jeremy LQ Suggestions & Feedback 2 03-28-2005 06:20 AM
Apache mod_gzip: fails to compress PHP Apollo77 Linux - Software 2 02-18-2005 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration