LinuxQuestions.org
Help answer threads with 0 replies.
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-18-2019, 10:01 AM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,655

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797

If I am. or when I use to go to slackbuilds and get the stuff off of there, the system I used was, go to the main package I want, look at the dep. then click on them, look at its deps, click on that then when I get to the "last" depend off of one dep, I start there, download the tars, and the slackbuild, run that, then move my way back to the main page, then work on the other dep if there is one in the same manner, until I have completed installing all of the deps (in order) then downloading the main package and slackbuild, running that one last.

Now i am using something that takes less time, but it's good to learn the basics first.

mod:

also when you do, then when you find one that the package has been updated, but the sackbuild has not, you can learn how to mod it to the updated version, making changes if needed, even if you find something that is not on the sight then you can take that and apply it to creating your own slackbuild for it, using its source code, etc..

Last edited by BW-userx; 01-18-2019 at 10:15 AM.
 
1 members found this post helpful.
Old 01-18-2019, 10:09 AM   #17
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,589
Blog Entries: 3

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
That's what I do. And yes, there are other tools to make it easier, but it's good to learn how to do it manually first.
 
Old 01-18-2019, 10:40 AM   #18
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,549

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
Quote:
Originally Posted by bassmadrigal View Post
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.
Very clever, Erik. Some very smart Slackware users here.
 
1 members found this post helpful.
Old 01-18-2019, 12:47 PM   #19
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,655

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
now taking from from @bassmadrigal that @Gerard Lally took then added some more info, then adding even more to it, we can build on it and come up with something else more effortless in the end process.


Using Eterm on slackbuilds.org we can look up the main package, get it's info and check for deps, then go and get them first, download then, compile, and install them, all, then get the main package and finish up doing the same with it.

there is two deps to this build.

Code:
#!/bin/bash

BUILDAREA=/home/userx/Documents


[[ $# -eq '0' ]] && { echo "Please enter package name (case sensitive)" ; exit ; }

#the tricky part is knowing what category the package is in. then doing this
#dynamicly 


#first get the deps and install them

SLACKBLDS=https://slackbuilds.org/slackbuilds/14.2/system/

packageName=$1

info=$SLACKBLDS/$packageName/$packageName.info

wget $info


. $packageName.info

echo $REQUIRES

# put them in an array for processing

IFS=', ' read -r -a array <<< "$REQUIRES"

#check if there is any deps, could be check before adding to array

[[ "$(echo ${#array[@]})" -gt '0' ]] && \
{  


for i in "${array[@]}" 
do

{
echo "$i"

  #https://slackbuilds.org/slackbuilds/14.2/libraries/imlib2/imlib2.info
  dep1=https://slackbuilds.org/slackbuilds/14.2/libraries/"$i"
  
  echo $dep1
  
  wget $dep1/$i.info
  
  . "$i.info"
  
  ##recheck for its deps not added. it (can) becomes a recursive process - nightmare
  
  echo $DOWNLOAD
  
   #dl source code
  wget $DOWNLOAD
  
  #dl slackbuild tar
  slackbuild=$dep1.tar.gz
  
  #https://slackbuilds.org/slackbuilds/14.2/libraries/imlib2.tar.gz
  echo $slackbuild
  wget $slackbuild
  
  
  tar xvf ${slackbuild##*/} ; mv $(pwd)/${DOWNLOAD##*/} $i ; cd $i ; sudo ./$i.SlackBuild ; \
  #here we put the install to the package command
  #of cource arch needs to be gotten like inside of the slackbuild for dynamic purposes
  InstallPkgName=/tmp/${DOWNLOAD##*/} ; InstallPkgName=${InstallPkgName/.tar.gz}-x86_64-1_SBo.tgz
  echo $InstallPkgName
  #sudo installpkg   $InstallPkgName
  
  }
  done 
  
  #finally install the package itself.
  cd $BUILDAREA
  echo $(pwd)
  
  . $packageName.info
    
   wget $SLACKBLDS/$packageName.tar.gz
   tar xvf $packageName.tar.gz ; cd $(pwd)/$packageName ; wget $DOWNLOAD ; sudo ./$packageName.SlackBuild ; \
     #here we put the install to the package command
  #of course arch needs to be gotten like inside of the slackbuild for dynamic purposes
  InstallPkgName=/tmp/${DOWNLOAD##*/} ; InstallPkgName=${InstallPkgName/.tar.gz}-x86_64-1_SBo.tgz
  echo $InstallPkgName
  #sudo installpkg $InstallPkgName
 
 }

Last edited by BW-userx; 01-18-2019 at 01:04 PM.
 
Old 01-18-2019, 04:38 PM   #20
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,022

Rep: Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687
Quote:
Originally Posted by Myphre View Post
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:
The order in this case doesn't matter. SBo handles the order by only listing "top level dependencies". If any of those dependencies require dependencies to be built, they won't be listed on the main program, but only on the dependency itself. Now, that might get confusing, so we'll use some examples.

Let's say you have "top-package". This is the main program you're wanting to install. It requires 4 dependencies. dep1, dep2, dep3, and dep4. But, to build dep2, you need to have dep4 installed first. The order of the other dependency packages don't matter, so we would have a dependency tree of something like:

Code:
top-package
  dep1
  dep2
    dep4
  dep3
SBo's policy is to not list dep4 as a dependency of top-package, since it is already listed as a dependency of dep2. So top-package would list dep1, dep2, and dep3 as dependencies, and then dep2 would list dep4 as a dependency.

In this case, you can build dep1, dep3, and dep4 at any point (before top-package), but dep2 can only be built after dep4 is built, so you could have a build order like:

Code:
dep4
dep1
dep2
dep3
top-package
This is why you would need to check each dependency to see if they have dependencies of their own.

To give you a super crazy dependency tree, have a look at my puddletag requirements. Granted, much of this is because I've used optional dependencies for many of the various programs, so it is pretty much fully featured. Once you understand how the dependency process works, then it could be beneficial to switch to a process that helps automate the process, but I would highly recommend understanding it before you try to automate it.

Code:
Dependency tree:
audio/puddletag (ok)
  python/pyparsing (ok)
  python/gst0-python (ok)
  multimedia/gst0-plugins-ugly (ok)
    multimedia/x264 (ok)
    libraries/libmpeg2 (ok)
    libraries/lame (ok)
    audio/twolame (ok)
    audio/opencore-amr (ok)
  multimedia/gst0-plugins-bad (rebuild for updated deps)
    multimedia/xvidcore (ok)
    multimedia/rtmpdump (ok)
    multimedia/dirac (ok)
    libraries/swfdec (ok)
    libraries/soundtouch (ok)
    libraries/slv2 (ok)
      audio/lv2 (ok)
    libraries/opencv (update for version 4.0.1)
      python/python3 (ok)
      multimedia/ffmpeg (ok)
        multimedia/xvidcore (ok)
        multimedia/x265 (ok)
        multimedia/x264 (ok)
        multimedia/schroedinger (ok)
        multimedia/rtmpdump (ok)
        libraries/vid.stab (ok)
        libraries/libwebp (ok)
        libraries/libquvi (ok)
          libraries/libquvi-scripts (ok)
            libraries/luasocket (ok)
              development/lua (ok)
        libraries/libilbc (ok)
        libraries/libiec61883 (ok)
        libraries/libgme (ok)
        libraries/libfdk-aac (ok)
        libraries/libdc1394 (ok)
        libraries/libavc1394 (ok)
        libraries/libass (ok)
          libraries/enca (ok)
            perl/perl-Unicode-Map8 (ok)
              perl/perl-Unicode-String (ok)
            perl/perl-Unicode-Map (ok)
            misc/recode (ok)
        libraries/lame (ok)
        libraries/frei0r (ok)
        libraries/SDL2 (ok)
        libraries/OpenAL (ok)
        development/snappy (ok)
        audio/twolame (ok)
        audio/speex (ok)
        audio/opus (ok)
        audio/opencore-amr (ok)
        audio/faac (ok)
          libraries/libmp4v2 (ok)
      libraries/qt5 (ok)
        system/postgresql (ok)
        libraries/libxkbcommon (ok)
        libraries/libwebp (ok)
        libraries/libinput (rebuild for updated deps)
          python/pyudev (ok)
          python/python-evdev (ok)
          libraries/libwacom (ok)
          graphics/graphviz (ok)
          development/meson (update for version 0.49.0)
            python/python3 (ok)
            development/ninja (ok)
        libraries/OpenAL (ok)
        development/snappy (ok)
        development/freetds (ok)
        audio/opus (ok)
      libraries/libdc1394 (ok)
      development/numpy3 (ok)
        python/python3 (ok)
      development/numpy (ok)
      development/jdk (ok)
      development/apache-ant (ok)
    libraries/libofa (ok)
    libraries/libmusicbrainz (ok)
    libraries/libmms (ok)
    libraries/libmimic (ok)
    libraries/liblrdf (ok)
      audio/ladspa_sdk (ok)
    libraries/libkate (ok)
    libraries/libdca (ok)
    libraries/libdc1394 (ok)
    libraries/libcdaudio (ok)
    libraries/libass (ok)
      libraries/enca (ok)
        perl/perl-Unicode-Map8 (ok)
          perl/perl-Unicode-String (ok)
        perl/perl-Unicode-Map (ok)
        misc/recode (ok)
    libraries/OpenAL (ok)
    audio/faad2 (ok)
    audio/faac (ok)
      libraries/libmp4v2 (ok)
    audio/celt (ok)
    audio/TiMidity++ (update for version 2.15.0)
      libraries/xawplus (ok)
      audio/speex (ok)
      audio/freepats (update for git 2c4e9d3 "Update URLs, script cleanup")
      audio/fluid-soundfont (ok)
        audio/fluidsynth (ok)
          development/portaudio (ok)
          audio/ladspa_sdk (ok)
      audio/eawpats (ok)
  multimedia/gst0-ffmpeg (ok)
  libraries/configobj (ok)
  libraries/chromaprint (ok)
    multimedia/ffmpeg (ok)
      multimedia/xvidcore (ok)
      multimedia/x265 (ok)
      multimedia/x264 (ok)
      multimedia/schroedinger (ok)
      multimedia/rtmpdump (ok)
      libraries/vid.stab (ok)
      libraries/libwebp (ok)
      libraries/libquvi (ok)
        libraries/libquvi-scripts (ok)
          libraries/luasocket (ok)
            development/lua (ok)
      libraries/libilbc (ok)
      libraries/libiec61883 (ok)
      libraries/libgme (ok)
      libraries/libfdk-aac (ok)
      libraries/libdc1394 (ok)
      libraries/libavc1394 (ok)
      libraries/libass (ok)
        libraries/enca (ok)
          perl/perl-Unicode-Map8 (ok)
            perl/perl-Unicode-String (ok)
          perl/perl-Unicode-Map (ok)
          misc/recode (ok)
      libraries/lame (ok)
      libraries/frei0r (ok)
      libraries/SDL2 (ok)
      libraries/OpenAL (ok)
      development/snappy (ok)
      audio/twolame (ok)
      audio/speex (ok)
      audio/opus (ok)
      audio/opencore-amr (ok)
      audio/faac (ok)
        libraries/libmp4v2 (ok)
  development/mutagen (ok)
  audio/quodlibet (ok)
    python/python-faulthandler (ok)
    python/gst-python (ok)
    python/feedparser (ok)
    multimedia/gst-plugins-ugly (ok)
      multimedia/x264 (ok)
      libraries/libmpeg2 (ok)
      libraries/lame (ok)
      audio/twolame (ok)
      audio/opencore-amr (ok)
    multimedia/gst-plugins-bad (rebuild for updated deps)
      multimedia/xvidcore (ok)
      multimedia/schroedinger (ok)
      multimedia/rtmpdump (ok)
      libraries/swfdec (ok)
      libraries/soundtouch (ok)
      libraries/opencv (update for version 4.0.1)
        python/python3 (ok)
        multimedia/ffmpeg (ok)
          multimedia/xvidcore (ok)
          multimedia/x265 (ok)
          multimedia/x264 (ok)
          multimedia/schroedinger (ok)
          multimedia/rtmpdump (ok)
          libraries/vid.stab (ok)
          libraries/libwebp (ok)
          libraries/libquvi (ok)
            libraries/libquvi-scripts (ok)
              libraries/luasocket (ok)
                development/lua (ok)
          libraries/libilbc (ok)
          libraries/libiec61883 (ok)
          libraries/libgme (ok)
          libraries/libfdk-aac (ok)
          libraries/libdc1394 (ok)
          libraries/libavc1394 (ok)
          libraries/libass (ok)
            libraries/enca (ok)
              perl/perl-Unicode-Map8 (ok)
                perl/perl-Unicode-String (ok)
              perl/perl-Unicode-Map (ok)
              misc/recode (ok)
          libraries/lame (ok)
          libraries/frei0r (ok)
          libraries/SDL2 (ok)
          libraries/OpenAL (ok)
          development/snappy (ok)
          audio/twolame (ok)
          audio/speex (ok)
          audio/opus (ok)
          audio/opencore-amr (ok)
          audio/faac (ok)
            libraries/libmp4v2 (ok)
        libraries/qt5 (ok)
          system/postgresql (ok)
          libraries/libxkbcommon (ok)
          libraries/libwebp (ok)
          libraries/libinput (rebuild for updated deps)
            python/pyudev (ok)
            python/python-evdev (ok)
            libraries/libwacom (ok)
            graphics/graphviz (ok)
            development/meson (update for version 0.49.0)
              python/python3 (ok)
              development/ninja (ok)
          libraries/OpenAL (ok)
          development/snappy (ok)
          development/freetds (ok)
          audio/opus (ok)
        libraries/libdc1394 (ok)
        development/numpy3 (ok)
          python/python3 (ok)
        development/numpy (ok)
        development/jdk (ok)
        development/apache-ant (ok)
      libraries/libwebp (ok)
      libraries/libquicktime (ok)
        multimedia/x264 (ok)
        multimedia/schroedinger (ok)
        multimedia/ffmpeg (ok)
          multimedia/xvidcore (ok)
          multimedia/x265 (ok)
          multimedia/x264 (ok)
          multimedia/schroedinger (ok)
          multimedia/rtmpdump (ok)
          libraries/vid.stab (ok)
          libraries/libwebp (ok)
          libraries/libquvi (ok)
            libraries/libquvi-scripts (ok)
              libraries/luasocket (ok)
                development/lua (ok)
          libraries/libilbc (ok)
          libraries/libiec61883 (ok)
          libraries/libgme (ok)
          libraries/libfdk-aac (ok)
          libraries/libdc1394 (ok)
          libraries/libavc1394 (ok)
          libraries/libass (ok)
            libraries/enca (ok)
              perl/perl-Unicode-Map8 (ok)
                perl/perl-Unicode-String (ok)
              perl/perl-Unicode-Map (ok)
              misc/recode (ok)
          libraries/lame (ok)
          libraries/frei0r (ok)
          libraries/SDL2 (ok)
          libraries/OpenAL (ok)
          development/snappy (ok)
          audio/twolame (ok)
          audio/speex (ok)
          audio/opus (ok)
          audio/opencore-amr (ok)
          audio/faac (ok)
            libraries/libmp4v2 (ok)
        libraries/lame (ok)
        audio/faad2 (ok)
        audio/faac (ok)
          libraries/libmp4v2 (ok)
      libraries/libofa (ok)
      libraries/libmusicbrainz (ok)
      libraries/libmimic (ok)
      libraries/liblrdf (ok)
        audio/ladspa_sdk (ok)
      libraries/libkate (ok)
      libraries/libdca (ok)
      libraries/libdc1394 (ok)
      libraries/libcdaudio (ok)
      libraries/libass (ok)
        libraries/enca (ok)
          perl/perl-Unicode-Map8 (ok)
            perl/perl-Unicode-String (ok)
          perl/perl-Unicode-Map (ok)
          misc/recode (ok)
      libraries/OpenAL (ok)
      audio/musepack-tools (ok)
        libraries/libreplaygain (ok)
        libraries/libcuefile (ok)
      audio/lv2 (ok)
      audio/fluidsynth (ok)
        development/portaudio (ok)
        audio/ladspa_sdk (ok)
      audio/faad2 (ok)
      audio/faac (ok)
        libraries/libmp4v2 (ok)
      audio/celt (ok)
      audio/TiMidity++ (update for version 2.15.0)
        libraries/xawplus (ok)
        audio/speex (ok)
        audio/freepats (update for git 2c4e9d3 "Update URLs, script cleanup")
        audio/fluid-soundfont (ok)
          audio/fluidsynth (ok)
            development/portaudio (ok)
            audio/ladspa_sdk (ok)
        audio/eawpats (ok)
    libraries/musicbrainzngs (ok)
    libraries/futures (ok)
    development/mutagen (ok)
Quote:
Originally Posted by Myphre View Post
Ps - Richard Cranium, that output about Qtiplot, what do u used to get it?
It is from a program called slackrepo, which is designed to build all the packages and setup a repo that you can then use other tools to install from. While it is a very handy program, I wouldn't recommend it for the average user as it requires a bit to get it set up and to use it properly.

Quote:
Originally Posted by Gerard Lally View Post
Very clever, Erik. Some very smart Slackware users here.
Erik is the maintainer of the SlackBuild, and that isn't me. I'm Jeremy (I maintain SuperTuxKart that was mentioned earlier, of which, requires OpenAL).

Last edited by bassmadrigal; 01-21-2019 at 04:27 PM. Reason: Fix broken quote tags
 
1 members found this post helpful.
Old 01-18-2019, 06:18 PM   #21
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Oh, nice. Didnt know that those people coulded be in this forum. A little bit more embarrassed now hehe.

But the error persists. My slack is the current, version 14.2. I have updated him today. I have no idea what could be doing that.

I installed the "qwt" librarie, as appear in build.conf.slack of Qtiplot. But nothing happens. Could be another librarie with qwt in the name(*qwt or qwt*) ? What could cause that error?
In Debian, works fine.

Nice, i think i understood about the librarie dependences. In the case, in the "build.conf" file i will see all the libraries that the program will need?

Another thing, i tried to take all the output of the installation with
Code:
./QtiPlot.SlackBuild > erroQtiplot.txt
. But, in the middle, he come back to terminal. Why? How can I get?

Sorry for my english, I undertand well but i'm weak in write.
 
Old 01-18-2019, 08:36 PM   #22
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
Quote:
Originally Posted by bassmadrigal View Post
It is from a program called slackrepo, which is designed to build all the packages and setup a repo that you can then use other tools to install from. While it is a very handy program, I wouldn't recommend it for the average user as it requires a bit to get it set up and to use it properly.
What he wrote is correct. I also have a couple of spare computers and I've dedicated one to run slackrepo. While it could do other things, your slackrepo machine/virtual machine should not have any 3rd party packages installed other than the slackrepo package.
 
Old 01-18-2019, 08:43 PM   #23
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,286

Rep: Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648Reputation: 1648
Quote:
Originally Posted by Myphre View Post
Oh, nice. Didnt know that those people coulded be in this forum. A little bit more embarrassed now hehe.

But the error persists. My slack is the current, version 14.2. I have updated him today. I have no idea what could be doing that.

I installed the "qwt" librarie, as appear in build.conf.slack of Qtiplot. But nothing happens. Could be another librarie with qwt in the name(*qwt or qwt*) ? What could cause that error?
In Debian, works fine.

Nice, i think i understood about the librarie dependences. In the case, in the "build.conf" file i will see all the libraries that the program will need?

Another thing, i tried to take all the output of the installation with
Code:
./QtiPlot.SlackBuild > erroQtiplot.txt
. But, in the middle, he come back to terminal. Why? How can I get?

Sorry for my english, I undertand well but i'm weak in write.
According to the README, QtiPlot has its own qwt libraries with it; you do not (and perhaps should not) install another version.

Do not look in the build.conf file for dependency information. The QtiPlot.info file will tell you what other Slackbuild packages you need to install prior to building this one. That would be the packages in the REQUIRES line of that file:
Code:
REQUIRES="alglib muParser qt-assistant-compat tamu_anova"
 
Old 01-19-2019, 02:17 AM   #24
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 976

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Myphre,

if you have trouble installing QtiPlot, you can:
1) ask at the mailing list of SBo:
https://lists.slackbuilds.org/mailma...ckbuilds-users
2) Contact the maintainer of QtiPlot, who happens to be me. The email address is at SBo.

In any case, provide the following information:
- version of Slackware (14.2 is officially supported, -current is not)
- are you using multilib (not supported)
- how do you install QtiPlot? Any specific tool, or manually running the SlackBuild script?
- are you sure you have satisfied all dependencies?
- provide a log of the build as explained here: https://slackbuilds.org/howto/log/
 
1 members found this post helpful.
Old 01-19-2019, 08:52 AM   #25
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Slackware
Posts: 1,589
Blog Entries: 3

Rep: Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597Reputation: 1597
I had a go at compiling and installing this and I have to say it's not the most straightforward of installs for a Linux newbie. In addition to the fact that the program has four dependencies the source files for QtiPlot itself are:

QTeXEngine-0.3-opensource.zip (d1b234623770ec6209b14d1b5137f2f1)
qtiplot-0.9.8.9.tar.bz2 (652096a365851da3b5f6fefdcbe2aaec)
importOPJ-20111106.tar.gz (6f6925beb9e27f2ea0fbd01f23da548a)

which all have to be moved into the QtiPlot folder before compiling.

When I ran the QtiPlot Slackbuild, it took about 20 minutes to compile on my machine [2.6Ghz quad core CPU and 5GB RAM].

I made a video for the OP showing how to compile the QtiPlot package itself and the install process. The program launches without any issues [this is an multilib machine]. I even included some calming music

https://youtu.be/v6xwo1u4-GI

I have to say OP you haven't chosen the most straightforward of programs or distros for a newcomer to Linux. Depending on how much time you spend trying to work things like this out, you may want to try another distro first like Ubuntu or Debian, which would install this program [and others] with a lot more speed and ease for you.
 
Old 01-19-2019, 09:13 AM   #26
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,655

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
Quote:
Originally Posted by Lysander666 View Post

When I ran the QtiPlot Slackbuild, it took about 20 minutes to compile on my machine [2.6Ghz quad core CPU and 5GB RAM].
that part is not a big deal, try compiling qt5 on an i7 2.4GHz that takes 3 - 6 hrs, I never put a timer on it to find out the exact time it takes, and yes if you find a page that has more than one tar to download for the main package itself (not deps) they all go into the slackbuild folder for the main package. Have you opened up a slackbuild file and read through it yet?

that would be the one of the next steps in learning how things work with slackbuilds.
Then you can even change some settings in it, and if you open up the source code itself you can look at the make file, and figure out how to change that during the run time of the script to maybe set it to use all of your cores to compile the code, using sed within the slackbuild file.

Last edited by BW-userx; 01-19-2019 at 09:17 AM.
 
1 members found this post helpful.
Old 01-19-2019, 10:58 AM   #27
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 985

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by Lysander666 View Post
When I ran the QtiPlot Slackbuild, it took about 20 minutes to compile on my machine [2.6Ghz quad core CPU and 5GB RAM].
The SlackBuilds are not optimized for multiple compilation jobs and this is the right approach, I believe, because there is no magic formula that can determine the optimal jobs number, although there are some interesting approaches to determine this number solely based on the number of cores (+ some average / load average arithmetic calculations), and there are compilations (very few) that might break if such a parallel compilation is attempted.
My approach to parallel compilation, which I always do, is to determine the optimal number of jobs based on both the number of cores and available RAM, because you don't want to end up compiling in the swap instead of keeping it in the RAM. There are complex applications that can use 1 GB of RAM / compilation job and therefore I always reserve this amount of memory plus a 20%-25% safe margin. To sum up, given 4 cores and 4 GB of RAM, I'd use only 3 compilation jobs - 3 cores and 1,2GB RAM per compilation job.
You can setup the jobs number in the environment, without modifying the SlackBuild (or Makefile):
Code:
export MAKEFLAGS="-j 3"
 
1 members found this post helpful.
Old 01-19-2019, 02:14 PM   #28
Myphre
LQ Newbie
 
Registered: Oct 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
I kept my system on current because of some issues with my hybrid GPU. Now it's working: I reinstalled slackware, update the system and only change the kernel. Didnt realize that this could be the problem.

Thx for the help.

Edit:
I know, its not the most easy distro. I have a Debian distro too, but I like Slackware and hope soon i could migrate to him

Last edited by Myphre; 01-19-2019 at 02:21 PM.
 
Old 01-21-2019, 03:09 PM   #29
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,022

Rep: Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687Reputation: 3687
If you are on -current, you shouldn't be using things from SlackBuilds.org because they aren't tested against -current. In fact, a lot of things on that site are broken because of library changes in -current. ponce, one of the SBo admins, has forked the SBo repo and keeps it up-to-date with changes needed for -current. Have a look at his post (which has been stickied on this forum) for more details.
 
Old 01-21-2019, 04:58 PM   #30
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware 14.2 current / ArcoLinux / Void Linux
Posts: 8,655

Rep: Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797Reputation: 1797
yeah what bassmadrigal said, for somethings i do sometimes find myself having to bounce back and fourth between ponce repo for slackbuilds and slackbiulds.org to get deps to install to make the final package but that is for a very few things, and mostly because they are not found in ponce repo, so I just jump over to slackbuilds and get them, then go back to ponce repos to get the rest of it.

Last edited by BW-userx; 01-21-2019 at 04:59 PM.
 
  


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 02:13 AM.

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