Installing Firefox 2 on DSLForum: Apps Topic: Installing Firefox 2 on DSL started by: caloiro_xl Posted by caloiro_xl on Oct. 27 2006,09:41
Hi guys.This is clearly a newbie problem... 01. Downloaded firefox-2.0.tar.gz #cd /usr/local/mozilla/ #tar -xzvf firefox-2.0.tar.gz #cd firefox #./firefox ./firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory 02. Downloaded gtk+-2.9.4.tar.gz #cd /usr/local/gtk/ #tar -xzvf gtk+-2.9.4.tar.gz #cd /usr/local/gtk/gtk+-2.9.4 #./configure --prefix=/opt/gtk Using CC=/usr/bin/tcc produces: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... no checking build system type... i586-pc-linux-gnuoldld checking host system type... i586-pc-linux-gnuoldld checking for native Win32... no checking for gcc... /usr/bin/tcc 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... no checking whether /usr/bin/tcc accepts -g... yes checking for /usr/bin/tcc option to accept ANSI C... none needed checking for style of include used by make... none checking dependency style of /usr/bin/tcc... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for non-GNU ld... no configure: error: no acceptable ld found in $PATH 03. Downloaded gcc-3.4.6.tar.gz #cd /usr/local/gcc #tar -xzvf gcc-3.4.6.tar.gz #mkdir /usr/local/gcc-obj #cd /usr/local/gcc-obj #/usr/local/gcc/gcc-3.4.6/configure loading cache ./config.cache checking host system type... i586-pc-linux-gnuoldld checking target system type... i586-pc-linux-gnuoldld checking build system type... i586-pc-linux-gnuoldld checking for a BSD compatible install... (cached) /usr/bin/install -c tcc: invalid option -- '-E' checking for i586-pc-linux-gnuoldld-ar... no checking for ar... (cached) ar checking for i586-pc-linux-gnuoldld-as... no checking for as... (cached) as checking for i586-pc-linux-gnuoldld-dlltool... no checking for dlltool... (cached) dlltool checking for i586-pc-linux-gnuoldld-ld... no checking for ld... (cached) ld checking for i586-pc-linux-gnuoldld-nm... no checking for nm... (cached) nm checking for i586-pc-linux-gnuoldld-ranlib... no checking for ranlib... (cached) : checking for i586-pc-linux-gnuoldld-windres... no checking for windres... (cached) windres checking for i586-pc-linux-gnuoldld-objcopy... no checking for objcopy... (cached) objcopy checking for i586-pc-linux-gnuoldld-objdump... no checking for objdump... (cached) objdump checking for i586-pc-linux-gnuoldld-ar... no checking for ar... (cached) ar checking for i586-pc-linux-gnuoldld-as... no checking for as... (cached) as checking for i586-pc-linux-gnuoldld-dlltool... no checking for dlltool... (cached) dlltool checking for i586-pc-linux-gnuoldld-ld... no checking for ld... (cached) ld checking for i586-pc-linux-gnuoldld-nm... no checking for nm... (cached) nm checking for i586-pc-linux-gnuoldld-ranlib... no checking for ranlib... (cached) : checking for i586-pc-linux-gnuoldld-windres... no checking for windres... (cached) windres checking whether to enable maintainer-specific portions of Makefiles... no creating ./config.status creating Makefile 04. Question No.1 - What else do I need to do in order to set up GCC?! #cd /usr/local/gtk/gtk+-2.9.4 #./configure --prefix=/opt/gtk Using CC=/usr/local/gcc/gcc-3.4.6/gcc produces: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... no checking build system type... i586-pc-linux-gnuoldld checking host system type... i586-pc-linux-gnuoldld checking for native Win32... no checking for gcc... /usr/local/gcc/gcc-3.4.6 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. #vi config.log (...) 63 configure:2423: checking for C compiler version 64 configure:2426: /usr/local/gcc/gcc-3.4.6/gcc --version </dev/null >&5 65 ./configure: line 1: /usr/local/gcc/gcc-3.4.6/gcc: is a directory 66 configure:2429: $? = 126 67 configure:2431: /usr/local/gcc/gcc-3.4.6/gcc -v </dev/null >&5 68 ./configure: line 1: /usr/local/gcc/gcc-3.4.6/gcc: is a directory 69 configure:2434: $? = 126 70 configure:2436: /usr/local/gcc/gcc-3.4.6/gcc -V </dev/null >&5 71 ./configure: line 1: /usr/local/gcc/gcc-3.4.6/gcc: is a directory 72 configure:2439: $? = 126 73 configure:2462: checking for C compiler default output file name 74 configure:2465: /usr/local/gcc/gcc-3.4.6/gcc conftest.c >&5 75 ./configure: line 1: /usr/local/gcc/gcc-3.4.6/gcc: is a directory 76 configure:2468: $? = 126 77 configure: failed program was: 78 | /* confdefs.h. */ (...) I'm guessing this (above, underlined) is the problem. I guess I'm missing some action in order to get gcc properly installed. From what I understood reading "How To Install Software in Linux" on linuxforums.org, I'll need to compile the software using the make utility. Another problem is this: #make -bash: make: command not found Can you help me with this? Thank you very much in advance. b.pereira aka caloiro_xl Posted by mikshaw on Oct. 27 2006,14:19
It would probably be MUCH easier to install gtk2 from the myDSL repository. Be sure to read the *.info file associated with any myDSL extension you download.
|