[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem while building grep 2.6 and possible solution
From: |
Eric Blake |
Subject: |
Re: Problem while building grep 2.6 and possible solution |
Date: |
Wed, 24 Mar 2010 17:13:43 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3 |
On 03/24/2010 02:41 AM, address@hidden 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 address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature