Project

General

Profile

Actions

Bug #1349

closed

gnu make broken when building outside src directory.

Added by Anonymous about 17 years ago. Updated over 16 years ago.

Status:
Fixed
Priority:
Low
Category:
build_cmake
Target version:
ASK QUESTIONS IN Forums:

Description

When compiling lighttpd outside of the sources directory, make fails. This bug was introduced somewhere between version 1.4.16 and 1.4.18.


../src/lemon -q /u/bryan/dev/extsrc-test/extsrc/bin/lighttpd/src/configparser.y /u/bryan/dev/extsrc-test/extsrc/bin/lighttpd/src/lempar.c
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/u/bryan/dev/extsrc-test/release/lib\"" -DSBIN_DIR="\"/u/bryan/dev/extsrc-test/release/sbin\"" -I. -I.. -I/u/bryan/dev/extsrc-test/extsrc/bin/lighttpd/src   -I/u/bryan/dev/extsrc-test/release/include -D_REENTRANT -D__EXTENSIONS__ -DOPENSSL_NO_KRB5 -I/u/bryan/dev/extsrc-test/release/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT configfile.o -MD -MP -MF .deps/configfile.Tpo -c -o configfile.o configfile.c
gcc: configfile.c: No such file or directory
gcc: no input files
make[2]: *** [configfile.o] Error 1
make[2]: Leaving directory `/u/bryan/dev/extsrc-test/build/extsrc/bin/lighttpd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/bryan/dev/extsrc-test/build/extsrc/bin/lighttpd'
make: *** [all] Error 2

-- bryan


Files

Actions #1

Updated by stbuehler almost 17 years ago

I tried build in subdir "build/" of the source (checkout; ./autogen.sh: mkdir build; cd build; ../configure; make)

Without patch i got the same error, with patch it compiled.

Applied patch in my normal build dir, and it didn't break - so i hope it works ;-)

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2088

Actions

Also available in: Atom