[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian/rules not running ./configure



On Sun, Oct 26, 2003 at 08:22:26PM +1100, Zenaan Harkness wrote:
> What happens when you do debian/rules config.status?
> 
> $ ./debian/rules config.status
> dh_testdir
> # Add here commands to configure the package.
> CFLAGS=-Wall -g -O2 ./configure --host=i386-linux --build=i386-linux
> --prefix=/usr --mandir=\${prefix}/share/man
> --infodir=\${prefix}/share/info
> /bin/sh: line 1: -g: command not found
> make: *** [config.status] Error 127
[...]

You are missing quotes, i.e.
CFLAGS="-Wall -g -O2" ...
or
CFLAGS="$(CFLAGS)" ./configure ...
                 cu andreas



Reply to: