SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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)!
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.
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.
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.
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.