LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2007, 09:19 PM   #1
harkonen
Member
 
Registered: May 2007
Distribution: slackware
Posts: 46

Rep: Reputation: 16
slackbuilds.org


I think I love slackbuilds.org.....except that I'm doing something wrong and nothing works.

The instructions on the slackbuilds.org FAQ (and the slackbuild wiki) state that after I untar some things, there will be an OUTPUT file in /tmp, and that I should then use installpkg to install the files. But doesn't installpkg ONLY install things in .tgz form? I've tried numerous slackbuilds and NONE render a .tgz file.

Seems like a simple step that I'm just not getting. Any pointers?
 
Old 08-21-2007, 09:24 PM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 964

Rep: Reputation: 34
what are you wanting to build? i would check with the slack.build files in the source directories from an official slackware mirror too,...

never hurts to get more than one opinion when building from source...
 
Old 08-21-2007, 09:29 PM   #3
harkonen
Member
 
Registered: May 2007
Distribution: slackware
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Okie View Post
what are you wanting to build? i would check with the slack.build files in the source directories from an official slackware mirror too,...
I've tried a few things. perl XML parser ("XML:simple-2.18"), scribus, tango icon set, audacity......basically I'm just trying to learn how to install things. I guess I could try slapt-get, which I've been reading a lot about lately.

Still I'd like to be able to say that I can build from source. Just sounds like a good thing to know how to do...but maybe i'm jumping the gun.
 
Old 08-21-2007, 09:37 PM   #4
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
Here are the steps to make a slackware package using a build from Slackbuilds
http://slackbuilds.org/howto/

As it says OUTPUT defaults to /tmp this is where the package will be located after is is built.
You would installpkg /tmp/<some_package>-<some_version>-<some_arch>-<some_build>_SBo.tgz
to install the package.
 
Old 08-21-2007, 09:44 PM   #5
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Smile

Quote:
Originally Posted by harkonen View Post
I think I love slackbuilds.org.....except that I'm doing something wrong and nothing works.

The instructions on the slackbuilds.org FAQ (and the slackbuild wiki) state that after I untar some things, there will be an OUTPUT file in /tmp, and that I should then use installpkg to install the files. But doesn't installpkg ONLY install things in .tgz form? I've tried numerous slackbuilds and NONE render a .tgz file.

Seems like a simple step that I'm just not getting. Any pointers?
You are doing something wrong.

1. Download the slack.Build script for your program (someprogram) you want to install. untar the script: tar -xzvf someprogram.tar.gz
You will now have a directory called someprogram in your build directory. Download the source for someprogram. Move the source inside the some program directory. cd into that directory.
2. Inside the someprogram directory there will be a build script called someprogram.SlackBuild.
3. Become root type su, enter root password
4. Type #chmod +x someprogram.SlackBuild
5. Execute the build script by #./someprogram.SlackBuild
6. Sit back and watch as your slackware package is created.
7. cd /tmp
8. #installpkg somperogram-i486_SBo.tgz
 
Old 08-21-2007, 10:03 PM   #6
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Are you following this? http://slackbuilds.org/howto/

If not, do so, and it should work.
If so, please post complete build logs (how to get those is linked in the bug reporting page).
 
Old 08-21-2007, 10:05 PM   #7
harkonen
Member
 
Registered: May 2007
Distribution: slackware
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by hitest View Post
You are doing something wrong.
1. Download the slack.Build script ....... 8. #installpkg somperogram-i486_SBo.tgz
Wow. That was the clearest take on this that I've ever read. The Slackware Essentials book included AND the HOWTO on slackbuilds.org combined. I nominate your instructions to be a STICKY. No kidding. Surely other people have asked about this?

Anyway, it totally worked. Thank you very very much.

Cool.

Last edited by harkonen; 08-21-2007 at 10:16 PM.
 
Old 08-21-2007, 10:19 PM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Er, I see now that you already referenced the HOWTO. Hmmm...

If you're trying to build scribus, then here's your steps:
1. Download http://slackbuilds.org/slackbuilds/1...scribus.tar.gz
Code:
wget http://slackbuilds.org/slackbuilds/12.0/office/scribus.tar.gz
2. Extract the script tarball.
Code:
tar -xzf scribus.tar.gz
3. Change directory to inside the name of the app (scribus in this case).
Code:
cd scribus
4. Download the source code for the app. There are at least two ways to do this:
Code:
wget $( grep DOWNLOAD scribus.info | cut -d = -f 2 )
OR get the download link from the SlackBuilds.org scribus page
Code:
wget http://dl.sourceforge.net/scribus/scribus-1.3.3.9.tar.bz2
5. Run the SlackBuild script.
Code:
./scribus.SlackBuild
Note that you can alter the ARCH, BUILD, or TAG variables directly from the command line (without editing the script), although in the case of ARCH, you do have to pass a valid value.
Some scripts also include other variables that can be passed from the command line, and those are mentioned in the README files for those scripts. The way to do this is as follows - for example, if I want to build scribus with i686 ARCH, package BUILD number 2, and with my initials as the build TAG, I would do this:
Code:
ARCH=i686 BUILD=2 TAG=_rlw ./scribus.SlackBuild
One last point (for those who are not aware) - we have an easy method of obtaining script tarballs for things that we host. All of the tarballs are available by name from http://slackbuilds.org/ports/$SLACK_VERSION/$APP.tar.gz
For example:
Code:
wget http://slackbuilds.org/ports/12.0/scribus.tar.gz

