LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i clear the MAKEFILE ?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-clear-the-makefile-173854/)

glenn69 04-23-2004 07:18 PM

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

Komakino 04-23-2004 07:30 PM

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).

Komakino 04-23-2004 07:38 PM

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.

glenn69 04-23-2004 07:44 PM

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

Komakino 04-23-2004 07:48 PM

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

glenn69 04-23-2004 07:50 PM

Thanks a bunch for the help


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