On 03/24/2010 02:41 AM, [email protected] wrote: > > Hi Developers, > > this is to report a problem while building grep 2.6 and to give possible > solution. > > When the execution of the makefile comes to build main.c I get the > following messages (sources were untarred > in /export/home/freeware/sources/grep-2.6, executables were build > in /export/home/freeware/objects/grep-2.6): > > . > . > . > CC main.o > /export/home/freeware/sources/grep-2.6/src/main.c:41:20: getopt.h: No > such file or directory
Hmm, I could not reproduce this on cygwin-1.5, which is another platform where the system getopt.h is deficient. Which platform are you on? > > ln > -s /export/home/freeware/objects/grep-2.6/lib/getopt.h > /export/home/freeware/objects/grep-2.6/src/getopt.h > 2>&1 Yes, that's a simple hack to fix the issue, but I'd really like to understand why it is happening in the first place. Would you mind repeating the failing case with 'make V=1' so we can see whether there was a missing -I directive on the gcc command line? -- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
