Project

General

Profile

Bug #1349

gnu make broken when building outside src directory.

Added by Anonymous over 9 years ago. Updated almost 9 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
build_cmake
Target version:
Start date:
Due date:
% Done:

0%

Missing in 1.5.x:

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

0010-Fix-building-outside-of-the-src-dir.patch View (1.14 KB) stbuehler, 2008-02-17 18:47

Associated revisions

Revision 26c45e80 (diff)
Added by stbuehler almost 9 years ago

r2093@chromobil: stefan | 2008-02-26 17:10:03 +0100
Fix #1349: building outside of the src dir

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2088 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler almost 9 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 ;-)

#2 Updated by stbuehler almost 9 years ago

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

Fixed in r2088

Also available in: Atom