LinuxQuestions.org
Review your favorite Linux distribution.
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, 06:04 PM   #1
cmoore90638
Member
 
Registered: May 2013
Posts: 30

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, 06:43 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,742

Rep: Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319
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, 06:49 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,552

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

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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, 08:08 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,473

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
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, 03:08 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,225

Rep: Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521
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 03:10 PM.
 
Old 07-16-2016, 04:02 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,742

Rep: Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319
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, 07:56 PM   #8
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,491
Blog Entries: 2

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


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

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

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