Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Installing Firefox 2 on DSL, Firefox | GTK | GCC | TCC< Next Oldest | Next Newest >
caloiro_xl Offline





Group: Members
Posts: 1
Joined: Oct. 2006
Posted: Oct. 27 2006,09:41 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 27 2006,14:19 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Oct. 27 2006,09:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Installing Firefox 2 on DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code