emacs소스설치가 잘 안됩니다

chungkn의 이미지

컴파일해서 설치하고
emacs실행하면
Cannot open termcat database file

다음은 configure 할때 마지막에 나오는 메세지 입니다,

Quote:
Configured for `i686-pc-linux-gnu'.

Where should the build process find the source code? /usr/local/install/emacs-21.4

What operating system and machine description files should Emacs use?

`s/gnu-linux.h' and `m/intel386.h'

What compiler should emacs be built with? gcc -g -O2

Should Emacs use the GNU version of malloc? yes

(Using Doug Lea's new malloc from the GNU C Library.)

Should Emacs use a relocating allocator for buffers? yes

Should Emacs use mmap(2) for buffer allocation? no

What window system should Emacs use? none

What toolkit should Emacs use? none

Where do we find X Windows header files? NONE

Where do we find X Windows libraries? NONE

Does Emacs use -lXaw3d? no

Does Emacs use -lXpm? no

Does Emacs use -ljpeg? no

Does Emacs use -ltiff? no

Does Emacs use -lungif? no

Does Emacs use -lpng? no

Does Emacs use X toolkit scroll bars? no

configure와 make할때 메세지를 올렸습니다.
보시고 조언좀 부탁드립니다.(__)

그리고 패키지 관리자로 받아서설치해보니까 (우분투 입니다)
소스설치한다고 건드려 놔서 그런지

설치하고도 emacs 실행하면

Cannot open termcat database file

이럽니다 ㅠ.ㅠ
요문제도 해결해 주시면 감사하겠습니다.
패키지관리자로 설치해서 실행할수 있도록

File attachments: 
첨부파일 크기
Plain text icon make.txt125.12 KB
Plain text icon config.txt8.46 KB
Plain text icon make_install.txt46.94 KB
무우의 이미지

소스는 cvs로 받으시는 것이 좋을 것 같습니다.
ssh-client 설치 되어 있어야 합니다.

export CVS_RSH="ssh"
cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/emacs co emacs
./configure --with-gtk

보다 자세한 사항은 emacs 디렉토리안에서
./configure --help를 참고하세요.

Prentice의 이미지

Cannot open termcap database file 말씀이시겠죠.. 구글링 해보시면 답이 쉽게 나옵니다. ^_^;

libncurses5-dev는 깔려있나요? 없다면 새로 설치하고 다시 컴파일하세요.

chungkn1의 이미지

감사합니다. 설치가 되네요..
근데
왜 텍스트 모드로 실행이 되는 걸까요?

Quote:
What window system should Emacs use? none

What toolkit should Emacs use? none

Where do we find X Windows header files? NONE

Where do we find X Windows libraries? NONE

configure 에서 아마 이부분 때문에 gui로 안뜨는걸지도 모르겠는데요
GUI로 뜨게 하고 싶어요 ㅠ_ㅠ

shout_maya의 이미지

Quote:

./configure --with-gtk

보다 자세한 사항은 emacs 디렉토리안에서
./configure --help를 참고하세요.

소스로 설치 하셧나요? 그렇다면 ./configure 옵션을 보시면 될껍니다.
./configure --with-x 옵션을 주면 될 것 같군요. emacs cvs 버전(22) 를
쓰실것을 추천합니다 :-) --with-gtk 옵션 주시고 컴파일 해보세요.

:-) got Linux?

chungkn의 이미지

cvs로 받아서 했는데

./configure --with-gtk
하면

.............
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.1 glib-2.0 >= 2.0.1... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

configure: error: Library requirements (gtk+-2.0 >= 2.0.1 glib-2.0 >= 2.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

요렇게 컴파일 되다가 에러납니다. ㅠ.ㅠ
초보가 가장 힘들때는 남들은 다 잘된다는데 나만 안되는것 같을때에요 ㅠ.ㅠ

무우의 이미지

배포본은 어느 것을 쓰시는 지요?
가급적 바이너리 기반의 배포본을 사용하세요.
의존관계의 소스를 모두 설치하려면 시간이 많이 소요됩니다.

http://www.gtk.org
http://www.gnome.org
http://cipherfunk.org/garnome/
http://lfs.osuosl.org/blfs/view/stable/

Prentice의 이미지

sudo apt-get install libgtk2.0-dev libglib2.0-dev

위 명령을 실행하셔서 gtk2와 glib2의 개발 라이브러리를 설치하신 후에 다시 설정해보세요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.