LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-04-2016, 11:00 PM   #1
cmoore90638
Member
 
Registered: May 2013
Posts: 30

Rep: Reputation: Disabled
compiling source code


I am trying to install sbo tools on slackware 14.1. I have extracted the file. I created a file in my home directory named sbo tools it has 4 files. They are file:///home/chuck/sbotools/README
file:///home/chuck/sbotools/sbotools.SlackBuild
file:///home/chuck/sbotools/sbotools.info
file:///home/chuck/sbotools/slack-desc
I change directory to sbotools and try ,/configure/on all these files and it tells me no such file. the folder shows in my home directory. What am I not thinking of any help would be appreciated. Thanks in advance
 
Old 07-05-2016, 01:05 AM   #2
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 920

Rep: Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584
First, you should read this:
https://slackbuilds.org/howto/

To summarise it for you, I will say that you have not completed all the steps of using a SlackBuild.

A SlackBuild package from Slackbuilds.org (the SBo of the "sbotools" name) contains only the scripts to *build* a software, NOT the software itself.

To get the software you want to install, you should either go to its SlackBuilds.org page (in this case: https://slackbuilds.org/repository/1...search=sbotool) and follow the URL under the Source Downloads: section, or do this:

Code:
$ cat /home/chuck/sbotools/sbotools.info | grep DOWNLOAD
and download the result.

Verify that you downloaded what you think you downloaded by comparing its checksum:

Code:
$ md5sum /home/chuck/sbotools/sbotools-X.Y.tar.gz
Place this downloaded file in the same directory as the other files that are members of the SlackBuild package, and run the SlackBuild script.

Code:
$ chmod +x /home/chuck/sbotools/sbotools.SlackBuild
$ su -c '/home/chuck/sbotools/sbotools.SlackBuild'
Once that is finished, you will find a freshly built installable package in your /tmp folder. Install it with 'installpkg':

Code:
$ su -c 'installpkg /tmp/sbotools*SBo*t?z'
This is how SlackBuilds work.

Honestly, you might want to give yourself some time to learn that system in its purest form (the form I just described here) before you let yourself graduate to a tool that does it all for you. That's just my opinion, of course, but you earn more Slack if you learn the technology before you learn the frontends.

Last edited by notKlaatu; 07-05-2016 at 01:06 AM. Reason: added a joke about slack
 
2 members found this post helpful.
Old 07-05-2016, 12:08 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,616

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Quote:
Originally Posted by cmoore90638 View Post
I am trying to install sbo tools on slackware 14.1. I have extracted the file. I created a file in my home directory named sbo tools it has 4 files. They are file:///home/chuck/sbotools/README
file:///home/chuck/sbotools/sbotools.SlackBuild
file:///home/chuck/sbotools/sbotools.info
file:///home/chuck/sbotools/slack-desc
I change directory to sbotools and try ,/configure/on all these files and it tells me no such file. the folder shows in my home directory. What am I not thinking of any help would be appreciated. Thanks in advance
First, take note that the file "sbotools.SlackBuild" is already a script for building the application, you do not need to manually issue the basic commands "configure" "make" "make install" because these commands are handled by the SlackBuild script itself. That script should have been enough to build if only the needed source folder was there. So, as advised above, go re-download all whatever the site folder has for that particular package.

When all files are ready inside the folder, as you did, just go into the folder and issue these commands:

Code:
chmod +x sbotools.SlackBuild
sudo ./sbotools.SlackBuild <here you need to wait until the script builds the package>

(then, usually the built package is placed to the /tmp folder, so you may install it now)

sudo /sbin/installpkg /tmp/sbotools*txz <or .tgz whatever is used>
Hope that helps. Good luck and enjoy!

m.m.
 
2 members found this post helpful.
Old 07-07-2016, 05:18 PM   #4
arodlinux
Member
 
Registered: Apr 2008
Distribution: Slackware64 14.2 & Current
Posts: 75

Rep: Reputation: 28
As root from your working directory.
Code:
chmod +x sbotools.SlackBuild
Code:
./sbotools.SlackBuild
Then

Code:
installpkg sbotools.SlackBuild
Your package probably will be created in /tmp therefore

Code:
installpkg /tmp/sbotools.SlackBuild
 
1 members found this post helpful.
  


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
Help compiling source code jjscott Linux - Software 7 06-15-2015 10:30 PM
Compiling from source code umamaheshmunez Linux - Software 9 10-24-2008 04:05 AM
compiling source code BoredStudent Linux - Desktop 1 10-26-2006 09:09 AM
Compiling hplip source code. hscast Linux - Software 4 06-16-2006 08:36 PM
compiling source code bishalpoudyal Linux - Software 1 04-08-2006 04:40 AM


All times are GMT -5. The time now is 06:45 PM.

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