Chinaunix首页 | 论坛 | 博客
  • 博客访问: 109924
  • 博文数量: 8
  • 博客积分: 1595
  • 博客等级: 上尉
  • 技术积分: 330
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-09 16:13
文章分类
文章存档

2011年(5)

2010年(2)

2009年(1)

我的朋友

分类: LINUX

2010-11-22 14:19:15

在64位Linux下安装 jpeg 时出现错误

tar xzf jpegsrc.v6b.tar.gz -C /usr/local
cd /usr/local/jpeg-6b
./configure --enable-shared
make
make install

执行到./configure –enable-shared一步时提示:

checking host system type… Invalid configuration `x86_64-unknown-linux-gnu ‘: machine `x86_64-unknown ‘ not recognized

checking build system type… Invalid configuration `x86_64-unknown-linux-gnu ‘: machine `x86_64-unknown ‘ not recognized

configure: error: libtool configure failed

找了一下解决方案,贴出:

cp /usr/share/libtool/config/config.guess .
cp /usr/share/libtool/config/config.sub .
./configure --enable-shared --enable-static
--enable-lib64 --libdir=/usr/lib64
make

make install


阅读(4496) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~