LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-17-2019, 08:51 AM   #1
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 14

Rep: Reputation: Disabled
Unhappy install from slackbuilds


Ok, im ashamed. I think its a stupid question, but ok. Im newbie on linux and new in Slackware.
I'm trying to install some packges from slackbuilds - as I saw, its the best and safe way.

I tried to follow the howto and searched for guides, but all says the same things, so..
When i try to install, for example, lshw. When i put the command "chmod +x lshw.SlackBuild", its appear to work fine. But, when i try to execute, i receive the msg:
Code:
 ./lshw.SlackBuild 
tar: /home/ich/Downloads/lshw/lshw-B.02.18.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Whats is happening? I used, as sayed in the guide, "su -l" to do those commands
the lshw.SlackBuild is a simbolic link, like "lshw.SlackBuild*". How to make that thing be executable?
The version is the same of the downloaded file and the SlackBuilds directory(Step 3 of howto), so this isnt the problem.
The ls command of my directory:
Code:
Downloads/lshw# ls
README  doinst.sh  gtk-lshw.desktop  lshw.SlackBuild*  lshw.info  slack-desc

I tried to install from https://pkgs.org/, which gives me the binaries. But, as example, Qtiplot wont open because he cant find some libraries. The problem inst occur with I install from Slackbuilds, correct?
Also, its safe this site(pkgs.org)?

and, also, the command "sbopkg" should not install lshw or Qtiplot for me? Or lshw isnt a official packge?

Sites :
https://slackbuilds.org/repository/1...w/?search=lshw
https://slackbuilds.org/howto/
https://slackware.pkgs.org/14.2/slac...4-4cf.txz.html
 
Old 01-17-2019, 08:59 AM   #2
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 481
Blog Entries: 3

Rep: Reputation: 131Reputation: 131
install from slackbuilds

For what you are trying, you should have downloaded the source tarball.

Sbopkg, when configured, would do that for you and install it (ncurse ui, to be launched as root).

None of these are official but largely trusted by community. (from slackbuilds.org)

As an addition, sbopkg is able to generate a queue that will compile the dependencies in the right order when needed. Have a look at it's documentation.

Last edited by Tonus; 01-17-2019 at 09:01 AM.
 
Old 01-17-2019, 09:04 AM   #3
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 985

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
You also need to download the source package and put in the folder where you have the lshw.SlackBuild
Quote:
Source Downloads:
lshw-B.02.18.tar.gz (8671c6d94d6324a744b7f21f1bfecfd2)

Download SlackBuild:
lshw.tar.gz
The easiest way to work with SlackBuilds is to download the SlackBuild archive first:
Code:
wget https://slackbuilds.org/slackbuilds/14.2/system/lshw.tar.gz
#unpack it
tar -xvzpf lshw.tar.gz
# enter the resulting directory
cd lshw/
Then download the application source archive in the lshw directory:
Code:
wget https://www.ezix.org/software/files/lshw-B.02.18.tar.gz
And execute the lshw.SlackBuild (it's already executable)
Code:
./lshw.SlackBuild
P.S.
Wait for the compilation to finish, you'll get a message like this:
Code:
Slackware package /tmp/lshw-x-x-x-SBo.tgz created.
That is your compiled package, take it from there (move) and store it in your personal repository for future use.
And install it with:
Code:
/sbin/installpkg /your_folder/lshw-x-x-x-SBo.tgz
# issuing ldconfig won't harm after the installation
/sbin/ldconfig
Note that you need to housekeep the SlackBuilds working directory on your own, clean it with:
Code:
rm -rf /tmp/SBo/

Last edited by abga; 01-17-2019 at 09:14 AM. Reason: P.S.
 
3 members found this post helpful.
Old 01-17-2019, 10:30 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,012

Rep: Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684
The others have answered how to get the source so you can build the package, so I'll skip that.

Quote:
Originally Posted by Myphre View Post
I tried to install from https://pkgs.org/, which gives me the binaries. But, as example, Qtiplot wont open because he cant find some libraries. The problem inst occur with I install from Slackbuilds, correct?
The problem is that Qtiplot has dependencies. If you don't install the dependencies, it won't work (or won't work properly). I don't believe there is anything on pkgs.net that will notify you of the dependencies of a program.

The Qtiplot on SlackBuilds.org (commonly called SBo) will likely require the same dependencies, but they will be listed on SBo under the "This requires:" line with links to all the packages that are required for that (and any optional dependencies will be listed in the README). Keep in mind, those dependencies may have dependencies of their own. Here's the required dependencies for Qtiplot (in this example, none of these dependencies have dependencies of their own, so those are all you need).

Code:
Qtiplot
   alglib
   muParser
   qt-assistant-compat
   tamu_anova
You will need to install dependencies before the main package.

Quote:
Originally Posted by Myphre View Post
Also, its safe this site(pkgs.org)?
As far as I'm aware, there are no checks done on pkgs.org to verify whether the packages are good or bad.

But what's potentially bad is if you start mixing packages from different repos (since pkgs.net typically list several different repos for each package). This could potentially get you in dependency hell if one library from a certain repo is a specific version, and another package from a different repo was built against a different, incompatible version.

I typically recommend staying away from pkgs.net and only install from specific repos you trust.

Quote:
Originally Posted by Myphre View Post
and, also, the command "sbopkg" should not install lshw or Qtiplot for me? Or lshw isnt a official packge?
sbopkg is not an official package and will only build and install things off of SBo. lshw and Qtiplot are on SBo and are not official packages. Once you have sbopkg configured and updated, you should be able to either navigate through the menus to the items you want to install or use the commandline and run sbopkg -i PACKAGENAME.

Keep in mind, sbopkg itself doesn't handle dependencies, but it does have a companion program included called sqg (SlackBuild Queue Generator). This is able to generate a "queue" that sbopkg can follow to build everything in order. You can have sqg compile queues for all packages by running sqg -a (which can take a few minutes) or for an individual package by running sqg -p PACKAGENAME. Then you can use that queue with sbopkg to build every item listed there in the correct order to build your overall program.

All that being said, I would make sure you understand the manual process (downloading the SlackBuild files, extracting them, downloading the source, running the SlackBuild, and installing the resulting package) first before you figure out sbopkg. This will allow you to be familiar with the process so if something breaks, you're more likely able to fix it. Slackware is a great distro to learn how things work and then once you've figured it out, there's usually some simpler way to automate it... but the knowledge you'll learn will be a great help in ensuring you're able to fix things if/when they break.
 
2 members found this post helpful.
Old 01-17-2019, 10:51 AM   #5
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,575
Blog Entries: 3

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
OP, getting the Slackbuilds process is a little tricky at first but once you've done it, you'll have no problems doing it in your sleep.

Just as a point of information, I have never had to use chmod +x on a Slackbuild. I always skip that part of the process.

The others have answered your questions mostly.

Some useful third-party repos for binaries. Main two which you can trust implicitly:

AlienBob:

http://www.slackware.com/~alien/slackbuilds/

ponce:

http://ponce.cc/slackware/

You'll find most of what you need in the above repos, I would have thought.

Another two which I have used multiple times with no issues:

Slackware UK Salix:

http://slackware.uk/salix/ [check the 'extra' directories for some third-party binaries]

Slackonly:

https://slackonly.com/pub/packages/

EDIT: One other thing, OP, if you're new to Linux, do you really want to start with a distro like Slackware? I applaud your ambition, but it may be worth starting with something else then moving onto Slackware at a later date.

Last edited by Lysander666; 01-17-2019 at 10:58 AM.
 
2 members found this post helpful.
Old 01-17-2019, 11:13 AM   #6
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Posts: 521

Rep: Reputation: 179Reputation: 179
Using a SlackBuild to compile software:

You are going to build a program called "super" from source. There is no such program AFAIK but follow along and humour me anyway.

Download "super.tar.gz" and extract it. If you want/need to stay in a GUI then use Ark to do that for you. The result will be a directory called "super". Inside that directory will be the "super.SlackBuild". This directory is going to be where you will be doing your work.

Download the source "super.x.xxx.x.tar.gz" and move it to inside the "super" directory.

Open a terminal and navigate to inside the "super" directory.

su to root

Code:
./super
and hit the tab key to complete the command so it becomes
Code:
./super.SlackBuild
<enter>

It is that easy and was how I did it before I got seduced by other methods but you have to crawl before you can run ...
 
1 members found this post helpful.
Old 01-17-2019, 12:29 PM   #7
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,575
Blog Entries: 3

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
I'm going to follow up on Gordie's post. You can do everything in the command line, OP. No need for GUI. This is Slackware. Terminal commands or bust.

I'm going to use Gordie's example but instead of super we are going to be playing SuperTuxCart. So here we go.

The page is here:

https://slackbuilds.org/repository/1.../supertuxkart/

All looks good but waiiiitttt... what's that?

Quote:
This requires: OpenAL
Looks like SuperTuxCart has a dependency. We're going to have to install that BEFORE we install SuperTuxCart. Better get on with it and go to the linked OpenAL page here:

https://slackbuilds.org/repository/1...raries/OpenAL/

First thing, you will need to download the source file and the Slackbuild. The source file is called openal-soft-1.18.0.tar.bz2 - and the Slackbuild is called OpenAL.tar.gz

Let's navigate into our Downloads folder and download them

Code:
cd Downloads
then to download them

Now we have to extract the Slackbuild. We're going to create a folder named after the source file and put the extracted contents into it with one command. Like so:

Code:
tar -xzvf OpenAL.tar.gz
You now have a folder called OpenAL with the extracted contents in it. Now we have to move the source file into it with

Code:
mv openal-soft-1.18.0.tar.bz2 OpenAL
Now change to root user with

Code:
su -
Go back into your OpenAL directory. We need the full path now:

Code:
cd /home/<yourusername>/Downloads/OpenAL
and take a look at the folder contents with

Code:
ls
it should look like

Code:
OpenAL.SlackBuild  OpenAL.info  README  openal-soft-1.18.0.tar.bz2  slack-desc
Now run the Slackbuild with

Code:
./OpenAL.SlackBuild
This will create a binary called OpenAL-1.18.0-x86_64-1_SBo.tgz and drop it into /tmp

Now all you have to do is:

Code:
cd /tmp
and

Code:
installpkg OpenAL-1.18.0-x86_64-1_SBo.tgz
NOW you're ready to install SuperTuxKart. And you even know how to do it

Last edited by Lysander666; 01-17-2019 at 12:32 PM.
 
3 members found this post helpful.
Old 01-17-2019, 03:02 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,012

Rep: Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684Reputation: 3684
I know this is adding to the mass of suggestions already and you may just want to ignore this if you're not too familiar with the commandline.

But once you have the SlackBuild and associated files, there's another method to download the source tarball that doesn't require going to SlackBuilds.org or copying/pasting the download link. This can be really handy if you just have the whole SBo repo on your computer (I always keep a local copy of it that I update through git).

Once you have the .info file, you can "source" that file, which means it will take all the items in there and store them in variable names. All source downloads will be in that file and once sourced, you can download it using that variable. We'll take a look at OpenAL that lysander666 mentioned above. Here's the contents of OpenAL.info (with the email address redacted to hopefully minimize chances for spam).

Code:
PRGNAM="OpenAL"
VERSION="1.18.0"
HOMEPAGE="https://www.openal-soft.org/"
DOWNLOAD="https://www.openal-soft.org/openal-releases/openal-soft-1.18.0.tar.bz2"
MD5SUM="704d41343b52dd04115de2dcdac5de03"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Erik Hanson"
EMAIL="removed"
Now, if we look in there, you can see the DOWNLOAD option has the location of the source tarball. You can either copy it out of there manually or you can source the file, which will store all those entries into the variable names before the equals sign, so in this case, it would store the location of the tarball into the DOWNLOAD variable, then you can simply download it using wget $DOWNLOAD, which the computer would see as the same thing as wget https://www.openal-soft.org/openal-r...1.18.0.tar.bz2 and will save the file in your current folder.

To source the file, you can either use the source command followed by the filename, or you can simply use a period in place of the source command as it is a shortcut for it.

Code:
. OpenAL.info
wget $DOWNLOAD
Now you can simply run OpenAL.SlackBuild as root.
 
6 members found this post helpful.
Old 01-17-2019, 05:41 PM   #9
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thx for the help! Now i understood how it works. But, i had some problems installing Qtiplot. I have installed all the libraries need.

In some part appears:

Code:
Using stylesheet: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/manual/qtiplot.dsl
Working on: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/manual/docbook-en/index.docbook
WARNING: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/qtiplot/qtiplot.pro:62: Unescaped backslashes are deprecated.
WARNING: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/qtiplot/qtiplot.pro:62: Unmatched quotes are deprecated.
WARNING: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/qtiplot/qtiplot.pro:63: Unmatched quotes are deprecated.
WARNING: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/qtiplot/qtiplot.pro:164: Unescaped backslashes are deprecated.
WARNING: /tmp/SBo/QtiPlot-0.9.8.9/qtiplot-0.9.8.9/qtiplot/qtiplot.pro:164: Unmatched quotes are deprecated.
sip: Deprecation warning: src/scripting/qti.sip:33: %Module version number should be specified using the 'version' argument
sip: ::FFT ctor argument 1 has an unsupported type for a Python signature - provide a valid type, %MethodCode and a C++ signature
WARNING: Failure to find: ../tmp/qtiplot/sipqticmodule.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiApplicationWindow.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQwtPlot.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiGraph.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiGraph3D.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiArrowMarker.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFrameWidget.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiEllipseWidget.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiImageWidget.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiLegendWidget.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiRectangleWidget.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiGrid.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQwtSymbol.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiImageSymbol.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQwtPlotCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiBoxCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiPieCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiPlotCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFunctionCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiDataCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiErrorBarsCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiVectorCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQwtHistogram.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQwtPlotSpectrogram.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiSpectrogram.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiMultiLayer.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiTable.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiLinearColorMap.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQwtLinearColorMap.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiMatrix.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiMdiSubWindow.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiScriptEdit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiNote.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiPythonScript.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiPythonScripting.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFolder.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiExponentialFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiTwoExpFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiThreeExpFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiSigmoidalFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiLogisticFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiGaussAmpFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiLorentzFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiNonLinearFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiPluginFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiMultiPeakFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiPolynomialFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiLinearFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiGaussFit.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFilter.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiDifferentiation.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiIntegration.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiInterpolation.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiSmoothFilter.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFFTFilter.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiFFT.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiCorrelation.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiConvolution.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiDeconvolution.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiStatistics.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiStatisticTest.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtitTest.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiShapiroWilkTest.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiChiSquareTest.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiAnova.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQList0101ErrorBarsCurve.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQList0101Folder.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQList0101Graph.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQList0101MdiSubWindow.cpp
WARNING: Failure to find: ../tmp/qtiplot/sipqtiQList0101ArrowMarker.cpp
gcc -c -pipe -O2 -D_REENTRANT -Wall -W -DSCRIPTING_CONSOLE -DSVN_REVISION=
And appears some erros like:
Code:
src/analysis/dialogs/FitDialog.cpp:1025:41: error: no matching function for call to 'QTableWidgetItem::setFlags(bool)'
         it->setFlags(!Qt::ItemIsEditable);
Whats is going wrong? The version is the same of Qtiplot inside the file and in Slackbuild.

So, just to know, all the libraries needed is in the description of the archive? In debian, as i remember, the command (apt-get) says when u need some libraries.
In this case, the problem is the file qtiplot-0.9.8.9.tar.bz2 ?

Edit:
Quote:
EDIT: One other thing, OP, if you're new to Linux, do you really want to start with a distro like Slackware? I applaud your ambition, but it may be worth starting with something else then moving onto Slackware at a later date.
I know, i think that too. I started with Debian but after i had read in " Desciclopedia" about Slackware i was tempeted to use that distro. In Disciplopedia, has a citation :
Quote:
"Usar Slackware é o único jeito de aguentar todo o processamento que essa merda de humanidade exige"
Deus sobre o sistema de gerenciamento do universo
haha Its like
Quote:
"Using Slackware is the only way to handle all the processing that this shit mankind demands"
God on the management system of the universe
And I have learned a lot: I know how to configure and install a new kernel, lost the fear of only use command line, and so on.

Last edited by Myphre; 01-17-2019 at 05:51 PM. Reason: Reply Lysander666
 
Old 01-17-2019, 06:19 PM   #10
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Posts: 521

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by I tried to install from [url
https://pkgs.org/[/url], which gives me the binaries. But, as example, Qtiplot wont open because he cant find some libraries. The problem inst occur with I install from Slackbuilds, correct?
Also, its safe this site(pkgs.org)?
It is not encouraged to install binaries from this site. Your safer way is to go to https://slackbuilds.org/
 
1 members found this post helpful.
Old 01-17-2019, 06:19 PM   #11
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 985

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
@Myphre

You don't have an automatic dependency resolution like with apt-get, that's what bassmadrigal explained in post #4. You need to follow and resolve the dependencies yourself.
For instance:
http://slackbuilds.org/repository/14...demic/QtiPlot/
Has the following dependencies that you need to build and install before QtiPlot:
Code:
This requires: alglib, muParser, qt-assistant-compat, tamu_anova
Note that those dependencies can also have their own dependencies (not in this case - you're lucky) and you need to go deeper and resolve those second level dependencies first. All this manually, no automation.

Coming back to your errors with the QtiPlot package, first make sure that your /tmp partition is not full, that's in case you have a partition dedicated for /tmp , which is good practice BTW. Depending on your storage capacity, allocate /tmp at least 1GB and do clean the /tmp/SBo/ folder. Actually, just to stay on the safe side, do it always after finishing building a package as you don't need the garbage there anymore.
Code:
rm -rf /tmp/SBo/
In case a SlackBuild fails, it's recommended to clean the leftovers in /tmp/SBo/

It might be that the QtiPlot is broken, in which case you should contact the package maintainer (by E-Mail) and report it.
Quote:
Maintained by: Petar Petrov
 
2 members found this post helpful.
Old 01-17-2019, 09:34 PM   #12
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,285

Rep: Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645Reputation: 1645
Quote:
It might be that the QtiPlot [build] is broken [...]
It isn't. I've accidentally built it on my slackrepo box (EDIT: Which is running Slackware64 14.2), which I update every week.

Code:
================================================================================
academic/QtiPlot                                                        21:32:18
================================================================================

Calculating dependencies ... 
Dependency tree:
academic/QtiPlot (ok)
  libraries/tamu_anova (ok)
  libraries/qt-assistant-compat (ok)
  libraries/muParser (ok)
  libraries/alglib (ok)

academic/QtiPlot is up-to-date (version 0.9.8.9).

Last edited by Richard Cranium; 01-17-2019 at 09:35 PM. Reason: ...and added note about update frequency on slackrepo box.
 
1 members found this post helpful.
Old 01-18-2019, 01:32 AM   #13
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 975

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Quote:
Maintained by: Petar Petrov
last i checked, it built fine
 
Old 01-18-2019, 03:58 AM   #14
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,575
Blog Entries: 3

Rep: Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592Reputation: 1592
OP, have you actually built the other dependencies?

If I were you I'd build the whole package in this order using the dependencies:

tamu_anova
qt-assistant-compat
muParser
alglib
QtiPlot

Read through agba's post again. Debian does all this automatic dependency resolution for you. So you would just type

Code:
#apt install qtiplot
and it will pull everything in automatically. Slackware does not do this. All dependencies must be installed separately and manually.

Quote:
Originally Posted by Richard Cranium View Post
I've accidentally built it
Amusing.

EDIT: Sorry OP, I see you built the dependencies. Could you see how much space is on your system with

Code:
df -h
and post the output?

Last edited by Lysander666; 01-18-2019 at 04:07 AM.
 
1 members found this post helpful.
Old 01-18-2019, 09:13 AM   #15
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Yes, I know. I just compare the two distro.

For me, it's like the information about the libraries are not clear on the site or even in the archives. For example, I did not install in this order and where do I find they need to be installed in this order? I installed as they appear on the site, from left to right:

Quote:
This requires: alglib, muParser, qt-assistant-compat, tamu_anova


I have space for the installation in my disk. I will try now again.

Thx for the help!

Ps - Richard Cranium, that output about Qtiplot, what do u used to get it?
 
  


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
Script that changes the install location of SlackBuilds affinity Slackware 2 12-24-2009 11:23 AM
[SOLVED] ffmpeg install error from SlackBuilds eraosso Slackware 7 11-05-2009 07:23 PM
[SOLVED] Slackware 13 64bit: First time using SlackBuilds and unable to install programs. Switch7 Slackware 19 10-08-2009 09:26 AM
Gnucash, can't install from the slackbuilds basheer Slackware 6 04-04-2009 10:03 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

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

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