installing source code
I am trying to learn how to inatall from source code. I have read the how to's and still I am doing something wrong. I download the source code and extract it with no problem; but when I try ./configure it gives me the message no succh file or directory. I am in the directory where I extracted it too.There is a readme file, but no install file. it has a makefile already.I thought that was made after the configure and the make commands. I will appreciate any help thank you
bash-4.3$ pwd /home/chuck bash-4.3$ cd /home/chuck/Downloads/bleachbit-1.12 bash-4.3$ ./configure bash: ./configure: No such file or directory bash-4.3$ ./configure bleachbit-1.12 bash: ./configure: No such file or directory bash-4.3$ ,/configure /bleachbit-1.12 bash: ,/configure: No such file or directory bash-4.3$ |
The configuring ( ./configure ) with autotools is one of the twelve ways to build software
http://www.linuxquestions.org/questi...code-895187/#6 'bleachbit-1.12' : cd bleachbit-1.12/ python setup.py build # python setup.py install - |
Did you read the readme? Does it say how to install it?
|
If makefile is there, then you just need to use "make". But there may be another script in with the sources to run make.
|
Quote:
|
cmoore90638
it is NEVER!!! a good idea to just BLINDLY run "configure" and expect it to run( and work as YOU expected) IT WILL NOT please use "the little gray cells" behind your eyes and READ the files there is a README , so read it there is a makefile - read it !!! make is a VERY flexible program and can do many things besides building software ( like scripted image processing) this particular makefile dose NOT !!! build anything it only installs by coping files to the install location and by READING the Makefile you find that is defaults to installing to "/usr/local" not every linux OS uses that location |
This thread is about 'bleachbit-1.12'.
There is no 'configure'. It's a python application : The build file is 'setup.py'. See post #2. |
I think it's great that you're learning to install from source code. However in this case Bleachbit provides installers for quite a few distros (http://www.bleachbit.org/download/linux) - did you check to see if yours is listed?
For reasons such as the one John VV mentioned with the install location, I tend to roughly use the following descending priority for installing packages: (i) install from the distro's repositories (unless I need a version more up-to-date than the version available there). (ii) install from an installer package (in my case .deb) supplied by the software creator/maintainer. (iii) install from a PPA (my Mint operating system is in the Ubuntu family). (iv) make from source code, following closely the instructions in the README and on the software's website. We can't tell which distro you're using as you haven't supplied this info. You should think of either including it in your profile or signature so that it's readily available when you ask future questions. |
All times are GMT -5. The time now is 03:35 PM. |