Computer Engineering/Linux (7)
[CentOS] libtool configure failed

[root@localhost libURI-1.0.0]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... /usr/bin/install -c
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

checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed


 

./configure --target=x86_64-unknown-gnu

 

'Computer Engineering > Linux' 카테고리의 다른 글

[CentOS] pip install error  (0) 2016.04.07
[CentOS] PIP 설치  (0) 2016.04.04
[CentOS] libsctp 설치  (0) 2016.03.30
[CentOS] JSON 라이브러리 jansson 설치  (0) 2016.02.22
[CentOS] configure: error: Can't find ext2fs library  (0) 2016.02.11
  Comments,     Trackbacks
[CentOS] pip install error

오류

 

[root@localhost utils]# pip install --upgrade pip


Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))': /simple/pip/

 


 

해결법

 

설정해놓은 네임서버에서 pypi 홈페이지를 찾아갈 수 없는 모양..

현재 학교에 설치해둔 서버의 네임서버엔 학교 네임서버만 등록되어 있었다.

학교 ISP인 kt의 네임서버를 추가해줌으로 해결

 

vi /etc/resolv.conf

 

nameserver 168.126.63.1 // kt dns

  Comments,     Trackbacks
[CentOS] PIP 설치

PIP

 

파이썬 패키지를 설치하고 관리하는데 사용되는 툴

 


 

설치

 

yum install python-pip

 


 

참고

 

https://pypi.python.org/pypi/pip/

  Comments,     Trackbacks
[CentOS] libsctp 설치

yum install lksctp-tools-devel

  Comments,     Trackbacks
[CentOS] JSON 라이브러리 jansson 설치

다운로드

 

wget http://www.digip.org/jansson/releases/jansson-2.7.tar.gz

 


 

압축 해제

 

tar -zxvf jansson-2.7.tar.gz

 


 

디렉토리 이동

 

cd jansson-2.7

 


 

설치

 

./configure && make && make install && make check

 

  Comments,     Trackbacks
[CentOS] configure: error: Can't find ext2fs library

[ configure: error: Can't find ext2fs library ]

 

yum -y install e2fsprogs-devel

  Comments,     Trackbacks
[CentOS] configure: error: C++ compiler cannot create executables
[ configure: error: C++ compiler cannot create executables ]

에러 발생 시 C++ 컴파일러를 설치해줌으로 해결한다.

 

yum -y install gcc-c++

'Computer Engineering > Linux' 카테고리의 다른 글

[CentOS] pip install error  (0) 2016.04.07
[CentOS] PIP 설치  (0) 2016.04.04
[CentOS] libsctp 설치  (0) 2016.03.30
[CentOS] JSON 라이브러리 jansson 설치  (0) 2016.02.22
[CentOS] configure: error: Can't find ext2fs library  (0) 2016.02.11
  Comments,     Trackbacks