On Tue, 19 Jul 2022 12:42:47 +0200
"Carlo B." wrote:
> Hello,
> I did these actions:
> 1) Downloaded autoconf2.1-2.13-12-src.tar.bz2
> 2) Unpack that file.
> 3) I run this command:
> 
> cygport autoconf2.1.cygport all
> 
> and this is the output on screen:
> 
> >>> Preparing autoconf2.1-2.13-12.x86_64
> >>> Unpacking source autoconf-2.13.tar.gz
> *** Info: applying patch autoconf2.1-texinfo.patch (-p2):
> patching file autoconf.texi
> >>> Preparing working source directory
> *** Info: applying patch autoconf2.1-2.13-12.cygwin.patch (-p2):
> patching file CYGWIN-PATCHES/autoconf2.1.README
> >>> Compiling autoconf2.1-2.13-12.x86_64
> *** ERROR: could not detect autoconf version; perhaps set AUTOCONF_VERSION?
> 
> Have you an idea of the cause of the problem?
> I tried to download and rebuild also autoconf2.5 and autoconf2.7 and
> they worked fine, only 2.1 fails.
> Thank you very much for your time.

I could build autoconf2.1 successfully by the following steps.


1) Modify autoconf2.1.cygport as follows.

diff --git a/autoconf2.1.cygport.orig b/autoconf2.1.cygport
index c8b075f..6876c3c 100755
--- a/autoconf2.1.cygport.orig
+++ b/autoconf2.1.cygport
@@ -28,7 +28,7 @@ src_compile() {
        cd ${B}
        cygconf --program-suffix=-2.13
        cygmake -j1
-       (makeinfo --no-split -I ${S} -o autoconf2.13.info autoconf.texi)
+       (makeinfo --no-split -o autoconf2.13.info ${S}/autoconf.texi)
 }
 
 DIFF_EXCLUDES="autoconf.info standards.info stamp-vti version.texi"

2) Run 'export AUTOCONF_VERSION=2.13'
3) Run 'cygport autoconf2.1.cygport all'

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to