[MacPorts] #20731: lftp fails to compile
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: ports | Version: 1.8.0 Keywords: readline, compile | Port: lftp -----------------------------------+---------------------------------------- lftp fails to compile. '''build_arch''': x86_64 '''Default variants''': +ipv6 +quartz +no_x11 -x11 +nls +tls +ssl +with_default_names {{{ port -d install lftp -tls -nls … checking for tgetstr... yes checking for readline... configure: error: need installed readline-devel package DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_lftp/work/lftp-3.7.6" && ./configure --prefix=/opt/local --with-openssl --without-gnutls --disable-nls " returned error 1 Command output: checking for a thread-safe mkdir -p... /opt/local/bin/mkdir -p checking whether localtime_r is compatible with its POSIX signature... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether <wchar.h> is standalone... yes checking whether iswcntrl works... yes checking whether wcwidth is declared... yes checking whether wcwidth works reasonably in UTF-8 locales... no checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing dlopen... none required checking for library containing res_9_search... -lresolv checking for library containing res_search... none required checking whether res_search is declared... yes checking for library containing hstrerror... none required checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/term.h usability... yes checking ncurses/term.h presence... yes checking for ncurses/term.h... yes checking for library containing tigetstr... -lncurses checking for tgetstr... yes checking for readline... configure: error: need installed readline-devel package while executing "$procedure $targetname" Warning: the following items did not execute (for lftp): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.archive org.macports.install Error: Status 1 encountered during processing. }}} But the port "readline-devel" doens't exist. {{{ # port installed | grep readline readline @6.0.000_1+darwin (active) readline-4 @4.3_0+darwin (active) readline-5 @5.0.005_0 (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/20731> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Changes (by snc@…): * cc: yunzheng.hu@…, snc@… (added) * keywords: readline, compile => * milestone: MacPorts 1.8.0 => Comment: What OS version are you running? -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Comment(by Damien@…): Replying to [comment:1 snc@…]:
What OS version are you running? Leopard Server, everything is up to date.
Darwin iMac.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 i386 iMac6,1 Darwin -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Changes (by snc@…): * priority: Normal => Low Comment: Setting to low priority since 10.6 is not out yet. Have you tried doing this (you need autoconf/automake ports installed): {{{ sudo port clean lftp sudo port patch lftp cd `port work lftp`/lftp-3.7.6 autoreconf -v cd sudo port configure lftp }}} Please attach the output from `autoreconf -v` forward. -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Comment(by snc@…): Sorry, forgot sudo: you'll need to run `sudo autoreconf -v` -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Comment(by Damien@…): Replying to [comment:3 snc@…]: It does fail. {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_lftp/work/lftp-3.7.6 # autoreconf -v autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 configure.ac:270: warning: macro `AM_PATH_LIBGNUTLS' not found in library autoreconf: configure.ac: tracing autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION autoreconf: configure.ac: not running glibtoolize: --install not given autoreconf: running: /usr/bin/autoconf configure.ac:26: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:147: error: possibly undefined macro: AC_DEFINE_UNQUOTED configure.ac:270: error: possibly undefined macro: AM_PATH_LIBGNUTLS autoreconf: /usr/bin/autoconf failed with exit status: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: yunzheng.hu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: yunzheng.hu@… (removed) * owner: macports-tickets@… => yunzheng.hu@… * priority: Low => Normal Comment: Who said anything about 10.6? -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: yunzheng.hu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Comment(by Damien@…): Replying to [comment:6 jmr@…]:
Who said anything about 10.6? Not me :)
But, yes, the problem is maybe related to 64 bits. The transition to Snow Leopard is going to be… interesting, because a lot of ports fail to compile when build_arch is x86_64. -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: yunzheng.hu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Comment(by snc@…): Replying to [comment:6 jmr@…]:
Who said anything about 10.6? I misread "Leopard" as "Snow Leopard". Gotta love it.
-- Ticket URL: <http://trac.macports.org/ticket/20731#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile -----------------------------------+---------------------------------------- Reporter: Damien@… | Owner: yunzheng.hu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: lftp -----------------------------------+---------------------------------------- Comment(by snc@…): Replying to [comment:5 Damien@…]:
It does fail.
It looks like the autoconf files are pretty broken. {{{ configure.ac:270: error: possibly undefined macro: AM_PATH_LIBGNUTLS }}} It likely won't be able to find TLS, amongst other issues. -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20731: lftp fails to compile ------------------------------------+--------------------------------------- Reporter: Damien@… | Owner: yunzheng.hu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: Port: lftp | ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => fixed Comment: I don't think this is a problem anymore. I can build lftp 4.0.9 on Mac OS X 10.6.4 just fine. -- Ticket URL: <http://trac.macports.org/ticket/20731#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts