LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Dount on Queue files and Sbopkg (http://www.linuxquestions.org/questions/slackware-14/dount-on-queue-files-and-sbopkg-889364/)

vikrang 07-01-2011 07:00 AM

Dount on Queue files and Sbopkg
 
I use Slackware 13.37 ...I have a doubt wrt to installing "Q" files . I have cloned a repo from git ..Yesterday I tried to install Libre office using sbopkg..It began with the download and gave an error asking me to retry/abort or continue with the build due to some missing package..I presently have a folder "queues" in /var/lib/sbopkg..I also downloaded another repo and placed it another folder. The problem is that in SBOpkg it is picking up only from the queue folder in /var/lib/SBOpkg/Queues. I dont know how to point to the other folder in /home/downloads/queues/ (the second repo)..

I thought of trying this as neither slackbuild or the first repo is working for installing libre office..The internet connectivity is ok!

Mark Pettit 07-01-2011 08:15 AM

Any reason why you're not using AlienBob's prebuilt LibreOffice packages ? He goes to incredible effort to make them work well.

bgeddy 07-01-2011 11:47 AM

Quote:

I use Slackware 13.37 ...I have a doubt wrt to installing "Q" files . I have cloned a repo from git ..Yesterday I tried to install Libre office using sbopkg..
I'm not really sure what you mean here. If you mean you have cloned a Sbo (SlackBuild) repository this is different from a queue file. If, however, you mean one of the collections of queue files such as Mauro Giachero's creation then you don't need this for LibreOffice - it has no build queue dependencies so a queue file is pointless. The usual way would simply be to set up sbopkg to point to the repository of the version of Slackware you are running (13.37) then simply select the libreoffice slackbuild in sbopkg and build then install it. None of this needs queue files or local repositories.

As it is Sbopkg uses a single location for stored queues which defaults to /var/lib/sbopkg/queues/ but may be changed in /etc/sbopkg/sbopkg.conf by setting QUEUEDIR or more simply by setting the environment variable QUEUEDIR to something different before running sbopkg. To do this just run sbopkg as root like this:
Code:

QUEUEDIR=/home/downloads/queues/  sbopkg
This should run sbopkg with the new queue file location. Again , queue files are only really relevant when you have builds which require dependencies - LibreOffice does not. I cannot see the point of having more than one set of stored queue files but maybe I'm just missing this.

Diantre 07-01-2011 08:51 PM

Quote:

Originally Posted by vikrang (Post 4401267)
Yesterday I tried to install Libre office using sbopkg..It began with the download and gave an error asking me to retry/abort or continue with the build due to some missing package..

I know what happened to vikrang because it happened to me too. I was trying to install LibreOffice using sbopkg, but the download link was changed upstream. So the .info file from slackbuilds.org has an incorrect link, and sbopkg complains about it. No big deal, just wait until the SlackBuild maintainer updates the download link or correct it yourself.

Good thing AlienBob has a LibreOffice package available.

EDIT: Now thinking about it, the download link changed because of a new LibreOffice version, so changing the link and using the previous SlackBuild may not work. I haven't done it yet, so YMMV. Thanks again to AlienBob for his packages.

vikrang 07-02-2011 05:20 AM

[solved]
 
Thx .. I managed to download a binary package of libre (abt 120 MB) from Alien Bob's website and installed it...To summarize how I go about in searching and installing

1. I have installed sbopkg and synced to 13.37 repo (I thing it should be the stable branch)
2. I have cloned a collection of "Q" files by Maurio and Jannerkille. I guess on loading and processing a saved "Q" file , the packages with dependencies would be installed automatically which I think is an advantage with Q files. Else , I have to note down the dependencies and install them separately by hand which may be a problem with huge packages.
3.I also try to find packages from "slacky.eu"..But I guess it is in italian or some euro language and not in English.
4.Alien Bob's collection is also very good.. I tried the way he has instructed using "lftp" and cd ing to the particular package dir and building packages..But it was taking a long time ..The system tried to connect and was in "Waiting for response" for too long..
I presume there is some easier way of cloning his tree and installing (something like Arch Build System)..Will have to do some reading on that!

Then I drectly downloaded the binary and installed using pkgtool.

Thx for your time..

This can be marked as "SOLVED"

Alien Bob 07-02-2011 06:02 AM

Quote:

Originally Posted by vikrang (Post 4402272)
4.Alien Bob's collection is also very good.. I tried the way he has instructed using "lftp" and cd ing to the particular package dir and building packages..But it was taking a long time ..The system tried to connect and was in "Waiting for response" for too long..
I presume there is some easier way of cloning his tree and installing (something like Arch Build System)..Will have to do some reading on that!

Then I drectly downloaded the binary and installed using pkgtool.

The point of providing binary packages, is that you download and install them!
I do provide the sources plus build script for reference purposes (or in case you would want to build a customized or newer version), but especially in the case of LibreOffice recompiling is not the smartest thing to do - it takes many many hours to compile, requires tens of gigabytes free space and it will most likely fail unless you follow my build instructions to the letter.

Eric


All times are GMT -5. The time now is 01:08 AM.