LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-13-2002, 06:34 PM   #1
josefalero
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Rep: Reputation: 0
Help Running Scripts


ALlright I know that this is probley a really stupid question, but I cant figure this out for the life of me. Whenever I try to install a program from the terminal and it tells me to put in something like

cd xchat-x.x.x
./configure

It says that it does not reconize the command. I am having this trouble when trying to install Phoenix and other things to. I have no idea how to run the script and there guides to installing never explain it. If You could help I would appreciate it.
 
Old 11-13-2002, 07:01 PM   #2
JStew
Member
 
Registered: Oct 2002
Location: North Atlanta
Distribution: LFS
Posts: 229

Rep: Reputation: 30
Hopefully, you have untarred and unzipped the tarball... if not, for:

xchat.yada-1.0.tar.gz ----> tar xvzf xchat.yada-1.0.tar.gz
xchat.yada-1.0.tar.bz2 ----> tar jxvf xchat.yada-1.0.tar.bz2

this will set up a directory with the package's name: xchat.yada-1.0

cd xchat.yada-1.0
read README or INSTALL with less or more
usually you're going to get this:
./configure
make
make install

Now with some packages, like Phoenix, you're going to get an install shell script called (usually): install.sh or install-sh

You'll run: ./install.sh and then the package will be installed from there. This means it is a precompiled binary. Whenever possible, it's best to compile from source on your own box.

Good luck.
 
Old 11-14-2002, 04:36 PM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,548

Rep: Reputation: 136Reputation: 136
which command is not recognized - the
cd /path/to/file
or the
./configure?
do u have a compiler on ur box? test
gcc -v
perl installed? test
perl -v

the configure command runs a script in that directory that gathers some options and information how to comple your program->translate source code to binary.
u need a compiler for building programs from source. if u don't have one on your box get a binary version of gcc.
cheers, jens

Last edited by j-ray; 11-14-2002 at 04:42 PM.
 
  


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 scripts bhmsi Linux - Newbie 6 04-23-2005 06:05 PM
Running scripts moeru Linux - Software 10 07-02-2004 09:42 AM
Need help running scripts from scripts sdouble Linux - Newbie 3 05-31-2004 12:56 PM
Running scripts crash_zero Mandriva 5 04-19-2004 02:23 PM
running shell scripts salparadise Linux - Newbie 2 12-21-2002 05:40 AM


All times are GMT -5. The time now is 09:00 PM.

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