LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-28-2009, 10:44 AM   #16
msc8127
Member
 
Registered: Jan 2009
Posts: 42

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by BCarey View Post
The how-to mentioned by BrianL is a must-read.

You may have some misconceptions about what you are doing which makes this confusing to you. A tar.gz file is a compressed archive containing any number of files and directories. The SlackBuild.tar.gz contains the SlackBuild itself and all the necessary files to build the software, except the source itself. That is contained in another tar.gz file, which should be left compressed and put in the same directory which was created when you opened the SlackBuild.tar.gz with the "tar" command. (This last step is what you didn't do which gave the the informative error message in your first post.)

If you do all of the above as a normal user, you will have no permission problems. Now you have your build environment all set up, so cd into that directory, su to root, and run "sh whatever.SlackBuild". (If you copy only the SlackBuild script itself and the source into a different directory you will be missing other files necessary to the build process, hence your most recent, again informative, error message.)

Now this does not actually install anything, so none of this has to do with the package manager yet. This compiles the program and packages it up in a .tgz file, which is a Slackware-appropriate package which can then be installed using installpkg (as root). The .tgz file itself is just a compressed archive itself of the program binaries and related files.

Brian
Thanks, that made a lot of sense in seeing what is actually going on as I work through the slackbuild process, and I think I better understand the easier way to do things now. I'll try another slackbuild momentarily and see if it goes smoother.

OpenOffice.org is up and running now. Through my errors and you folks' guidance I now see how the directories are involved with each other and such so I think I'll have less trouble now.

Thanks to all of you for your patience and help!
 
Old 03-28-2009, 11:18 AM   #17
msc8127
Member
 
Registered: Jan 2009
Posts: 42

Original Poster
Rep: Reputation: 15
ok, I went through and installed kmymoney for more practice on the process and all went well.

everything made a lot more sense this time.

Thanks folks!
 
  


Reply



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
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM
OpenOffice 2.0 installation olivia.jensen@mcgill Slackware 50 05-14-2006 09:35 AM
OpenOffice-1.1.0 installation prob... michelbehr Linux - Software 4 03-06-2004 02:31 PM
OpenOffice Installation moger Linux - Software 10 01-20-2004 12:34 PM
Help with OpenOffice 1.0.1 installation please! hitbob Linux - Newbie 7 10-04-2003 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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