LinuxQuestions.org
Help answer threads with 0 replies.
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 04-23-2004, 08:18 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Unhappy How do i clear the MAKEFILE ??


I am experimenting with downloading source code rather than the rpm for RH9.

From what I have read the process is usually the same each time.
1) Download file
2) bunzip2 or tar or whatever to extract files
3) change to new directory
4) ./configure (I believe this makes a makefile??)
5) make
6) su -c make install

Now I have tried this , however i found that my file had a dependency that i neede to install first, so.....
I started the process again with the necessary file, and that had a dependency, so ......
I started the process again with the next file, however when I do step 4) ./configure I get an error :
[glenn@localhost Hermes-1.3-CVS-00-02-17]$ ./configure
bash: ./configure: No such file or directory

Question : Is this because I have already run the ./configure on another file and it created "stuff" in a "Makefile" that this new file is trying to access???

I really don't know if that made sense, hopefully someone will have mercy on my formerly Windows 98 driven soul

Thanks
 
Old 04-23-2004, 08:30 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
No, it means Hermes doesn't use a configure script.

There's probably a file called INSTALL or README in that directory. Read it and see what it says - the makefile may be there and may need you to edit it accordingly (don't worry, there will be comments to guide you).
 
Old 04-23-2004, 08:38 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Aha, after a little research it turns out that the configure script is missing from a particular version of Hermes (the graphics library, right?) and therefore autoconf/automake need to be run...except the configure.in file is missing a line.

Long story short, if you have this version I would recommend going to http://clanlib.org/download/files/ and getting a different version instead.
 
Old 04-23-2004, 08:44 PM   #4
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
Do i have to delete the old install?

Since i have partially installed this file

Do i have to delete the existing files that were created by tar and bunzip2?

If so, how do i know where they are and which ones to delete?

Thanks again
 
Old 04-23-2004, 08:48 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If it didn't successfully build then it didn't install onto the system.
If you were in your home dir when you bunzipped the files then the only files created are in /home/glenn69/Hermes and you can delete the entire directory with rm -Rf /home/glenn69/Hermes
obviously substituting in the correct name (use TAB to auto complete).

Also, you may not know that you can combine tar/bunzipping with the command:
Code:
tar jxvf fileToUntarAndBunzip.tar.bz2
similarly for tar.gz or tgz files:
Code:
tar zxvf fileToUntarball.tar.gz
 
Old 04-23-2004, 08:50 PM   #6
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
Thanks a bunch for the help
 
  


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
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 06:02 PM
How to modify makefile.in or makefile.am QiangWan Linux - Newbie 1 05-17-2005 12:07 PM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 04:57 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 01:23 PM
Clear this please lramos85 Fedora 3 02-06-2004 07:35 PM


All times are GMT -5. The time now is 02:23 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