httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <mar...@apache.org>
Subject Re: make: *** [flood.lo] Error 1
Date Tue, 04 Sep 2007 10:26:11 GMT
On Tue, Sep 04, 2007 at 01:11:24PM +0300, Villem Alari wrote:
> On 04.09.2007, at 12:29, Martin Kraemer wrote:
> 
> >On Tue, Sep 04, 2007 at 12:07:04PM +0300, Villem Alari wrote:
> >>>>I have error and can't install Flood. Error is:
> >>>>
> >>>>/usr/share/apr-1.0/build/libtool --silent --mode=compile gcc    - 
> >>>>g -
> >>>>O2  -pipe -Wall -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -
> >>>>D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/
> >>>>include/apr-1.0 -I/usr/include/postgresql -I.   -c flood.c &&
touch
> 
> I typed in libtool --mode=compile --tag=CC $(BASE_CC) @SHLTCFLAGS@ -c  
> $< && touch $@ command into terminal but it said:
> 
> -bash: syntax error near unexpected token `&&'

The patch shows what's in the Makefile -- and the make command
substitutes $(BASE_CC), $< and $@ etc.

You should have tried (as in your original log above):
  /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=CC \
    gcc -g -O2 -pipe -Wall -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -I. -c flood.c \
    && touch flood.lo
(perhaps dropping the "--silent" so that you can see the command
which is executed by libtool).

   Martin
-- 
<Martin.Kraemer@Fujitsu-Siemens.com>        |     Fujitsu Siemens
http://www.fujitsu-siemens.com/imprint.html | 81730  Munich,  Germany

Mime
View raw message