[MacPorts] #13292: vim fails to configure, tgetent() not found

MacPorts trac at macosforge.org
Fri Jan 25 17:36:51 PST 2008


#13292: vim fails to configure, tgetent() not found
-----------------------------------+----------------------------------------
  Reporter:  griff.rees at gmail.com  |       Owner:  raimue at macports.org
      Type:  defect                |      Status:  reopened           
  Priority:  Normal                |   Milestone:  Port Bugs          
 Component:  ports                 |     Version:  1.5.0              
Resolution:                        |    Keywords:                     
-----------------------------------+----------------------------------------
Changes (by ian_purvis at mac.com):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 I have this issue on my machine as well (core2duo macbook, leopard), but
 only if I specify the +ruby variant:

 {{{
 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_vim/work/vim71"
 && ./configure --prefix=/opt/local --enable-gui=no --without-x --disable-
 gpm --disable-nls --mandir=/opt/local/share/man --with-tlib=ncurses
 --enable-multibyte --enable-rubyinterp " returned error 1
 }}}

 and:

 {{{
 checking --with-tlib argument... ncurses
 checking for linking with ncurses library... OK
 checking for tgetent()... configure: error: NOT FOUND!
 }}}


 I don't know if it helps, but here is something that may be related
 somehow: If I download the svn version of vim, and create a similar
 configure string...

 {{{
 ./configure --enable-gui=no --without-x --disable-gpm --disable-nls
 --with-tlib=ncurses --enable-multibyte --enable-rubyinterp
 }}}

 ...configure will work successfully, only to afterwards have the linker
 break down with some "ld: symbol(s) not found for architecture ppc" and
 "ld: symbol(s) not found for architecture i386" errors. If I then re-
 configure adding "--with-mac-arch=intel", I get the tgetent() ncurses
 error.

 If only this would work, I could get some ruby omni completion... :(

 -Ian

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13292#comment:12>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list