How to build JpegV6 in 64 bit linux
来源:互联网 发布:数据可视化 d3.js 编辑:程序博客网 时间:2024/06/10 04:29
How to build jpegsrc.v6b on 64-bit Linux machines
jpegsrc is no longer maintained and has not been updated since the Clinton administration. This is odd considering how critical this library is to so many applications.
If you are trying to build on a 64-bit Linux machine you will probably get this error during the ./configure step:
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
The fix is simple -- just copy '/usr/share/libtool/config.guess' and '/usr/share/libtool/config.sub' to the same directory as the jpeg-6b ./configure script. You can also copy from from /usr/share/automake-1.9/.
cp /usr/share/libtool/config.guess .
cp /usr/share/libtool/config.sub .
./configure --enable-shared --enable-static
One site suggests that you also need tell the jpegsrc build where the 64-bit libdir is located:
make libdir=/usr/lib64
make libdir=/usr/lib64 install
That will change the directory where 'make install' puts the libjpeg library files, but you may not want that if you are installing libjpeg to a custom path (in other words, if you used the --prefix option for configure).
- How to build JpegV6 in 64 bit linux
- How to Build and Run Android L 64-bit ARM in QEMU
- How to run 32-bit app in Ubuntu 64-bit?
- How to build MPI libraries for 64-bit integers
- How to confirm the 64bit capability of your CPU in Linux
- How to build qemu-system-arm in Linux
- How to compile Andriod in Ubuntu 64 bit system
- How to Build Linux Kernels
- How to Increase the Memory Limit for 32-bit Applications in Windows 64-bit OS
- How to run 32-bit app in Ubuntu 14.04 64-bit?
- How to build libDTS in the MSYS?
- How to build libA52 in the MSY?
- How to build giflib in the MSYS?
- How to build libpng in the MSYS?
- How to generate monkeyrunner build-in help?
- How to Convert a 32-bit Database to 64-bit Database on Linux (remove olap)
- How to Convert a 32bit Database to 64bit Database on Linux
- How to build zlib 1.2.3 using Visual Studio 2008 for 32-bit and 64-bit Windows
- 开机动画
- libpng安装时出现的问题
- Flash 3D引擎(Sandy3D)应用指南 3a——摄像机调焦和调整屏幕尺寸。
- datagridview 中的图片存入数据库,还有菜单的用法
- C++编程思想第二版第二卷笔记5——设计模式
- How to build JpegV6 in 64 bit linux
- 积累总结static protected pulic override
- SCADA系统概述
- 六个苹果的故事
- tomcat6数据库连接池的配置
- 正在处理
- Dojo 日期控件的国际化和集成
- MySQL主键删除/添加
- 希望用鼠标和键盘选中表格的研究