![]() ![]() Hmm, the main.log shows that the configure phase of the x86_64 part of the universal build went fine, specifically it said::info:configure checking for tgetent in -ltinfo. No:info:configure checking for tgetent in -lterminfo. No:info:configure checking for tgetent in -ltermcap. Yes But the i386 part failed with::info:configure checking for tgetent in -ltinfo. No:info:configure checking for tgetent in -lterminfo. No:info:configure checking for tgetent in -ltermcap. C code with ncurses compiled with libtinfo dependency. This enables users to install your binary to /home/user/bin/program and search libraries in /home/user/bin/./lib. Go to the directory where your libncurses shared libs are located (generally within your toolchain). How To Install ncurses Library on a Linux last updated December 11, 2017 in Categories CentOS, Debian / Ubuntu, Linux, Package Management, RedHat and Friends I need to compile an application with ncurses library and header files. No:info:configure checking for tgetent in -ltermlib. No:info:configure checking for tgetent in -lcurses. No:info:configure checking for tgetent in -lncurses. No:info:configure configure: error: libcurses or libncurses are required! This suggests that maybe your ncurses port is not installed universal, or that something went wrong during its installation. Rebuilding the ncurses port may be needed. Before you do that though, could you please attach the file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libedit/libedit/work/libedit-20120601-3.0-i386/config.log? Also, what is the output of the commands: port -v installed ncurses lipo -info /opt/local/lib/libtermcap.dylib. Ok, that confirms that, although MacPorts believes it has installed ncurses universal, it hasn't. I confirmed on my Snow Leopard machine that ncurses can be properly built universal, and I also checked the pre-built archive on our packages server and it's fine too, so something must have gone wrong on your system. Please try rebuilding ncurses: sudo port clean ncurses sudo port -n upgrade --force ncurses Does that change the output of the lipo command above? If so, can you then clean libedit and try building it again?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |