LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-15-2016, 05:04 PM   #1
cmoore90638
Member
 
Registered: May 2013
Posts: 32

Rep: Reputation: Disabled
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$
 
Old 07-15-2016, 05:43 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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


-
 
1 members found this post helpful.
Old 07-15-2016, 05:49 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Did you read the readme? Does it say how to install it?
 
1 members found this post helpful.
Old 07-15-2016, 05:55 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If makefile is there, then you just need to use "make". But there may be another script in with the sources to run make.
 
Old 07-15-2016, 07:08 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by AwesomeMachine View Post
If makefile is there, then you just need to use "make". But there may be another script in with the sources to run make.
Always a good idea to rerun configure first as the makefile in the archive will have been configured by the suppliers system who may pass differernt options to the configure script, presuming of course that it is a standard configue/make/make install system, but you should read any docs first to seewhat needs doing.
 
Old 07-16-2016, 02:08 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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

Last edited by John VV; 07-16-2016 at 02:10 PM.
 
Old 07-16-2016, 03:02 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 07-16-2016, 06:56 PM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.
 
  


Reply

Tags
bleachbit



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
installing linux from source code _Linux_Learner Linux - Newbie 14 03-20-2010 04:49 AM
Installing Source Code Help Thorlord Linux - Software 5 03-12-2006 07:31 PM
installing source code MilkyBar_Kid Slackware 2 07-18-2004 01:46 AM
Installing from source code chuckeff Mandriva 2 03-16-2004 10:30 PM
Help (PLEASE) installing source code for RH7.3 skarra Linux - General 4 08-09-2002 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 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
Open Source Consulting | Domain Registration