우분투 개발환경 만들기?

bluelenz의 이미지

올해 초에 우분투를 처음 접하고 리눅스를 사용하게 된 초보입니다
그런데 사용에 문제가 있어서 도움을 구하고자 합니다

어떤 프로그램을 설치할 때
보통 ./configure 부터 해서
일련의 과정을 밟아야하는데요

저는 그 ./configure 가 도무지 먹히는 꼴을 못 봤습니다
에러는 주욱 뜨는데 아마도 library 문제 일 것 같아서
에러 메세지 찾아가며 시냅틱꾸러미 관리자로 검색해서 설치해봐도 안 되네요

그래서 지금 껏 모든 프로그램은
프로그램 추가/제거, 시냅틱꾸러미 관리자, dev 패키지(alien으로 변환한것 포함), apt-get
으로 설치 해왔습니다

저게 훨씬 편하기야 하지만
설치를 원하는 모든 프로그램이 패키지로 존재하는 것도 아니다보니
너~무 너무 답답합니다

아무것도 모르는 제가 짐작해보기로는
페도라코어는 깔아보니 씨디가 다섯장인가 되던데
(하드웨어가 잘 인식이 안 돼서 다시 우분투로 깔았습니다;)
우분투는 한장으로 만들면서 컴파일프로그램이나 라이브러리들을
대폭 줄인 건 아닌가 합니다

그렇다면 다른 분들이 저처럼 무지하게 우분투를 사용하는 것도 아닐테고
설치할 때 그런 옵션따위 있지도 않았으니
아마도 다른 분들은 우분투를 설치하고서 먼저 하는 작업들이 있으실 것 같습니다
<- 이거 적자고 지금까지 헛소리 했습니다;;
저도 그것들좀 알려주세요~~
(아 build-essential 은 apt-get 으로 설치했습니다)

klara의 이미지

그럴땐 에러메시지를 통째로 구글에서 검색해보는게 유효할때가 많습니다.

그래도 안될땐 여기에 질문을 하시면 되는데, 그땐 이 글처럼 그냥 에러가 나요 라고 하지 마시고, 구체적으로 어떤 에러나가 나는지, 에러내용을 적어주시면 도움을 받으실수 있을수도 있다고 생각합니다.

bluelenz의 이미지

앗 네 죄송합니다
지금보니 매우 멍청했네요;

gimageview 를 설치해보려고 했는데

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) mawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for X... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gtk-config... no
checking for GTK - version >= 1.2.6... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Test for GTK failed. See the file 'INSTALL' for help

이런 에러메세지가 나옵니다
일단 시냅틱 꾸러미 관리자에서
무식하게 gtk 검색해서 나오는 모든것을 설치해봤는데도 마찬가지입니다 ㅠㅠ

환상경의 이미지

$sudo apt-cache search gimageview

gimageview - Image Viewer using GTK+

저장소에 이미 gimageview 패키지가 있는데 소스컴파일하시는 다른 이유라도 있으신가요?

젠투여 영원하라......~! http://blog.naver.com/khmirage.do

==================================================================
정체된 일상.... 계기를 만들어야 하는데........
BLOG : http://khmirage.tistory.com/

bluelenz의 이미지

# apt-get install gimageview
꾸러미 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
Reading state information... 완료
E: gimageview 꾸러미를 찾을 수 없습니다

저는 없다고 나오는데요;;
그리고 앞으로도 패키지만 깔고 있긴
답답해서 방법을 찾고자 해서 그랬습니다 ㅠ

환상경의 이미지

deb <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty main multiverse restricted universe
deb-src <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty main multiverse restricted universe
 
deb <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-backports main multiverse restricted universe
deb-src <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-backports main multiverse restricted universe
 
deb <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-proposed main multiverse restricted universe
deb-src <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-proposed main multiverse restricted universe
 
deb <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-security main multiverse restricted universe
deb-src <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-security main multiverse restricted universe
 
deb <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-updates main multiverse restricted universe
deb-src <a href="http://ftp.daum.net/ubuntu" rel="nofollow">http://ftp.daum.net/ubuntu</a> feisty-updates main multiverse restricted universe
 
 
#deb <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty main restricted
#deb-src <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty main restricted
#
#deb <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty-updates main restricted
#deb-src <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty-updates main restricted
#
#deb <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty universe
#deb-src <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty universe
#
#deb <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty multiverse
#deb-src <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty multiverse
#
#deb <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty-backports main restricted universe multiverse
#deb-src <a href="http://kr.archive.ubuntu.com/ubuntu/" rel="nofollow">http://kr.archive.ubuntu.com/ubuntu/</a> feisty-backports main restricted universe multiverse
 
deb <a href="http://security.ubuntu.com/ubuntu" rel="nofollow">http://security.ubuntu.com/ubuntu</a> feisty-security main restricted
deb-src <a href="http://security.ubuntu.com/ubuntu" rel="nofollow">http://security.ubuntu.com/ubuntu</a> feisty-security main restricted
deb <a href="http://security.ubuntu.com/ubuntu" rel="nofollow">http://security.ubuntu.com/ubuntu</a> feisty-security universe
deb-src <a href="http://security.ubuntu.com/ubuntu" rel="nofollow">http://security.ubuntu.com/ubuntu</a> feisty-security universe
deb <a href="http://security.ubuntu.com/ubuntu" rel="nofollow">http://security.ubuntu.com/ubuntu</a> feisty-security multiverse
deb-src <a href="http://security.ubuntu.com/ubuntu" rel="nofollow">http://security.ubuntu.com/ubuntu</a> feisty-security multiverse
 
## Medibuntu - Ubuntu 7.04 "feisty fawn"
## Please report any bug on <a href="https://launchpad.net/products/medibuntu/+bugs
##" rel="nofollow">https://launchpad.net/products/medibuntu/+bugs
##</a> wget -q <a href="http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg" rel="nofollow">http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg</a> -O- | sudo apt-key add -
deb <a href="http://medibuntu.sos-sts.com/repo/" rel="nofollow">http://medibuntu.sos-sts.com/repo/</a> feisty free non-free
deb-src <a href="http://medibuntu.sos-sts.com/repo/" rel="nofollow">http://medibuntu.sos-sts.com/repo/</a> feisty free non-free
 
#virtualbox 
#wget <a href="http://www.virtualbox.org/debian/innotek.asc
#sudo" rel="nofollow">http://www.virtualbox.org/debian/innotek.asc
#sudo</a> apt-key add innotek.asc
deb <a href="http://www.virtualbox.org/debian" rel="nofollow">http://www.virtualbox.org/debian</a> feisty non-free
 
#Compiz
# Treviño’s Ubuntu Deisty EyeCandy Repository (GPG key: 81836EBF)
# Many eyecandy 3D apps: Beryl, Compiz, Fusion, AWN and kiba-dock
# built using latest available (working) sources from git/svn/cvs...
#KEY=81836EBF; gpg --keyserver subkeys.pgp.net --recv $KEY && gpg --export --armor $KEY | sudo apt-key add -
deb <a href="http://download.tuxfamily.org/3v1deb" rel="nofollow">http://download.tuxfamily.org/3v1deb</a> feisty eyecandy
deb-src <a href="http://download.tuxfamily.org/3v1deb" rel="nofollow">http://download.tuxfamily.org/3v1deb</a> feisty eyecandy
 
 
#ubuntu studio theme
#wget <a href="http://archive.ubuntustudio.org/ubuntustudio.gpg" rel="nofollow">http://archive.ubuntustudio.org/ubuntustudio.gpg</a> -O- | sudo apt-key add -
deb <a href="http://archive.ubuntustudio.org/ubuntustudio" rel="nofollow">http://archive.ubuntustudio.org/ubuntustudio</a> feisty main
 
 
#recordMyDesktop
## Treviño’s Ubuntu edgy Repository (GPG key: 81836EBF - DD800CD9)
## Many "random" software: aMule, amsn, mplayer, moto4lin, flashplugin & flashplayer (9.x)…
## Further informations: <a href="http://3v1n0.tuxfamily.org" rel="nofollow">http://3v1n0.tuxfamily.org</a>
## wget <a href="http://3v1n0.tuxfamily.org/DD800CD9.gpg" rel="nofollow">http://3v1n0.tuxfamily.org/DD800CD9.gpg</a> -O- | sudo apt-key add -
deb <a href="http://download.tuxfamily.org/3v1deb" rel="nofollow">http://download.tuxfamily.org/3v1deb</a> feisty 3v1n0
deb-src <a href="http://download.tuxfamily.org/3v1deb" rel="nofollow">http://download.tuxfamily.org/3v1deb</a> feisty 3v1n0
 
#avant-window-navigator
## Avant Window Navigator
# wget <a href="http://download.tuxfamily.org/syzygy42/8434D43A.gpg" rel="nofollow">http://download.tuxfamily.org/syzygy42/8434D43A.gpg</a> -O- | sudo apt-key add -
deb <a href="http://download.tuxfamily.org/syzygy42/" rel="nofollow">http://download.tuxfamily.org/syzygy42/</a> feisty all
deb-src <a href="http://download.tuxfamily.org/syzygy42/" rel="nofollow">http://download.tuxfamily.org/syzygy42/</a> feisty all
 
 
# Wine
# wget <a href="http://wine.budgetdedicated.com/apt/387EE263.gpg" rel="nofollow">http://wine.budgetdedicated.com/apt/387EE263.gpg</a> -O- | sudo apt-key add -
deb <a href="http://wine.budgetdedicated.com/apt" rel="nofollow">http://wine.budgetdedicated.com/apt</a> feisty main
deb-src <a href="http://wine.budgetdedicated.com/apt" rel="nofollow">http://wine.budgetdedicated.com/apt</a> feisty main
 
 
##Pidign Nateon-pupple
#wget <a href="http://archive.haz3.com/key.gpg" rel="nofollow">http://archive.haz3.com/key.gpg</a> -O- | sudo apt-key add -
deb <a href="http://archive.haz3.com/ubuntu" rel="nofollow">http://archive.haz3.com/ubuntu</a> feisty pidgin
 
 
#screenlets repo
#wget <a href="http://hendrik.kaju.pri.ee/ubuntu/F854AFD7.gpg" rel="nofollow">http://hendrik.kaju.pri.ee/ubuntu/F854AFD7.gpg</a> -O- | sudo apt-key add - && sudo apt-get update
#deb <a href="http://hendrik.kaju.pri.ee/ubuntu" rel="nofollow">http://hendrik.kaju.pri.ee/ubuntu</a> feisty screenlets
 
 
#getdeb repo
deb <a href="http://ubuntu.org.ua/" rel="nofollow">http://ubuntu.org.ua/</a> getdeb/ 
 
#QuickComicBook
deb <a href="http://qcomicbook.horisone.com/" rel="nofollow">http://qcomicbook.horisone.com/</a> feisty main
deb-src <a href="http://qcomicbook.horisone.com/" rel="nofollow">http://qcomicbook.horisone.com/</a> feisty main
 
#alee repo.
deb <a href="http://alee.anj.kr/debian" rel="nofollow">http://alee.anj.kr/debian</a> alee main

일단 저는 설치해서 잘 사용중에 있습니다.
아 그리고 우분투나 데비안에서 패키지 소스 컴파일할때 필요한 라이브러리를 설치해주는
명령이 있습니다.

sudo apt-get build-dep 패키지명

하면 해당 패키지를 소스컴파일하는데 필요한 라이브러리 패키지를 다 설치해줍니다.
물론 모든 패키지가 다 저 방법이 통하는것은 아니고 우분투(데비안)에서 제공하는 패키지를
컴파일할때만 가능합니다.
젠투여 영원하라......~!
http://blog.naver.com/khmirage.do

==================================================================
정체된 일상.... 계기를 만들어야 하는데........
BLOG : http://khmirage.tistory.com/

김일영의 이미지

좋은 것 배워 갑니다.
sudo apt-get build-dep 패키지명
이런 좋은게 있었군여~

bluelenz의 이미지

감사합니다!
근데 며칠전에 gutsy 깔아버렸어요 ㅠㅠ
제게 gimageview 가 검색되지 않는 건 그래서겠지요;;
저 리스트 중에 feisty 만 gutsy 로 바꿔서 사용할 수 있는 건
아직 얼마 없겠지요?;

친절한 답변 정말 감사드립니다
내일 gutsy 정식으로 뜨면 다시 깔 생각이었으니까
그 이후에 다시 여러가지로 시도해봐야겠네요;;

괘씸하게 여기실 것 같아 죄송스럽습니다 ㅠㅠ

환상경의 이미지

Quote:
괘씸하게 여기실 것 같아 죄송스럽습니다 ㅠㅠ

음 제 어투가 그렇게 보이셨나요? OTL;;;;
전혀 그렇지 않습니다. ^^;;;

젠투여 영원하라......~! http://blog.naver.com/khmirage.do

==================================================================
정체된 일상.... 계기를 만들어야 하는데........
BLOG : http://khmirage.tistory.com/

bluelenz의 이미지

아니요
정말 친절히 대답해주셨는데
제 반응이 그렇게 보일 것 같아서요 -_-;

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.