编译mono-debugger-2.4出错

/usr/bin/ld: cannot find -ltermcap
collect2: ld 返回 1
make: *** [fileman] 错误 1
echo $PKG_CONFIG_PATH

To set the PKG_CONFIG_PATH value use:

export PKG_CONFIG_PATH=/usr/lib/pkgconfig

or

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

This example shows how to succeed when you find a target-native termcap library is missing (cross building is somewhat different here -- use ./configure --help when in doubt):

cd ~/work/cross/gdb/downloads
wget ftp://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz
cd ..
tar xvzf downloads/termcap-1.3.1.tar.gz
mkdir -p ~/work/cross/gdb/build/termcap
cd ~/work/cross/gdb/build/termcap

export CC=powerpc-7450-linux-gnu-gcc
export RANLIB=powerpc-7450-linux-gnu-ranlib
../../termcap-1.3.1/configure --host=powerpc-7450-linux-gnu --prefix=$HOME/work/cross/termcap
make
make install

==================================================== N/S matched: -sharp =====================================================
gtk-sharp2-debuginfo.x86_64 : Debug information for package gtk-sharp2
gtk-sharp2-doc.x86_64 : Monodoc documentation for gtk-sharp2
glade-sharp2.x86_64 : Mono bindings for glade
glib-sharp2.x86_64 : Mono bindings for glib
gtk-sharp2.x86_64 : .Net Language Bindings for GTK+
gtk-sharp2-complete.x86_64 : GTK+ and GNOME bindings for Mono (virtual package)
gtk-sharp2-gapi.x86_64 : C Source Parser and C Generator
monodevelop.noarch : Full-Featured IDE for Mono and Gtk-Sharp
monodevelop.x86_64 : Full-Featured IDE for Mono and Gtk-Sharp
webkit-sharp.noarch : WebKit bindings for Mono

  Name and summary matches only, use "search all" for everything.
[root@centos-bios muf]#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值