New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15573 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

configure of vile on leopard 10.5.3 failed: -lncurses not found

Reported by: tomhirashima@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: vile

Description

$ sudo port install vile
--->  Fetching vile
--->  Verifying checksum(s) for vile
--->  Extracting vile
--->  Configuring vile
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_vile/work/vile-9.5" && ./configure --prefix=/opt/local --with-perl --with-ncurses --mandir=/opt/local/share/man " returned error 1
Command output: checking if we may include sys/resource.h with sys/wait.h... no
checking for termio.h... (cached) no
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether termios.h needs _POSIX_SOURCE... no
checking declaration of size-change... yes
checking for file-pointer ready definition... ( (p)->_r > 0)
checking for <wctype.h> and functions... yes
checking for library containing wctype... none required
checking for long file names... yes
checking for restartable reads on pipes... yes
checking whether setpgrp takes no argument... yes
checking whether getpgrp takes no argument... yes
checking if killpg is needed... no
checking if external errno is declared... yes
checking if external errno exists... yes
checking if external sys_nerr is declared... yes
checking if external sys_nerr exists... yes
checking if external sys_errlist is declared... yes
checking if external sys_errlist exists... yes
checking for screen type... termcap
checking if you want to use ncurses... yes
checking for ncurses header in include-path... ncurses/curses.h
checking for ncurses version... 5.6.20061217
checking for Gpm_Open in -lgpm... no
checking for initscr... no
checking for initscr in -lncurses... no
checking for -lncurses in /opt/local/lib... no
checking for -lncurses in /usr/lib... no
configure: error: Cannot link ncurses library

Error: Status 1 encountered during processing.

Change History

comment:1 Changed 5 years ago by raimue@…

  • Owner changed from macports-tickets@… to waqar@…

vile does not declare dependency on ncurses while it obviously should.

Workaround:

$ sudo port install ncurses vile

comment:2 Changed 5 years ago by tomhirashima@…

i already seem to have ncurses installed. issuing the workaround command returns "Skipping org.macports.activate (ncurses ) since this port is already active". have tried this on two different machines with similar ports installed (wget and optipng being the only ones, with dependencies).

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:4 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Keywords vile, ncurses removed
  • Resolution set to fixed
  • Port set to vile
  • Summary changed from build of vile on leopard 10.5.3 failed to configure of vile on leopard 10.5.3 failed: -lncurses not found

Added the missing deps in r72212. The port now configures successfully, though it still fails to build for other reasons.

Note: See TracTickets for help on using tickets.