LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2003, 04:22 PM   #1
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Rep: Reputation: 15
running MC


I've recently downloaded midnight commander. I unpacked it, and the folder is now located in my home directory.. the problem now is: how do i run it???
im running RH9

Thx
 
Old 09-11-2003, 04:31 PM   #2
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
All it takes is typing 'mc' at the command line. If that doesn't work, then it's not installed correctly. It sounds like you're working from a tarball -- have you gone through the whole ./configure --> make routine?
 
Old 09-11-2003, 04:35 PM   #3
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I just downloaded a .tar.gz file and typed something like "tar -"some flags" the_name_of_the_tar.gz_file" and it extracted the tar.gz file to a directory in my home dir.
I checked some readme file but it doesn't say anything about installing it.. or does it?
 
Old 09-11-2003, 04:43 PM   #4
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Okay, here's the typical way to extract and install a package from a .tar.gz file.

1) tar -xzvf filename.tar.gz
2) cd filename
3) ./configure (there's almost alway a script by this name, though sometimes you'll see an 'install.sh' instead)
4) make
5) make install
6) make clean

Easy enough? Compiling from source is really no more difficult than using a binary, it just looks intimidating at first. Best of luck.
 
Old 09-11-2003, 04:56 PM   #5
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I found a configure file, and typed ./configure and got the following error message (as root):
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)... yes
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 style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

I checked config.log for something understandable, but no luck :-(
 
Old 09-11-2003, 05:00 PM   #6
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I found this in a readme file:
Dependencies
------------

To compile the GNU Midnight Commander you need to have a copy of the
glib library version 1.2.x or 2.0.x, available at
ftp://ftp.gtk.org/pub/gtk/

Is that something I have to download?
 
Old 09-11-2003, 05:12 PM   #7
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I downloaded glib library anyway typed ./configure in the glib directory.. the following error message then appeared:

loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... configure: error: can not guess host type; you must specify one

I then typed ./configure --help and found this:

Host type:
--build=BUILD configure for building on BUILD [BUILD=HOST]
--host=HOST configure for HOST [guessed]
--target=TARGET configure for TARGET [TARGET=HOST]

What should I do?
 
Old 09-11-2003, 05:18 PM   #8
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Don't worry about glib for now. Unless you're runing an older version of RedHat you should be fine. Your errors from the configure script didn't like your C compiler.

I would try a couple things:
1) Try re-extracting in /usr/local/src (where tarballs belong). Shouldn't make a difference, but who knows.
2) Find an rpm

I have a feeling that you're about to discover the joys of "dependency hell," aka the reason I ditched Red Hat within two days. Let me know how you make out.

Afterthought: You're doing this all as root, right?
 
Old 09-11-2003, 05:21 PM   #9
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
yeah, im doing it as root!
i'll try out the the tips you gave me, thanks!!
 
Old 09-11-2003, 05:40 PM   #10
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
done!!
first I tried to extract the files to /usr/local/src but no luck.. so I found a rpm for RH8, and it seems to work ok!!

Thank you!!!
 
Old 09-12-2003, 01:00 PM   #11
fragglehorn
Member
 
Registered: Oct 2002
Location: I-Town, NY
Distribution: Debian, Slackware
Posts: 130

Rep: Reputation: 15
Cool, not a problem.
 
Old 12-01-2003, 10:34 AM   #12
nose
LQ Newbie
 
Registered: Nov 2003
Posts: 10

Rep: Reputation: 0
I was reading post #2 and were you saying the mouse doesn't work in rh9 my mouse doesn't work in mc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running setup.exe, but another already running? erisco Linux - Software 2 08-08-2005 06:45 PM
Any one running etheral? If so what OS are you running it with? abefroman Linux - Security 2 05-09-2005 02:22 PM
Process running but not running LinuxRam Linux - Newbie 13 12-29-2004 11:45 AM
any linux distro can running in RAM , not need CD_ROM reading when running. wangcity Linux - General 3 09-18-2003 06:45 AM
running samba worked, running it out of xinetd doesn't? system Linux - Networking 1 12-24-2001 04:15 AM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration