LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-14-2020, 10:07 AM   #2881
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174

that's strange as here seems to build fine: as it looks like you got a linker error maybe more output lines could shed some light?
 
Old 07-14-2020, 01:46 PM   #2882
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Well I rebuilt flite and FlightGear builds fine, and works fine.

Last edited by nobodino; 07-15-2020 at 12:28 PM.
 
Old 07-16-2020, 12:44 PM   #2883
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
In the virtualbox-kernel SlackBuild, the following lines need to change so that it can be built with HARDENING=no:

Code:
if ! [ "${HARDENING:-yes}" = "yes" ]; then
  sed -i "s/ -DVBOX_WITH_HARDENING//g" \
   {vboxdrv,vboxnetadp,vboxnetflt,vboxpci}/Makefile
fi
to

Code:
if ! [ "${HARDENING:-yes}" = "yes" ]; then
  sed -i "s/ -DVBOX_WITH_HARDENING//g" \
   {vboxdrv,vboxnetadp,vboxnetflt}/Makefile
fi
Edit: I should note, however, that at least on my machine, while I was able to get it build with hardening disabled, I was not able to ever get it to actually run a VM - it kept saying it couldn't access the kernel module. I ended up rebuilding without setting HARDENING to no, and it seems to work fine now.

Last edited by Spinlock; 07-17-2020 at 06:18 PM.
 
Old 07-19-2020, 09:08 AM   #2884
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
It appears

http://www.slackbuilds.org/ChangeLog.txt

hasn't been updated since 28 June 2020.
Has the link been changed or is it just summer vacation?

Last edited by cwizardone; 07-19-2020 at 10:06 AM.
 
Old 07-19-2020, 09:28 AM   #2885
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
https://lists.slackbuilds.org/piperm...ly/024843.html

the repository will be updated and submissions will reopen once the migration will complete.
 
2 members found this post helpful.
Old 07-19-2020, 10:06 AM   #2886
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by ponce View Post
https://lists.slackbuilds.org/piperm...ly/024843.html

the repository will be updated and submissions will reopen once the migration will complete.
Ah, so.
Many Thanks.
 
Old 07-26-2020, 01:25 AM   #2887
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
Hi Mr Ponce.

I am a newcomer to slackware world. I have been using Alien Bob, slackware Live (Slackware 14.2+, Plasma Version:5.19.1) installed on my PC. Now I want to set it up as a local server at home.

I have been trying to install "tvheadend" VERSION="20170619_14bd7eb" from: https://github.com/Ponce/slackbuilds...edia/tvheadend

I got a compilation error regarding ffmpeg. As I already have it installed then I did this change to tvheadend.SlackBuild script. According to: https://tvheadend.org/boards/5/topic...#message-32781

Code:
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --disable-ffmpeg_static \
  --build=$ARCH-slackware-linux
Now I get this compilation error:

Code:
WEBUI std finished
make[2]: Leaving directory '/tmp/SBo/tvheadend-20170619_14bd7eb'
make -f Makefile.webui WEBUI=debug compile-debug
make[2]: Entering directory '/tmp/SBo/tvheadend-20170619_14bd7eb'
WEBUI debug finished
make[2]: Leaving directory '/tmp/SBo/tvheadend-20170619_14bd7eb'
make[1]: Leaving directory '/tmp/SBo/tvheadend-20170619_14bd7eb'
CC              src/version.o
CC              src/uuid.o
CC              src/main.o
CC              src/tvhlog.o
src/tvhlog.c: In function ‘tvhlog_thread’:
src/tvhlog.c:352:9: error: ‘strncpy’ specified bound 512 equals destination size [-Werror=stringop-truncation]
  352 |         strncpy(buf, tvhlog_path, sizeof(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:641: /tmp/SBo/tvheadend-20170619_14bd7eb/build.linux/src/tvhlog.o] Error 1
Seems to be a warning treated as error. I am not sure to include -Wno-error directive to avoid this, in SLKCFLAGS in tvheadend.SlackBuild, but maybe this is important to fix.

Thanks in advance for any hint or guidance in the proper direction, as this is my first "experiment" compiling programs directly in slackware.

Best regards.

Francisco.
 
Old 07-26-2020, 02:37 AM   #2888
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Hi Francisco,

thanks for your report: could you please try to build this updated version of the script?

http://ponce.cc/slackware/testing/tvheadend/

for other issues consider that the platform you choose cannot be considered a clean and full installation of Slackware current as specified in the first post of this topic (please read it!) as it contains (or substitutes) many components of the stock Slackware current, so be sure that your next reports of issues in this thread are tested on a clean and full installation of the stock current, thanks (for other issues not tested on that platform you can still open a new topic)!

Last edited by ponce; 07-26-2020 at 03:35 AM.
 
Old 07-26-2020, 11:17 AM   #2889
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
Hi Mr Ponce.

Thanks for your response and I am sorry for posting an issue here (as I am not using a clean slackware current). I will take that into account.

Compiling the updated version of the script "as-is", I got:

Code:
/usr/bin/ld: cannot find -lass 
collect2: error: ld returned 1 exit status 
make[1]: *** [Makefile:638: /tmp/SBo/tvheadend-4.2.8/build.linux/tvheadend] 
Error 1 
make[1]: Leaving directory '/tmp/SBo/tvheadend-4.2.8' 
make: *** [Makefile:99: ffmpeg_all] Error 2
I understand is a module to link named "lass" missing? I did not find it in slackbuilds. As I have ffmpeg already installed, I changed configuration in provided build script to: --disable-ffmpeg_static and tvheadend compiled and installed ok. I am going to test further.

Many thanks for your kind help and support.

Francisco.
 
Old 07-26-2020, 12:59 PM   #2890
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by frtorres View Post
Hi Mr Ponce.

Thanks for your response and I am sorry for posting an issue here (as I am not using a clean slackware current). I will take that into account.

Compiling the updated version of the script "as-is", I got:

Code:
/usr/bin/ld: cannot find -lass 
collect2: error: ld returned 1 exit status 
make[1]: *** [Makefile:638: /tmp/SBo/tvheadend-4.2.8/build.linux/tvheadend] 
Error 1 
make[1]: Leaving directory '/tmp/SBo/tvheadend-4.2.8' 
make: *** [Makefile:99: ffmpeg_all] Error 2
I understand is a module to link named "lass" missing? I did not find it in slackbuilds. As I have ffmpeg already installed, I changed configuration in provided build script to: --disable-ffmpeg_static and tvheadend compiled and installed ok. I am going to test further.

Many thanks for your kind help and support.

Francisco.
libass
 
Old 07-26-2020, 01:55 PM   #2891
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by frtorres View Post
Hi Mr Ponce.

Thanks for your response and I am sorry for posting an issue here (as I am not using a clean slackware current). I will take that into account.

Compiling the updated version of the script "as-is", I got:

Code:
/usr/bin/ld: cannot find -lass 
collect2: error: ld returned 1 exit status 
make[1]: *** [Makefile:638: /tmp/SBo/tvheadend-4.2.8/build.linux/tvheadend] 
Error 1 
make[1]: Leaving directory '/tmp/SBo/tvheadend-4.2.8' 
make: *** [Makefile:99: ffmpeg_all] Error 2
it seems some prebuilt package that you installed in your system (or that you found already installed, but it's highly unlikely) is detected as a dependency by tvheadend and links to libass and so libass is needed at link time when building tvheadend.
the solution should be to install libass.
 
Old 07-26-2020, 04:10 PM   #2892
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
Thumbs up

Hi Mr Ponce and UsuarioNuevo

Quote:
It seems some prebuilt package that you installed in your system (or that you found already installed, but it's highly unlikely) is detected as a dependency by tvheadend and links to libass and so libass is needed at link time when building tvheadend.
the solution should be to install libass.
Yes!. I installed libass by means of slackpkg, repeated compilation with original config and compiled ok.

Again, many thanks for your guidance and help. I really appreciate it.

I continue studying and learning Slackware.

Best regards.

Francisco.
 
Old 08-04-2020, 06:16 AM   #2893
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Rep: Reputation: 45
libLAS

I also have issues with FlightGear

This is on a totally new and updated current (minus kde)

Precompiled packages are:
Code:
sbotools from 14.2
Alien Bob's ffmpeg
I went through the deps, and made this list:
Code:
FlightGear CURRENT=yes

FlightGear-data, 

SimGear CURRENT=yes
  OpenSceneGraph
    dcmtk
    ffmpeg
    gdal
     geos
      cfitsio
      freexl
      hdf
      libkml
        uriparser
          graphviz
            gts
        libminizip
      libwebp
      netcdf
        hdf5
          libaec
      postgresql
      python3
      xerces-c
    gtkglext
      pangox-compat
    libgta
    libLAS
      laszip
      libgeotiff
        proj
    nvidia-texture-tools
    fltk
    SDL2
    wxGTK3 STL=yes
  freealut
    OpenAL
  plib
Now I install them backwards by the depth and from bottom up.

I use sboinstall to install them. But libLAS fails immediately:
Code:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/libLAS-1.8.1/build
Scanning dependencies of target las
[  1%] Building CXX object src/CMakeFiles/las.dir/detail/index/indexcell.cpp.o
[  2%] Building CXX object src/CMakeFiles/las.dir/detail/index/indexoutput.cpp.o
In file included from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/detail/private_utility.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/variablerecord.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/schema.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/point.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/bounds.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/header.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/reader.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/index.hpp:45,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/detail/index/indexoutput.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/detail/index/indexoutput.cpp:43:
/tmp/SBo/libLAS-1.8.1/src/../include/liblas/detail/binary.hpp:28:10: fatal error: boost/detail/endian.hpp: No such file or directory
   28 | #include <boost/detail/endian.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/las.dir/build.make:95: src/CMakeFiles/las.dir/detail/index/indexoutput.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:244: src/CMakeFiles/las.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
Failures:
  libLAS: libLAS.SlackBuild return non-zero
#
If I understand correctly, boost isn't were libLAS expects it? And I can't find boost on SBo.
I do have a package from 14.2. But it would be nice to stay native to the box.
 
Old 08-04-2020, 08:00 AM   #2894
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Wed View Post
I use sboinstall to install them. But libLAS fails immediately:
Code:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/SBo/libLAS-1.8.1/build
Scanning dependencies of target las
[  1%] Building CXX object src/CMakeFiles/las.dir/detail/index/indexcell.cpp.o
[  2%] Building CXX object src/CMakeFiles/las.dir/detail/index/indexoutput.cpp.o
In file included from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/detail/private_utility.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/variablerecord.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/schema.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/point.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/bounds.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/header.hpp:47,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/reader.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/index.hpp:45,
                 from /tmp/SBo/libLAS-1.8.1/src/../include/liblas/detail/index/indexoutput.hpp:46,
                 from /tmp/SBo/libLAS-1.8.1/src/detail/index/indexoutput.cpp:43:
/tmp/SBo/libLAS-1.8.1/src/../include/liblas/detail/binary.hpp:28:10: fatal error: boost/detail/endian.hpp: No such file or directory
   28 | #include <boost/detail/endian.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/las.dir/build.make:95: src/CMakeFiles/las.dir/detail/index/indexoutput.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:244: src/CMakeFiles/las.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
Failures:
  libLAS: libLAS.SlackBuild return non-zero
#
If I understand correctly, boost isn't were libLAS expects it? And I can't find boost on SBo.
I do have a package from 14.2. But it would be nice to stay native to the box.
that actually fails because libLAS need some patching to be compatible with the newer boost in current (it should be already there if you are using a full installation of current): please try the build script that you can find here

http://ponce.cc/slackware/testing/libLAS/

Last edited by ponce; 08-04-2020 at 08:03 AM.
 
Old 08-04-2020, 08:35 AM   #2895
Wed
Member
 
Registered: Sep 2005
Location: Sweden
Distribution: Slackware
Posts: 249

Rep: Reputation: 45
I'm much obliged. That worked great!
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



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
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

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

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