X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=u+xYtqHyQKdYmBJ28qVVqZOlPV5R7Pq8AYtmBkkH5Id MYurx/BC8kQcCMPmghgZL3/HsSF4hZcfR6IG60Qoms9VOU/vS5k3zFumgkAVg0VZ si/R1S2guhPETRTYWHjO0qbTNNCE6r8cqCv4SvT4yg/qTBvhicj0p9mS+aGDOGSc = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=R39Kp+PMrDmU/qSW69YZ1ZHFqHo=; b=yiSUxjWcjih6Pb31h mOuvoaV0mA33LfzBGbF5trXsxDqpUbIyvd9XKP91ubPwuSZ1gnwdpaRcc+os93Eq By4RJE5UU2uoErs59WEx4K1mr2B5SZTZWzRQjoVi3P+vekgzJ0nuriS3tA8gtyZt 1oJiMC5v3lhkuNW/SwdZb3N5F4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wi0-f170.google.com X-Received: by 10.180.214.99 with SMTP id nz3mr5172152wic.82.1427804548912; Tue, 31 Mar 2015 05:22:28 -0700 (PDT) Message-ID: <551A917A.9010705@gmail.com> Date: Tue, 31 Mar 2015 14:22:18 +0200 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Compiling nano from source References: <9D9AC45310887B40A7245734E850FBE1125C44DD AT FS-MX02 DOT frontier DOT local> <9D9AC45310887B40A7245734E850FBE1125C4526 AT FS-MX02 DOT frontier DOT local> In-Reply-To: <9D9AC45310887B40A7245734E850FBE1125C4526@FS-MX02.frontier.local> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 3/31/2015 2:09 PM, Fergus Daly wrote: > The editor nano-2.4.0 comes with Cygwin. But recently a patch to nano-2.4.0 has been made available on nano-devel which I would like to try on a Cygwin platform. I'll need to patch nano from source. So I downloaded the source direct from the nano site. > Starting with ./configure works fine. Then make proceeds quite energetically for a while but then fails as follows: > > gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -D_XOPEN_SOURCE=600 -g -O2 -Wall -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.c > text.c: In function 'do_alt_speller': > text.c:2667:5: error: unknown type name '__time_t' > __time_t timestamp; > ^ > Makefile:411: recipe for target 'text.o' failed > make[2]: *** [text.o] Error 1 > make[2]: Leaving directory '/home/user/nano-2.4.0/src' > Makefile:395: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/home/user/nano-2.4.0' > Makefile:333: recipe for target 'all' failed > make: *** [all] Error 2 > > It is possible that I have not installed enough of Cygwin: I installed gcc-core and any dependencies but stopped there. (In the past I have had to be explicit about . bison, flex . and some others.) Can anybody offer advice on what package in Cygwin Devel (or other) I might be missing that is preventing compilation of nano from source? > Or is there a tweak to the script Makefile that I need to attend to? (Actually it's not obvious to me that src/text.o exists.) > Thank you. > Fergus > as the current cygwin package has an additional patch https://cygwin.com/packages/x86/nano/nano-2.4.0-1-src I suggest to download the cygwin source package and compare. (the patch name 2.4.0-time_t.patch seems linked to your problem) Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple