방대하지만 파이어폭스 컴파일을 해볼려고 합니다

sudo apt-get install build-essential 컴파일러 설치

sudo apt-get build-dep firefox 의존 패키지 설치

apt-get source firefox-3.0 파폭소스 설치

강분도님이 가르쳐 주셔서 위에 기본적인 파일들 설치는 완료되었습니다.(강분도님 감사합니다^^)

그다음부터 막히는데 어제부터 하루종일 컴파일하는 방법도 찾아보고 맞는방법인지는 몰라도 이것저것 다 해보고 있는데

뭐했는지 기억조차 잘 안나네요 ㅠㅠ

찾아봐도 일단 configure을 해보라고 해서 파폭소스 디렉토리에 가서 configure하면

–enable-application=APP was not specified and is required. 라는 에러가 발생합니다.

찾아봐도 방법은 ./configure -> make -> make install 이렇게만 설명이 되어있고 자세히는 안되어있네요ㅠ

터무니없이 묻는질문인거 알고있지만 혹시 괜찮으시다면 자세한 방법이 너무 알고싶습니다.

configure후에 에러 메세지를 그냥 copy & paste해보세요.
전~~부 -_-

loading cache ./config.cache
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking build system type… i686-pc-linux-gnu
checking for gawk… no
checking for mawk… mawk
checking for gcc… 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… yes
checking whether gcc accepts -g… yes
checking for c++… 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++… yes
checking whether c++ accepts -g… yes
checking for ranlib… ranlib
checking for as… /usr/bin/as
checking for ar… ar
checking for ld… ld
checking for strip… strip
checking for windres… no
checking whether gcc and cc understand -c and -o together… yes
checking how to run the C preprocessor… gcc -E
checking how to run the C++ preprocessor… c++ -E
checking for a BSD compatible install… /usr/bin/install -c
checking whether ln -s works… yes
checking for perl5… no
checking for perl… /usr/bin/perl
checking for minimum required perl version >= 5.006… 5.010000
checking for full perl installation… yes
checking for python… /usr/bin/python
PYTHON=/usr/bin/python
checking for nsinstall… no
checking for doxygen… :
checking for whoami… /usr/bin/whoami
checking for autoconf… /usr/bin/autoconf
checking for unzip… /usr/bin/unzip
checking for zip… /usr/bin/zip
checking for makedepend… no
checking for xargs… /usr/bin/xargs
checking for gmake… no
checking for make… /usr/bin/make
checking for X… libraries , headers
checking for dnet_ntoa in -ldnet… no
checking for dnet_ntoa in -ldnet_stub… no
checking for gethostbyname… yes
checking for connect… yes
checking for remove… yes
checking for shmat… yes
checking for IceConnectionNumber in -lICE… yes
checking whether ld has archive extraction flags… yes
checking that static assertion macros used in autoconf tests work… yes
checking for 64-bit OS… no
checking for ANSI C header files… yes
checking for working const… yes
checking for mode_t… yes
checking for off_t… yes
checking for pid_t… yes
checking for size_t… yes
checking for st_blksize in struct stat… yes
checking for siginfo_t… yes
checking for int16_t… yes
checking for int32_t… yes
checking for int64_t… yes
checking for int64… no
checking for uint… yes
checking for uint_t… no
checking for uint16_t… no
checking for uname.domainname… yes
checking for uname.__domainname… no
checking for usable wchar_t (2 bytes, unsigned)… no
checking for compiler -fshort-wchar option… yes
checking for visibility(hidden) attribute… yes
checking for visibility(default) attribute… yes
checking for visibility pragma support… yes
checking For gcc visibility bug with class-level attributes (GCC bug 26905)… no
checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)… no
checking for dirent.h that defines DIR… yes
checking for opendir in -ldir… no
checking for sys/byteorder.h… no
checking for compat.h… no
checking for getopt.h… yes
checking for sys/bitypes.h… yes
checking for memory.h… yes
checking for unistd.h… yes
checking for gnu/libc-version.h… yes
checking for nl_types.h… yes
checking for malloc.h… yes
checking for X11/XKBlib.h… yes
checking for sys/statvfs.h… yes
checking for sys/statfs.h… yes
checking for sys/vfs.h… yes
checking for sys/mount.h… yes
checking for mmintrin.h… no
checking for new… yes
checking for sys/cdefs.h… yes
checking for gethostbyname_r in -lc_r… no
checking for atan in -lm… yes
checking for dlopen in -ldl… yes
checking for dlfcn.h… yes
checking for dladdr… yes
checking for socket in -lsocket… no
checking for XDrawLines in -lX11… yes
checking for XextAddDisplay in -lXext… yes
checking for XtFree in -lXt… yes
checking for XShmCreateImage in -lXext… yes
checking for X11/extensions/XShm.h… yes
checking for XieFloGeometry in -lXIE… no
checking for X11/extensions/XIElib.h… no
checking for freetype-config… /usr/bin/freetype-config
checking for FreeType - version >= 6.1.0… yes
checking for FT_Bitmap_Size.y_ppem… yes
checking for FT_GlyphSlot_Embolden… yes
checking for FT_Load_Sfnt_Table… yes
checking for FT_Select_Size… yes
checking for pthread_create in -lpthreads… no
checking for pthread_create in -lpthread… yes
checking whether gcc accepts -pthread… yes
checking whether mmap() sees write()s… yes
checking whether gcc needs -traditional… no
checking for 8-bit clean memcmp… yes
checking for random… yes
checking for strerror… yes
checking for lchown… yes
checking for fchmod… yes
checking for snprintf… yes
checking for statvfs… yes
checking for memmove… yes
checking for rint… yes
checking for stat64… yes
checking for lstat64… yes
checking for truncate64… yes
checking for statvfs64… yes
checking for flockfile… yes
checking for getpagesize… yes
checking for localtime_r… yes
checking for strtok_r… yes
checking for wcrtomb… yes
checking for mbrtowc… yes
checking for res_ninit()… yes
checking for gnu_get_libc_version()… yes
checking for iconv in -lc… yes
checking for iconv()… yes
checking for iconv() with const input… no
checking for nl_langinfo and CODESET… yes
checking for an implementation of va_copy()… yes
checking for an implementation of __va_copy()… yes
checking whether va_lists can be copied by value… yes
checking for C++ exceptions flag… -fno-exceptions
checking for gcc 3.0 ABI… yes
checking for C++ "explicit" keyword… yes
checking for C++ "typename" keyword… yes
checking for modern C++ template specialization syntax support… yes
checking whether partial template specialization works… yes
checking whether operators must be re-defined for templates derived from templates… no
checking whether we need to cast a derived template to pass as its base class… no
checking whether the compiler can resolve const ambiguities for templates… yes
checking whether the C++ "using" keyword can change access… yes
checking whether the C++ "using" keyword resolves ambiguity… yes
checking for "std::" namespace… yes
checking whether standard template operator!=() is ambiguous… unambiguous
checking for C++ reinterpret_cast… yes
checking for C++ dynamic_cast to void*… yes
checking whether C++ requires implementation of unused virtual methods… yes
checking for trouble comparing to zero near std::operator!=()… no
checking for LC_MESSAGES… yes
configure: error: --enable-application=APP was not specified and is required.

./configure할 때 에러 나는걸 자동적으로 처리 해주는 패키지가 auto-apt란 프로그램인데 그걸 한번 써보시죠
아래 두 라인을 먼저 실행시켜서 auto-apt설치 하시고

[code:2empra1j]sudo apt-get -y install auto-apt;
sudo auto-apt update && sudo auto-apt updatedb && sudo auto-apt update-local;
[/code:2empra1j]

파이어폭스 소스 있는 폴더 가서 ./configure하는 대신 아래 명령어를 실행시키세요

[code:2empra1j]auto-apt run ./configure[/code:2empra1j]

컴터가 configure돌리다가 필요한건 알아서 설치할겁니다.

E: /var/lib/dpkg/lock 잠금 파일을 얻을 수 없습니다 - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Failed [Z - exec shell to fix this situation]

중간에 이 오류 한번 난거 말고는 모두 설치된거 같습니다.

그리고 make 한뒤 make install 해보니

usr/local/lib 폴더 아래에 firefox-3.0, firefox-devel-3.0 폴더가 생기네요

그담에 firefox-3.0 폴더안에 들어가서 firefox를 실행시키니까 결과는…

*** buffer overflow detected ***: /usr/local/lib/firefox-3.0/firefox-bin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb67e1558]
/lib/tls/i686/cmov/libc.so.6[0xb67df680]
/lib/tls/i686/cmov/libc.so.6[0xb67dfde8]
/usr/local/lib/firefox-3.0/libxul.so(XRE_GetBinaryPath+0x55)[0xb7424afc]
/usr/local/lib/firefox-3.0/firefox-bin[0x8048b34]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb66fd685]
/usr/local/lib/firefox-3.0/firefox-bin[0x8048a21]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:01 232231 /usr/local/lib/firefox-3.0/firefox-bin
0804a000-0804b000 r–p 00001000 08:01 232231 /usr/local/lib/firefox-3.0/firefox-bin
0804b000-0804c000 rw-p 00002000 08:01 232231 /usr/local/lib/firefox-3.0/firefox-bin
b6200000-b6300000 rw-p b6200000 00:00 0
b6326000-b632a000 rw-p b6326000 00:00 0
b632a000-b632e000 r-xp 00000000 08:01 123282 /usr/lib/libXdmcp.so.6.0.0
b632e000-b632f000 rw-p 00003000 08:01 123282 /usr/lib/libXdmcp.so.6.0.0
b632f000-b6331000 r-xp 00000000 08:01 123271 /usr/lib/libXau.so.6.0.0
b6331000-b6332000 rw-p 00001000 08:01 123271 /usr/lib/libXau.so.6.0.0
b6332000-b6339000 r-xp 00000000 08:01 390417 /lib/tls/i686/cmov/librt-2.8.90.so
b6339000-b633a000 r–p 00007000 08:01 390417 /lib/tls/i686/cmov/librt-2.8.90.so
b633a000-b633b000 rw-p 00008000 08:01 390417 /lib/tls/i686/cmov/librt-2.8.90.so
b633b000-b633c000 rw-p b633b000 00:00 0
b633c000-b6351000 r-xp 00000000 08:01 123230 /usr/lib/libICE.so.6.3.0
b6351000-b6352000 rw-p 00014000 08:01 123230 /usr/lib/libICE.so.6.3.0
b6352000-b6354000 rw-p b6352000 00:00 0
b6354000-b635b000 r-xp 00000000 08:01 123259 /usr/lib/libSM.so.6.0.0
b635b000-b635c000 r–p 00006000 08:01 123259 /usr/lib/libSM.so.6.0.0
b635c000-b635d000 rw-p 00007000 08:01 123259 /usr/lib/libSM.so.6.0.0
b635d000-b635e000 r-xp 00000000 08:01 124213 /usr/lib/libxcb-xlib.so.0.0.0
b635e000-b635f000 r–p 00000000 08:01 124213 /usr/lib/libxcb-xlib.so.0.0.0
b635f000-b6360000 rw-p 00001000 08:01 124213 /usr/lib/libxcb-xlib.so.0.0.0
b6360000-b6388000 r-xp 00000000 08:01 373264 /lib/libpcre.so.3.12.1
b6388000-b6389000 r–p 00027000 08:01 373264 /lib/libpcre.so.3.12.1
b6389000-b638a000 rw-p 00028000 08:01 373264 /lib/libpcre.so.3.12.1
b638a000-b638b000 rw-p b638a000 00:00 0
b638b000-b63a2000 r-xp 00000000 08:01 124215 /usr/lib/libxcb.so.1.0.0
b63a2000-b63a3000 r–p 00016000 08:01 124215 /usr/lib/libxcb.so.1.0.0
b63a3000-b63a4000 rw-p 00017000 08:01 124215 /usr/lib/libxcb.so.1.0.0
b63a4000-b63aa000 r-xp 00000000 08:01 124211 /usr/lib/libxcb-render.so.0.0.0
b63aa000-b63ab000 r–p 00005000 08:01 124211 /usr/lib/libxcb-render.so.0.0.0
b63ab000-b63ac000 rw-p 00006000 08:01 124211 /usr/lib/libxcb-render.so.0.0.0
b63ac000-b63af000 r-xp 00000000 08:01 124209 /usr/lib/libxcb-render-util.so.0.0.0
b63af000-b63b0000 r–p 00002000 08:01 124209 /usr/lib/libxcb-render-util.so.0.0.0
b63b0000-b63b1000 rw-p 00003000 08:01 124209 /usr/lib/libxcb-render-util.so.0.0.0
b63b1000-b63d5000 r-xp 00000000 08:01 124015 /usr/lib/libpng12.so.0.27.0
b63d5000-b63d7000 rw-p 00023000 08:01 124015 /usr/lib/libpng12.so.0.27.0
b63d7000-b6416000 r-xp 00000000 08:01 124009 /usr/lib/libpixman-1.so.0.12.0
b6416000-b6418000 r–p 0003e000 08:01 124009 /usr/lib/libpixman-1.so.0.12.0
b6418000-b6419000 rw-p 00040000 08:01 124009 /usr/lib/libpixman-1.so.0.12.0
b6419000-b641a000 rw-p b6419000 00:00 0
b641a000-b6432000 r-xp 00000000 08:01 373276 /lib/libselinux.so.1
b6432000-b6433000 r–p 00017000 08:01 373276 /lib/libselinux.so.1
b6433000-b6434000 rw-p 00018000 08:01 373276 /lib/libselinux.so.1
b6434000-b643c000 r-xp 00000000 08:01 123278 /usr/lib/libXcursor.so.1.0.2
b643c000-b643d000 rw-p 00007000 08:01 123278 /usr/lib/libXcursor.so.1.0.2
b643d000-b6442000 r-xp 00000000 08:01 123306 /usr/lib/libXrandr.so.2.1.0
b6442000-b6443000 r–p 00005000 08:01 123306 /usr/lib/libXrandr.so.2.1.0
b6443000-b6444000 rw-p 00006000 08:01 123306 /usr/lib/libXrandr.so.2.1.0
b6444000-b644c000 r-xp 00000000 08:01 123294 /usr/lib/libXi.so.6.0.0
b644c000-b644d000 r–p 00007000 08:01 123294 /usr/lib/libXi.so.6.0.0
b644d000-b644e000 rw-p 00008000 08:01 123294 /usr/lib/libXi.so.6.0.0
b644e000-b6450000 r-xp 00000000 08:01 123296 /usr/lib/libXinerama.so.1.0.0
b6450000-b6451000 rw-p 00001000 08:01 123296 /usr/lib/libXinerama.so.1.0.0
b6451000-b6452000 rw-p b6451000 00:00 0
b6452000-b645f000 r-xp 00000000 08:01 123286 /usr/lib/libXext.so.6.4.0
b645f000-b6461000 rw-p 0000c000 08:01 123286 /usr/lib/libXext.so.6.4.0
b6461000-b6485000 r-xp 00000000 08:01 123524 /usr/lib/libexpat.so.1.5.2
b6485000-b6487000 r–p 00023000 08:01 123524 /usr/lib/libexpat.so.1.5.2
b6487000-b6488000 rw-p 00025000 08:01 123524 /usr/lib/libexpat.so.1.5.2
b6488000-b648c000 r-xp 00000000 08:01 123288 /usr/lib/libXfixes.so.3.1.0
b648c000-b648d000 rw-p 00003000 08:01 123288 /usr/lib/libXfixes.so.3.1.0
b648d000-b648f000 r-xp 00000000 08:01 123280 /usr/lib/libXdamage.so.1.1.0
b648f000-b6490000 rw-p 00001000 08:01 123280 /usr/lib/libXdamage.so.1.1.0
b6490000-b6492000 r-xp 00000000 08:01 123276 /usr/lib/libXcomposite.so.1.0.0
b6492000-b6493000 r–p 00001000 08:01 123276 /usr/lib/libXcomposite.so.1.0.0
b6493000-b6494000 rw-p 00002000 08:01 123276 /usr/lib/libXcomposite.so.1.0.0
b6494000-b6495000 rw-p b6494000 00:00 0
b6495000-b6499000 r-xp 00000000 08:01 125993 /usr/lib/libgthread-2.0.so.0.1800.2
b6499000-b649a000 r–p 00003000 08:01 125993 /usr/lib/libgthread-2.0.so.0.1800.2
b649a000-b649b000 rw-p 00004000 08:01 125993 /usr/lib/libgthread-2.0.so.0.1800.2
b649b000-b64e8000 r-xp 00000000 08:01 123312 /usr/lib/libXt.so.6.0.0
b64e8000-b64ec000 rw-p 0004c000 08:01 123312 /usr/lib/libXt.so.6.0.0
b64ec000-b64fe000 r-xp 00000000 08:01 123292 /usr/lib/libXft.so.2.1.2
b64fe000-b64ff000 r–p 00011000 08:01 123292 /usr/lib/libXft.so.2.1.2
b64ff000-b6500000 rw-p 00012000 08:01 123292 /usr/lib/libXft.so.2.1.2
b6500000-b6508000 r-xp 00000000 08:01 123308 /usr/lib/libXrender.so.1.3.0
b6508000-b6509000 r–p 00007000 08:01 123308 /usr/lib/libXrender.so.1.3.0
b6509000-b650a000 rw-p 00008000 08:01 123308 /usr/lib/libXrender.so.1.3.0
b650a000-b6536000 r-xp 00000000 08:01 232063 /usr/local/lib/firefox-3.0/libsoftokn3.so
b6536000-b6537000 r–p 0002b000 08:01 232063 /usr/local/lib/firefox-3.0/libsoftokn3.so
b6537000-b6538000 rw-p 0002c000 08:01 232063 /usr/local/lib/firefox-3.0/libsoftokn3.so
b6538000-b6539000 rw-p b6538000 00:00 0
b6539000-b654a000 r-xp 00000000 08:01 232223 /usr/local/lib/firefox-3.0/libnssutil3.so
b654a000-b654d000 r–p 00010000 08:01 232223 /usr/local/lib/firefox-3.0/libnssutil3.so
b654d000-b654e000 rw-p 00013000 08:01 232223 /usr/local/lib/firefox-3.0/libnssutil3.so
b654e000-b662a000 r-xp 00000000 08:01 232228 /usr/local/lib/firefox-3.0/libnss3.so
b662a000-b662e000 r–p 000db000 08:01 232228 /usr/local/lib/firefox-3.0/libnss3.so
b662e000-b662f000 rw-p 000df000 08:01 232228 /usr/local/lib/firefox-3.0/libnss3.so
b662f000-b6630000 rw-p b662f000 00:00 0
b6630000-b6657000 r-xp 00000000 08:01 232186 /usr/local/lib/firefox-3.0/libssl3.so
b6657000-b6658000 r–p 00027000 08:01 232186 /usr/local/lib/firefox-3.0/libssl3.so
b6658000-b6659000 rw-p 00028000 08:01 232186 /usr/local/lib/firefox-3.0/libssl3.so
b6659000-b6675000 r-xp 00000000 08:01 232123 /usr/local/lib/firefox-3.0/libsmime3.so
b6675000-b6677000 r–p 0001c000 08:01 232123 /usr/local/lib/firefox-3.0/libsmime3.so
b6677000-b6678000 rw-p 0001e000 08:01 232123 /usr/local/lib/firefox-3.0/libsmime3.so
b6678000-b66e4000 r-xp 00000000 08:01 232227 /usr/local/lib/firefox-3.0/libsqlite3.so
b66e4000-b66e5000 r–p 0006c000 08:01 232227 /usr/local/lib/firefox-3.0/libsqlite3.so
b66e5000-b66e6000 rw-p 0006d000 08:01 232227 /usr/local/lib/firefox-3.0/libsqlite3.so
b66e6000-b66e7000 rw-p b66e6000 00:00 0
b66e7000-b683f000 r-xp 00000000 08:01 390387 /lib/tls/i686/cmov/libc-2.8.90.so
b683f000-b6841000 r–p 00158000 08:01 390387 /lib/tls/i686/cmov/libc-2.8.90.so
b6841000-b6842000 rw-p 0015a000 08:01 390387 /lib/tls/i686/cmov/libc-2.8.90.so
b6842000-b6845000 rw-p b6842000 00:00 0
b6845000-b6852000 r-xp 00000000 08:01 373214 /lib/libgcc_s.so.1
b6852000-b6853000 r–p 0000c000 08:01 373214 /lib/libgcc_s.so.1
b6853000-b6854000 rw-p 0000d000 08:01 373214 /lib/libgcc_s.so.1
b6854000-b6937000 r-xp 00000000 08:01 124133 /usr/lib/libstdc++.so.6.0.Aborted

이런게 발생하네요… ㅠㅠ

[quote="kaoops12":3lqbu0z4]E: /var/lib/dpkg/lock 잠금 파일을 얻을 수 없습니다 - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Failed [Z - exec shell to fix this situation]
[/quote:3lqbu0z4]

저 오류는 터미널 같은데에서 sudo ~하면서 뭘 설치 하는 동시에
시냅틱 패키지 매니저도 같이 켜서 설치 시도할때 발생하는 오류인데요.
결정적으로 뭐가 안깔린듯

첨부터 하나하나 다시 해보세요
sudo apt-get -y install auto-apt;
sudo auto-apt update && sudo auto-apt updatedb && sudo auto-apt update-local;

이거 다 끝내고 나서 파폭 폴더로 가서
auto-apt run ./configure

[code:qgy6hm8r]auto-apt run ./configure
Entering auto-apt mode: ./configure
Exit the command to leave auto-apt mode.
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gawk... (cached) mawk
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 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 for ranlib... (cached) ranlib
checking for as... (cached) /usr/bin/as
checking for ar... (cached) ar
checking for ld... (cached) ld
checking for strip... (cached) strip
checking for windres... no
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for perl5... (cached) /usr/bin/perl
checking for minimum required perl version >= 5.006... 5.010000
checking for full perl installation... yes
checking for python... (cached) /usr/bin/python
PYTHON=/usr/bin/python
checking for nsinstall... no
checking for doxygen... (cached) :
checking for whoami... (cached) /usr/bin/whoami
checking for autoconf... (cached) /usr/bin/autoconf
checking for unzip... (cached) /usr/bin/unzip
checking for zip... (cached) /usr/bin/zip
checking for makedepend... /usr/bin/makedepend
checking for xargs... (cached) /usr/bin/xargs
checking for gmake... (cached) /usr/bin/make
checking for X... (cached) libraries , headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking whether ld has archive extraction flags... (cached) yes
checking that static assertion macros used in autoconf tests work... (cached) yes
checking for 64-bit OS... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for st_blksize in struct stat... (cached) yes
checking for siginfo_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for int64_t... (cached) yes
checking for int64... (cached) no
checking for uint... (cached) yes
checking for uint_t... (cached) no
checking for uint16_t... (cached) no
checking for uname.domainname... (cached) yes
checking for uname.__domainname... (cached) no
checking for usable wchar_t (2 bytes, unsigned)... (cached) no
checking for compiler -fshort-wchar option... (cached) yes
checking for visibility(hidden) attribute... (cached) yes
checking for visibility(default) attribute... (cached) yes
checking for visibility pragma support... (cached) yes
checking For gcc visibility bug with class-level attributes (GCC bug 26905)... (cached) no
checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for sys/byteorder.h... (cached) no
checking for compat.h... (cached) no
checking for getopt.h... (cached) yes
checking for sys/bitypes.h... (cached) yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking for gnu/libc-version.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for X11/XKBlib.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/vfs.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for mmintrin.h... (cached) no
checking for new... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for gethostbyname_r in -lc_r... (cached) no
checking for atan in -lm... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for dlfcn.h... (cached) yes
checking for dladdr... (cached) yes
checking for socket in -lsocket... (cached) no
checking for XDrawLines in -lX11... (cached) yes
checking for XextAddDisplay in -lXext... (cached) yes
checking for XtFree in -lXt... (cached) yes
checking for XShmCreateImage in -lXext... (cached) yes
checking for X11/extensions/XShm.h... (cached) yes
checking for XieFloGeometry in -lXIE... (cached) no
checking for X11/extensions/XIElib.h... (cached) no
checking for freetype-config... (cached) /usr/bin/freetype-config
checking for FreeType - version >= 6.1.0... yes
checking for FT_Bitmap_Size.y_ppem... (cached) yes
checking for FT_GlyphSlot_Embolden... (cached) yes
checking for FT_Load_Sfnt_Table... (cached) yes
checking for FT_Select_Size... (cached) yes
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking whether gcc accepts -pthread... yes
checking whether mmap() sees write()s... yes
checking whether gcc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking for random... (cached) yes
checking for strerror... (cached) yes
checking for lchown... (cached) yes
checking for fchmod... (cached) yes
checking for snprintf... (cached) yes
checking for statvfs... (cached) yes
checking for memmove... (cached) yes
checking for rint... (cached) yes
checking for stat64... (cached) yes
checking for lstat64... (cached) yes
checking for truncate64... (cached) yes
checking for statvfs64... (cached) yes
checking for flockfile... (cached) yes
checking for getpagesize... (cached) yes
checking for localtime_r... (cached) yes
checking for strtok_r... (cached) yes
checking for wcrtomb... (cached) yes
checking for mbrtowc... (cached) yes
checking for res_ninit()... (cached) yes
checking for gnu_get_libc_version()... (cached) yes
checking for iconv in -lc... (cached) yes
checking for iconv()... (cached) yes
checking for iconv() with const input... (cached) no
checking for nl_langinfo and CODESET... (cached) yes
checking for an implementation of va_copy()... (cached) yes
checking for an implementation of __va_copy()... (cached) yes
checking whether va_lists can be copied by value... (cached) yes
checking for C++ exceptions flag... (cached) -fno-exceptions
checking for gcc 3.0 ABI... (cached) yes
checking for C++ "explicit" keyword... (cached) yes
checking for C++ "typename" keyword... (cached) yes
checking for modern C++ template specialization syntax support... (cached) yes
checking whether partial template specialization works... (cached) yes
checking whether operators must be re-defined for templates derived from templates... (cached) no
checking whether we need to cast a derived template to pass as its base class... (cached) no
checking whether the compiler can resolve const ambiguities for templates... (cached) yes
checking whether the C++ "using" keyword can change access... (cached) yes
checking whether the C++ "using" keyword resolves ambiguity... (cached) yes
checking for "std::" namespace... (cached) yes
checking whether standard template operator!=() is ambiguous... (cached) unambiguous
checking for C++ reinterpret_cast... (cached) yes
checking for C++ dynamic_cast to void*... (cached) yes
checking whether C++ requires implementation of unused virtual methods... (cached) yes
checking for trouble comparing to zero near std::operator!=()... (cached) no
checking for LC_MESSAGES... (cached) yes
configure: error: --enable-application=APP was not specified and is required.
root@soon-desktop:~/soo/firefox/mozilla#
[/code:qgy6hm8r]

혹시 이상이 있나 싶어서 Vmware도 재실행시켰는데 오류가 발생하네요.ㅠ

도와주시는데 안되니 죄송하네요;;

[code:peg2j6z9]*** buffer overflow detected ***: /usr/local/lib/firefox-3.0/firefox-bin terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb6887558]
/lib/tls/i686/cmov/libc.so.6[0xb6885680]
/lib/tls/i686/cmov/libc.so.6[0xb6885de8]
/usr/local/lib/firefox-3.0/libxul.so(XRE_GetBinaryPath+0x55)[0xb74caafc]
/usr/local/lib/firefox-3.0/firefox-bin[0x8048b34]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb67a3685]
/usr/local/lib/firefox-3.0/firefox-bin[0x8048a21]
======= Memory map: ========
08048000-0804a000 r-xp 00000000 08:01 232231 /usr/local/lib/firefox-3.0/firefox-bin
0804a000-0804b000 r–p 00001000 08:01 232231 /usr/local/lib/firefox-3.0/firefox-bin
0804b000-0804c000 rw-p 00002000 08:01 232231 /usr/local/lib/firefox-3.0/firefox-bin
b6200000-b6300000 rw-p b6200000 00:00 0
b63cc000-b63d0000 rw-p b63cc000 00:00 0
b63d0000-b63d4000 r-xp 00000000 08:01 123282 /usr/lib/libXdmcp.so.6.0.0
b63d4000-b63d5000 rw-p 00003000 08:01 123282 /usr/lib/libXdmcp.so.6.0.0
b63d5000-b63d7000 r-xp 00000000 08:01 123271 /usr/lib/libXau.so.6.0.0
b63d7000-b63d8000 rw-p 00001000 08:01 123271 /usr/lib/libXau.so.6.0.0
b63d8000-b63df000 r-xp 00000000 08:01 390417 /lib/tls/i686/cmov/librt-2.8.90.so
b63df000-b63e0000 r–p 00007000 08:01 390417 /lib/tls/i686/cmov/librt-2.8.90.so
b63e0000-b63e1000 rw-p 00008000 08:01 390417 /lib/tls/i686/cmov/librt-2.8.90.so
b63e1000-b63e2000 rw-p b63e1000 00:00 0
b63e2000-b63f7000 r-xp 00000000 08:01 123230 /usr/lib/libICE.so.6.3.0
b63f7000-b63f8000 rw-p 00014000 08:01 123230 /usr/lib/libICE.so.6.3.0
b63f8000-b63fa000 rw-p b63f8000 00:00 0
b63fa000-b6401000 r-xp 00000000 08:01 123259 /usr/lib/libSM.so.6.0.0
b6401000-b6402000 r–p 00006000 08:01 123259 /usr/lib/libSM.so.6.0.0
b6402000-b6403000 rw-p 00007000 08:01 123259 /usr/lib/libSM.so.6.0.0
b6403000-b6404000 r-xp 00000000 08:01 124213 /usr/lib/libxcb-xlib.so.0.0.0
b6404000-b6405000 r–p 00000000 08:01 124213 /usr/lib/libxcb-xlib.so.0.0.0
b6405000-b6406000 rw-p 00001000 08:01 124213 /usr/lib/libxcb-xlib.so.0.0.0
b6406000-b642e000 r-xp 00000000 08:01 373264 /lib/libpcre.so.3.12.1
b642e000-b642f000 r–p 00027000 08:01 373264 /lib/libpcre.so.3.12.1
b642f000-b6430000 rw-p 00028000 08:01 373264 /lib/libpcre.so.3.12.1
b6430000-b6431000 rw-p b6430000 00:00 0
b6431000-b6448000 r-xp 00000000 08:01 124215 /usr/lib/libxcb.so.1.0.0
b6448000-b6449000 r–p 00016000 08:01 124215 /usr/lib/libxcb.so.1.0.0
b6449000-b644a000 rw-p 00017000 08:01 124215 /usr/lib/libxcb.so.1.0.0
b644a000-b6450000 r-xp 00000000 08:01 124211 /usr/lib/libxcb-render.so.0.0.0
b6450000-b6451000 r–p 00005000 08:01 124211 /usr/lib/libxcb-render.so.0.0.0
b6451000-b6452000 rw-p 00006000 08:01 124211 /usr/lib/libxcb-render.so.0.0.0
b6452000-b6455000 r-xp 00000000 08:01 124209 /usr/lib/libxcb-render-util.so.0.0.0
b6455000-b6456000 r–p 00002000 08:01 124209 /usr/lib/libxcb-render-util.so.0.0.0
b6456000-b6457000 rw-p 00003000 08:01 124209 /usr/lib/libxcb-render-util.so.0.0.0
b6457000-b647b000 r-xp 00000000 08:01 124015 /usr/lib/libpng12.so.0.27.0
b647b000-b647d000 rw-p 00023000 08:01 124015 /usr/lib/libpng12.so.0.27.0
b647d000-b64bc000 r-xp 00000000 08:01 124009 /usr/lib/libpixman-1.so.0.12.0
b64bc000-b64be000 r–p 0003e000 08:01 124009 /usr/lib/libpixman-1.so.0.12.0
b64be000-b64bf000 rw-p 00040000 08:01 124009 /usr/lib/libpixman-1.so.0.12.0
b64bf000-b64c0000 rw-p b64bf000 00:00 0
b64c0000-b64d8000 r-xp 00000000 08:01 373276 /lib/libselinux.so.1
b64d8000-b64d9000 r–p 00017000 08:01 373276 /lib/libselinux.so.1
b64d9000-b64da000 rw-p 00018000 08:01 373276 /lib/libselinux.so.1
b64da000-b64e2000 r-xp 00000000 08:01 123278 /usr/lib/libXcursor.so.1.0.2
b64e2000-b64e3000 rw-p 00007000 08:01 123278 /usr/lib/libXcursor.so.1.0.2
b64e3000-b64e8000 r-xp 00000000 08:01 123306 /usr/lib/libXrandr.so.2.1.0
b64e8000-b64e9000 r–p 00005000 08:01 123306 /usr/lib/libXrandr.so.2.1.0
b64e9000-b64ea000 rw-p 00006000 08:01 123306 /usr/lib/libXrandr.so.2.1.0
b64ea000-b64f2000 r-xp 00000000 08:01 123294 /usr/lib/libXi.so.6.0.0
b64f2000-b64f3000 r–p 00007000 08:01 123294 /usr/lib/libXi.so.6.0.0
b64f3000-b64f4000 rw-p 00008000 08:01 123294 /usr/lib/libXi.so.6.0.0
b64f4000-b64f6000 r-xp 00000000 08:01 123296 /usr/lib/libXinerama.so.1.0.0
b64f6000-b64f7000 rw-p 00001000 08:01 123296 /usr/lib/libXinerama.so.1.0.0
b64f7000-b64f8000 rw-p b64f7000 00:00 0
b64f8000-b6505000 r-xp 00000000 08:01 123286 /usr/lib/libXext.so.6.4.0
b6505000-b6507000 rw-p 0000c000 08:01 123286 /usr/lib/libXext.so.6.4.0
b6507000-b652b000 r-xp 00000000 08:01 123524 /usr/lib/libexpat.so.1.5.2
b652b000-b652d000 r–p 00023000 08:01 123524 /usr/lib/libexpat.so.1.5.2
b652d000-b652e000 rw-p 00025000 08:01 123524 /usr/lib/libexpat.so.1.5.2
b652e000-b6532000 r-xp 00000000 08:01 123288 /usr/lib/libXfixes.so.3.1.0
b6532000-b6533000 rw-p 00003000 08:01 123288 /usr/lib/libXfixes.so.3.1.0
b6533000-b6535000 r-xp 00000000 08:01 123280 /usr/lib/libXdamage.so.1.1.0
b6535000-b6536000 rw-p 00001000 08:01 123280 /usr/lib/libXdamage.so.1.1.0
b6536000-b6538000 r-xp 00000000 08:01 123276 /usr/lib/libXcomposite.so.1.0.0
b6538000-b6539000 r–p 00001000 08:01 123276 /usr/lib/libXcomposite.so.1.0.0
b6539000-b653a000 rw-p 00002000 08:01 123276 /usr/lib/libXcomposite.so.1.0.0
b653a000-b653b000 rw-p b653a000 00:00 0
b653b000-b653f000 r-xp 00000000 08:01 125993 /usr/lib/libgthread-2.0.so.0.1800.2
b653f000-b6540000 r–p 00003000 08:01 125993 /usr/lib/libgthread-2.0.so.0.1800.2
b6540000-b6541000 rw-p 00004000 08:01 125993 /usr/lib/libgthread-2.0.so.0.1800.2
b6541000-b658e000 r-xp 00000000 08:01 123312 /usr/lib/libXt.so.6.0.0
b658e000-b6592000 rw-p 0004c000 08:01 123312 /usr/lib/libXt.so.6.0.0
b6592000-b65a4000 r-xp 00000000 08:01 123292 /usr/lib/libXft.so.2.1.2
b65a4000-b65a5000 r–p 00011000 08:01 123292 /usr/lib/libXft.so.2.1.2
b65a5000-b65a6000 rw-p 00012000 08:01 123292 /usr/lib/libXft.so.2.1.2
b65a6000-b65ae000 r-xp 00000000 08:01 123308 /usr/lib/libXrender.so.1.3.0
b65ae000-b65af000 r–p 00007000 08:01 123308 /usr/lib/libXrender.so.1.3.0
b65af000-b65b0000 rw-p 00008000 08:01 123308 /usr/lib/libXrender.so.1.3.0
b65b0000-b65dc000 r-xp 00000000 08:01 232063 /usr/local/lib/firefox-3.0/libsoftokn3.so
b65dc000-b65dd000 r–p 0002b000 08:01 232063 /usr/local/lib/firefox-3.0/libsoftokn3.so
b65dd000-b65de000 rw-p 0002c000 08:01 232063 /usr/local/lib/firefox-3.0/libsoftokn3.so
b65de000-b65df000 rw-p b65de000 00:00 0
b65df000-b65f0000 r-xp 00000000 08:01 232223 /usr/local/lib/firefox-3.0/libnssutil3.so
b65f0000-b65f3000 r–p 00010000 08:01 232223 /usr/local/lib/firefox-3.0/libnssutil3.so
b65f3000-b65f4000 rw-p 00013000 08:01 232223 /usr/local/lib/firefox-3.0/libnssutil3.so
b65f4000-b66d0000 r-xp 00000000 08:01 232228 /usr/local/lib/firefox-3.0/libnss3.so
b66d0000-b66d4000 r–p 000db000 08:01 232228 /usr/local/lib/firefox-3.0/libnss3.so
b66d4000-b66d5000 rw-p 000df000 08:01 232228 /usr/local/lib/firefox-3.0/libnss3.so
b66d5000-b66d6000 rw-p b66d5000 00:00 0
b66d6000-b66fd000 r-xp 00000000 08:01 232186 /usr/local/lib/firefox-3.0/libssl3.so
b66fd000-b66fe000 r–p 00027000 08:01 232186 /usr/local/lib/firefox-3.0/libssl3.so
b66fe000-b66ff000 rw-p 00028000 08:01 232186 /usr/local/lib/firefox-3.0/libssl3.so
b66ff000-b671b000 r-xp 00000000 08:01 232123 /usr/local/lib/firefox-3.0/libsmime3.so
b671b000-b671d000 r–p 0001c000 08:01 232123 /usr/local/lib/firefox-3.0/libsmime3.so
b671d000-b671e000 rw-p 0001e000 08:01 232123 /usr/local/lib/firefox-3.0/libsmime3.so
b671e000-b678a000 r-xp 00000000 08:01 232227 /usr/local/lib/firefox-3.0/libsqlite3.so
b678a000-b678b000 r–p 0006c000 08:01 232227 /usr/local/lib/firefox-3.0/libsqlite3.so
b678b000-b678c000 rw-p 0006d000 08:01 232227 /usr/local/lib/firefox-3.0/libsqlite3.so
b678c000-b678d000 rw-p b678c000 00:00 0
b678d000-b68e5000 r-xp 00000000 08:01 390387 /lib/tls/i686/cmov/libc-2.8.90.so
b68e5000-b68e7000 r–p 00158000 08:01 390387 /lib/tls/i686/cmov/libc-2.8.90.so
b68e7000-b68e8000 rw-p 0015a000 08:01 390387 /lib/tls/i686/cmov/libc-2.8.90.so
b68e8000-b68eb000 rw-p b68e8000 00:00 0
b68eb000-b68f8000 r-xp 00000000 08:01 373214 /lib/libgcc_s.so.1
b68f8000-b68f9000 r–p 0000c000 08:01 373214 /lib/libgcc_s.so.1
b68f9000-b68fa000 rw-p 0000d000 08:01 373214 /lib/libgcc_s.so.1
b68fa000-b69dd000 r-xp 00000000 08:01 124133 /usr/lib/libstdc++.so.6.0.Aborted
[/code:peg2j6z9]

혹시나 싶어서 make 하여 makeinstall해서 firefox 실행시켜보니 저런 오류가 나오네요;;

파이어폭스 컴파일을 해결했네요 ^^;; 단 몇줄로;;

근데 실행하니까 미니필드라고 뜨던대 제대로 된건지는 잘 모르겠어요;;

[code:2lsim4uu]
apt-get build-dep firefox
apt-get install mercurial libasound2-dev libcur14-openssl-dev
hg clone -r default http://hg.mozilla.org/mozilla-central/
cd mozilla-central/
autoconf2.13
cd js/src
autoconf2.13
cd ../..
mkdir objdir-ff-release
cd objdir-ff-release/
../configure --enable-application=browser
make -j4(j4가 뭘 의미하는지 모르겠네요.. 혹시 아시는분 있으시면 댓글좀 부탁드릴께요^^;)
make install
[/code:2lsim4uu]

-j4 면… 멀티코어 내지는 멀티 CPU를 사용할 경우에… 4개의 thread를 이용하여 빌드하라는 이야기죠…
그럼 듀얼 코어 같은 경우에는 -j2를 쓰면 되겠죠? ^^;