Ticket #1349 (closed defect: fixed)

Opened 8 months ago

Last modified 2 months ago

gnu make broken when building outside src directory.

Reported by: bryan@starling-software.com Assigned to: jan
Priority: low Milestone: 1.5.0
Component: build_cmake Version: 1.4.18
Severity: minor Keywords: patch
Cc: Blocking:
Need Feedback: 0

Description (Last modified by jan)

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

Attachments

0010-Fix-building-outside-of-the-src-dir.patch (1.1 kB) - added by stbuehler on 02/17/2008 06:47:18 PM.

Change History

09/10/2007 07:58:53 AM changed by jan

  • description changed.

02/17/2008 06:47:18 PM changed by stbuehler

  • attachment 0010-Fix-building-outside-of-the-src-dir.patch added.

02/17/2008 06:49:22 PM changed by stbuehler

  • keywords changed from build make to patch.

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 ;-)

02/26/2008 04:30:54 PM changed by stbuehler

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [2088]


Add/Change #1349 (gnu make broken when building outside src directory.)




Change Properties
Action