EDIT (late addition):
Now after taking all this time to type this, I see that hitest has beaten me :-)

Last edited by rworkman; 08-21-2007 at 10:20 PM.
 
Old 08-21-2007, 10:38 PM   #9
harkonen
Member
 
Registered: May 2007
Distribution: slackware
Posts: 46

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by rworkman View Post
Er, I see now that you already referenced the HOWTO. Hmmm...EDIT (late addition):
Now after taking all this time to type this, I see that hitest has beaten me :-)
Yeah, that browser reload button just can't get hit often enough around here.

Anyway, I've copied BOTH hitest's and your responses into my personal linux notes collection, and am grateful. Thanks a lot......and now that I know how to do it - thanks a lot to everyone over at SlackBuilds.org! (most of whom are probably lurking around this forum every other day or so...)
 
Old 08-21-2007, 11:23 PM   #10
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Smile

Quote:
Originally Posted by harkonen View Post
Wow. That was the clearest take on this that I've ever read. The Slackware Essentials book included AND the HOWTO on slackbuilds.org combined. I nominate your instructions to be a STICKY. No kidding. Surely other people have asked about this?

Anyway, it totally worked. Thank you very very much.

Cool.
You are welcome:-)
 
Old 08-21-2007, 11:32 PM   #11
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Smile

Quote:
Originally Posted by rworkman View Post
EDIT (late addition):
Now after taking all this time to type this, I see that hitest has beaten me :-)
You are the man, Robby! Your well-organized website taught me how to install SlackBuilds. I greatly appreciate the hard work that you do for us. All Slackers owe you a lot.
Thanks, man:-)
 
Old 08-22-2007, 12:09 AM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
You are the man, Robby! Your well-organized website taught me how to install SlackBuilds. I greatly appreciate the hard work that you do for us. All Slackers owe you a lot.
Thanks, man:-)
Well, I appreciate it; really, I do. However, I think your gratitude is misplaced -- http://slackware.com/~volkerdi/ is where it should be directed :-)
 
Old 08-22-2007, 06:31 AM   #13
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,464

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
Robby,

Methinks you are far too modest. I echo the comments from hitest.

Pat provides the perfectly cooked meat and potatoes, but the outer circle of yourself and Eric and others adds the garnish and gravy that make the whole Slackware dish a delight.

I, for one, would not have managed the transition from Slack 11 via current to Slack 12 without reference to your indispensable notes.

My sincere thanks to you and all others.
 
Old 08-22-2007, 07:40 AM   #14
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 964

Rep: Reputation: 34
slackbuilds are ok, but i almost never use them, prefering to simply build from source what i want/need that is not included with Slackware, i don't do anything fancy & complicated and just use the minimum parameters needed to get a functioning software install, i always run ./configure --help first and read the README & the INSTALL files for anything important, ./configure and make will always tell you if something is wrong so you can correct any missing dependencies or parameters...

slackbuilds are great for packages that are tried & true and you know for sure the package will build as expected but when a slackbuild continues all the way through to make install regardless of errors then you may end up with broken software installed, so i rather build source the old fashioned way when it comes to adding software Pat V. has not included with Slackware...

just my $00.02
 
Old 08-22-2007, 08:24 AM   #15
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Smile

Quote:
Originally Posted by rworkman View Post
Well, I appreciate it; really, I do. However, I think your gratitude is misplaced -- http://slackware.com/~volkerdi/ is where it should be directed :-)
I appreciate the reply, Robby:-)
I think that The Slackware Linux Project has grown to the point that the entire Slackware Team is needed to bring each release to completion in a timely manner:-)
No argument from me, Robby:-) Patrick rules!
 
  


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
Slackware 12, Opera, slackbuilds.org TL_CLD Slackware 6 08-15-2007 03:44 AM
slim pkg from slackbuilds.org symatic Slackware 3 07-14-2007 02:53 PM
[slackbuilds.org] slackware repository idea arcanex Slackware 5 05-19-2007 09:19 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM
SlackBuilds.org Frozen Bubble not working... Lufbery Slackware 7 11-07-2006 01:54 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration