buliding lftp fails

Andrew Schulman schulman.andrew@epa.gov
Sun Nov 17 20:36:00 GMT 2013


I used to be able to build lftp, but now I can't.  I'd appreciate it if
someone could help me get it done.

I'm attaching my cygport file, and the one patch I use.  This build used to
work fine in i686, but it never has in x86_64.  Now as of lftp 4.4.11, the
build fails in i686 too, with a syntax error:

$ cygport lftp-4.4.11 compile
<snip>
checking for ncurses/term.h... no
checking for library containing tigetstr... no
checking for library containing tgetstr... no
configure: WARNING: No terminfo
checking for readline... yes
/home/andrex/dev/cygwin/lftp/lftp-4.4.11-1/src/lftp-4.4.11/configure: line
48102: syntax error near unexpected token `LIBGNUTLS,'
/home/andrex/dev/cygwin/lftp/lftp-4.4.11-1/src/lftp-4.4.11/configure: line
48102: `   PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 1.0.0,'
*** ERROR: configure failed

My understanding of autotools is weak, so I have no idea why LIBGNUTLS
would be an unexpected token.  I have automake*, autoconf*, libgnutls26,
libgnutls28, and gnutls-devel installed.

I've also tried to use the apparently new-style build from cygports
(http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/lftp;a=commit;h=29a70d86838031f076643ecedf2ded683719f237),
as Yaakov recommended.  Yaakov says it works for him, but all I get is:

$ cygport lftp prep
>>> Preparing lftp
>>> Unpacking source lftp-4.4.10.tar.xz
*** ERROR: SRC_DIR is not correctly defined

At this point I'm out of ideas, and would greatly appreciate any help.

Thanks,
Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lftp-4.4.11-1.cygport
Type: application/octet-stream
Size: 670 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20131117/270e69a2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noexamples.patch
Type: application/octet-stream
Size: 1175 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20131117/270e69a2/attachment-0001.obj>


More information about the Cygwin-apps mailing list