리눅스에 프로그램 설치시 X11?

네이쳐   
   조회 5322   추천 0    

안녕하세요. 자주 질문을 드리게 되네요 ㅠ


xmgrace를 설치하려고 합니다. ./configure 했는데 

checking for X... no라고 뜹니다.

검색을 하다보니 xmgrace를 사용하려면 openmotif가 필요로 하다는것 같은데 맞나요??



그래서 openmotif를 설치하려고 해보니까, 마찬가지로 X11 이게 적용?안되는거 같은데 어떻게 해야할지 모르겠습니다.

[chip@localhost openmotif-2.3.1]$ ./configure --prefix=/usr/local/openmotif
checking for /usr/X/include/X11/X.h... no
checking for /usr/X11R6/include/X11/X.h... no


configure 옵션에

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

이 부분을 지정해줘야 하나요?? 그런데 어떤 위치를 지정해 줘야할지 모르겠습니다.ㅠ


locate X11 이라고 치니까 경로들이 많이 나오는데 이 중에서 찾아쓰는 건가요??


CentOS7 입니다. 초보인데 갑자기 많은 것을 해야하다 보니까 너무 어려워요 ㅠㅠ 도와주세요~

짧은글 일수록 신중하게.
정희섭 2017-02
-devel 로 끝나는 라이브러리나 헤더가 들어있는 development 패키지가 따로 있습니다
     
네이쳐 2017-02
yum install X11-devel 이렇게 하면 되나요?? 해봣는데 안되네요.. 설치파일을 따로 구해서 해야하나요
          
정희섭 2017-02
당연하 X11-devel 일리가 없죠...
yum search 나 gui 패키지 매니저 사용 하세요.
하셀호프 2017-02
     
네이쳐 2017-02
hdf5 설치해봣는데 그래도 안되요 ㅠ
옵테론 2017-02
X11 관련 패키지가 없어서 인거 같은데요 찍기로 libX11-devel 이지 않을까 생각됩니다.. 설치 해보심이..
https://www.centos.org/forums/viewtopic.php?t=19106
     
네이쳐 2017-02
libX11-devel을 설치하고,
./configure 만 하니까, checking for X... no 라고 뜨던데

./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib 라고 실행하니까

checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for _XEditResCheckMessages in -lXmu... no
--> support for EditRes protocol is disabled
checking for main in -lXp... no
checking xpm.h usability... no
checking xpm.h presence... no
checking for xpm.h... no
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for Xpm library >= 30411... no
configure: error: Xpm lib has not been found

이렇게 뜨네요... 한걸음 나아간게 맞나요? ㅠㅠ
     
네이쳐 2017-02
또 조금 진행이 된거 같습니다.

checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for _XEditResCheckMessages in -lXmu... yes
checking for main in -lXp... yes
checking xpm.h usability... no
checking xpm.h presence... no
checking for xpm.h... no
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for Xpm library >= 30411... yes
checking for a Motif >= 1002 compatible API... no
configure: error: M*tif has not been found
          
옵테론 2017-02
err err 구문으로 검색하면서 관련 패키지 설치해 나가시면 될꺼 같네요
          
옵테론 2017-02
motif-devel


QnA
제목Page 2831/5711
2014-05   5165539   정은준1
2015-12   1699775   백메가
2016-04   5372   장동건2014
2008-05   5372   노하석
2007-11   5372   김한구
2007-03   5372   김우진
2008-08   5372   정형철
2005-11   5372   김형주
2006-04   5372   김정호
2006-06   5372   한동훈
2017-12   5372   jjengi
2007-03   5372   김선호
2017-02   5371   네이쳐
2006-11   5371   방효문
2008-02   5371   방효문
2007-01   5371   정은준
2005-10   5371   정명현
2012-06   5371   병맛폰
2012-01   5371   2CPU최주희
2005-12   5371   오상훈
2008-02   5371   장진수
2012-11   5371   김효수