An error occurred while installing jpegsrc.v6b.tar.gz under linuxon 64-bit machines.
Source: Internet
Author: User
An error occurred when installing jpegsrc.v6b.tar.gz under linuxon 64-bit machines-Linux general technology-Linux technology and application information. For more information, see the following. Perform the following operations:
Tar xzf restart src.v6b.tar.gz-C/usr/local
Cd/usr/local/jpeg-6b
./Configure -- enable-shared
Make
Make install
The following prompt is displayed when one step is executed to./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
Answer:
Cp/usr/share/libtool/config. guess)
Cp/usr/share/libtool/config. sub. (overwrite the config. sub that comes with the relevant software)
./Configure -- enable-shared -- enable-static
Make libdir =/usr/lib64
Make libdir =/usr/lib64 install
Compile with the 64-bit function library.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service