LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-08-2023, 12:11 AM   #5341
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 613

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474

Ok understand.
Thank you for everything
 
Old 03-08-2023, 08:47 PM   #5342
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
KODI compilation error (Dependencies)

Hi Ponce.

My first time compiling kodi. I did

Code:
sqg -p kodi
sbopkg -i kodi
I got some error regarding dependencies. I assume sqg takes care of all dependencies... Please advice.

Code:
- Internal TexturePacker will be executed during build
-- Could NOT find MariaDBClient (missing: MARIADBCLIENT_INCLUDE_DIR) (found version "10.6.12")
-- Found MySqlClient: /usr/lib64/libmysqlclient.so (found version "") 
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)
Call Stack (most recent call first):
  /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.25/Modules/FindJava.cmake:314 (find_package_handle_standard_args)
  xbmc/interfaces/swig/CMakeLists.txt:32 (find_package)
Thanks in advance for your traditional help.

Francisco
 
Old 03-09-2023, 12:26 AM   #5343
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 Ponce.

My first time compiling kodi. I did

Code:
sqg -p kodi
sbopkg -i kodi
I got some error regarding dependencies. I assume sqg takes care of all dependencies... Please advice.

Code:
- Internal TexturePacker will be executed during build
-- Could NOT find MariaDBClient (missing: MARIADBCLIENT_INCLUDE_DIR) (found version "10.6.12")
-- Found MySqlClient: /usr/lib64/libmysqlclient.so (found version "") 
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)
Call Stack (most recent call first):
  /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.25/Modules/FindJava.cmake:314 (find_package_handle_standard_args)
  xbmc/interfaces/swig/CMakeLists.txt:32 (find_package)
Thanks in advance for your traditional help.

Francisco
I think your problrm is here
Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)

JDK , need to go to webpage to accept terms , but im not sure if that requires si switched to other free java like openjdk

You have JDK/OpenJDK _?

After install you need to reboot cause java use custom dirs to libs and executables and need to load de profile , thats done during boot after install some java.
 
Old 03-09-2023, 08:24 AM   #5344
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 973

Rep: Reputation: 238Reputation: 238Reputation: 238
With the new php graphviz no longer compiles...
Code:
  CXX      libgv_php_la-gv_php.lo
gv_php.cpp:772:3: error: #error These bindings need PHP7 - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5
  772 | # error These bindings need PHP7 - to generate PHP5 bindings use: SWIG < 4.0.0 and swig -php5
      |   ^~~~~
gv_php.cpp: In function 'int SWIG_ConvertPtr(zval*, void**, swig_type_info*, int)':
gv_php.cpp:963:54: error: cannot convert 'zval*' {aka '_zval_struct*'} to 'zend_object*' {aka '_zend_object*'} in argument passing
  963 |       HashTable * ht = Z_OBJ_HT_P(z)->get_properties(z);
      |                                                      ^
      |                                                      |
      |                                                      zval* {aka _zval_struct*}
gv_php.cpp: At global scope:
gv_php.cpp:5404:2: error: 'ZEND_ARG_PASS_INFO' was not declared in this scope; did you mean 'ZEND_ARG_OBJ_INFO'?
 5404 |  ZEND_ARG_PASS_INFO(0)
      |  ^~~~~~~~~~~~~~~~~~
      |  ZEND_ARG_OBJ_INFO
gv_php.cpp:5407:2: error: 'ZEND_ARG_PASS_INFO' was not declared in this scope; did you mean 'ZEND_ARG_OBJ_INFO'?
 5407 |  ZEND_ARG_PASS_INFO(0)
      |  ^~~~~~~~~~~~~~~~~~
      |  ZEND_ARG_OBJ_INFO
gv_php.cpp:5408:2: error: expected '}' before 'ZEND_ARG_PASS_INFO'
 5408 |  ZEND_ARG_PASS_INFO(0)
      |  ^~~~~~~~~~~~~~~~~~
In file included from gv_php.cpp:767:
gv_php.cpp:5406:1: note: to match this '{'
 5406 | ZEND_BEGIN_ARG_INFO_EX(swig_arginfo_00, 0, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~
gv_php.cpp:5409:1: error: expected declaration before '}' token
 5409 | ZEND_END_ARG_INFO()
      | ^~~~~~~~~~~~~~~~~
gv_php.cpp:5411:2: error: 'ZEND_ARG_PASS_INFO' was not declared in this scope; did you mean 'ZEND_ARG_OBJ_INFO'?
 5411 |  ZEND_ARG_PASS_INFO(0)
      |  ^~~~~~~~~~~~~~~~~~
      |  ZEND_ARG_OBJ_INFO
gv_php.cpp:5412:2: error: expected '}' before 'ZEND_ARG_PASS_INFO'
 5412 |  ZEND_ARG_PASS_INFO(0)
      |  ^~~~~~~~~~~~~~~~~~
gv_php.cpp:5410:1: note: to match this '{'
 5410 | ZEND_BEGIN_ARG_INFO_EX(swig_arginfo_000, 0, 0, 0)
      | ^~~~~~~~~~~~~~~~~~~~~~
gv_php.cpp:5414:1: error: expected declaration before '}' token
 5414 | ZEND_END_ARG_INFO()
      | ^~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:2282: libgv_php_la-gv_php.lo] Error 1
make[4]: Leaving directory '/tmp/SBo/graphviz-7.1.0/tclpkg/gv'
make[3]: *** [Makefile:2736: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/graphviz-7.1.0/tclpkg/gv'
make[2]: *** [Makefile:638: all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/graphviz-7.1.0/tclpkg'
make[1]: *** [Makefile:792: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/graphviz-7.1.0'
make: *** [Makefile:621: all] Error 2

graphviz:
 
Old 03-09-2023, 08:42 AM   #5345
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Original Poster
Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
until it gets patched pass between the configure options of the SlackBuild the string
Code:
--enable-php=no
 
Old 03-09-2023, 09:06 AM   #5346
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
try this patch
Code:
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index e28b7b01e1..da8cb58142 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -84,13 +84,17 @@ find -L . \
 
 ./autogen.sh
 CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fPIC -fpermissive" \
 LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
 ./configure \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --mandir=/usr/man \
   --disable-static \
+  --enable-python3=yes \
+  --disable-python \
+  --disable-swig \
+  --enable-lefty \
   --build=$ARCH-slackware-linux
 
 make
I think --disable-swig is the only option needed to build but it builds just fine with above changes

Last edited by willysr; 03-09-2023 at 09:07 AM.
 
2 members found this post helpful.
Old 03-09-2023, 05:33 PM   #5347
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 973

Rep: Reputation: 238Reputation: 238Reputation: 238
Hi willy, thanks a lot, that did the job.
 
Old 03-09-2023, 05:48 PM   #5348
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
I think your problrm is here
Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)

JDK , need to go to webpage to accept terms , but im not sure if that requires si switched to other free java like openjdk

You have JDK/OpenJDK _?

After install you need to reboot cause java use custom dirs to libs and executables and need to load de profile , thats done during boot after install some java.
Thanks @USUARIONUEVO for your kind response.

I updated (slackpkg install-new + upgrade-all) my slackware "current" install today, before checking your advice regarding JDK/OpenJDK (rebooting was recommended by slackpkg after the update) and repeated the compilation process to check error messages again and start checking JDK

Code:
sqg -p kodi
sbopkg -i kodi
I noticed the following packages were updated/installed (I cut some lines). Note that zulu-openjdk11 was installed.

Code:
SUMMARY LOG
gtest:
  Installing package gtest-1.10.0-x86_64-4_SBo.tgz ... OK
tinyxml:
  Installing package tinyxml-2.6.2-x86_64-2_SBo.tgz ... OK
spdlog:
  Installing package spdlog-1.10.0-x86_64-1_SBo.tgz ... OK
rapidjson:
  Installing package rapidjson-1.1.0-x86_64-3_SBo.tgz ... OK
flatbuffers:
  Installing package flatbuffers-23.1.4-x86_64-1_SBo.tgz ... OK
libass:
  Installing package libass-0.14.0-x86_64-1_SBo.tgz ... OK
zulu-openjdk11:
  Installing package zulu-openjdk11-11.0.18-x86_64-1_SBo.tgz ... OK
Then I got this compliation error:

Code:
[ 10%] Linking CXX static library rp-process-x11.a
[ 10%] Built target rp-process-x11
[ 10%] Building CXX object build/cores/VideoPlayer/Process/X11/CMakeFiles/processX11.dir/ProcessInfoX11.cpp.o
[ 10%] Linking CXX static library processX11.a
[ 10%] Built target processX11
[ 10%] Building CXX object build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o
In file included from /tmp/SBo/xbmc-19.5-Matrix/xbmc/windowing/X11/GLContextEGL.cpp:16:
/tmp/SBo/xbmc-19.5-Matrix/xbmc/windowing/X11/GLContextEGL.h:16:10: fatal error: EGL/eglextchromium.h: No such file or directory
   16 | #include <EGL/eglextchromium.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [build/windowing/X11/CMakeFiles/windowing_X11.dir/build.make:76: build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5007: build/windowing/X11/CMakeFiles/windowing_X11.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
I did not install new packages. It seems now the error is about a missed header file.

Having zulu-openjdk11: now installed, Is it still necessary to install jdk?. No jdk installed prior this compilation process and I noticed I can do it from AlienBob repos (what openjdk version?).

Code:
slackpkg search jdk
[unin] alienbob : openjdk-8u362_b09-x86_64-1alien
[unin] alienbob : openjdk11-11.0.18_10-x86_64-1alien
[unin] alienbob : openjdk7-7u321_b01-x86_64-1alien
Thanks in advance for your advice and help.

Francisco.
 
Old 03-10-2023, 01:48 AM   #5349
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 451

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
It seems that heirloom-sh needs this patch from Gentoo to compile with glibc-2.34+.
 
Old 03-10-2023, 08:05 AM   #5350
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 133

Rep: Reputation: Disabled
libratbag doesn't build

Code:
Build type: native build

../meson.build:1:0: ERROR: Unknown options: "docdir"
Maybe line 109 of the Slackbuild should be changed or removed?

Code:
    -Ddocdir=/usr/doc/$PRGNAM-$VERSION \
I quick fix that comes in mind is adding this after the build

Code:
 mv -- $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
 
Old 03-10-2023, 09:22 AM   #5351
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
I removed the -Ddocdir and it still produce the same results in both stable and current so it should be ok
 
1 members found this post helpful.
Old 03-10-2023, 03:32 PM   #5352
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
ponce / willysr / experts --

With Pat's Recent Hint in the Current ChangeLog (*) I was thinking it might be time to create a Virtual Slackware64 -current Instance and start testing as much as my Work and Home Schedules allow.

I don't use all SBo Packages so my testing would be limited to those Packages I do use from time-to-time.

But ...

Is there a recommended Testing Procedure for SBo Current ?

Thanks

-- kjh

(*)-Pat's Recent Hint

Code:
Wed Mar 8 20:26:54 UTC 2023
Hey folks, just some more updates on the road to an eventual beta. :-)
At this point nothing remains linked with openssl-1.1.1 except for python2 and
modules, and vsftpd. I think nobody cares about trying to force python2 to use
openssl3... it's EOL but still a zombie, unfortunately. I have seen some
patches for vsftpd and intend to take a look at them. We've bumped PHP to 8.2
and just gone ahead and killed 8.0 and 8.1. Like 7.4, 8.0 is not compatible
with openssl3 and it doesn't seem worthwhile to try to patch it. And with 8.2
already out for several revisions, 8.1 does not seem particularly valuable.
If you make use of PHP you should be used to it being a moving target by now.
Enjoy, and let me know if anything isn't working right. Cheers!
 
Old 03-10-2023, 04:00 PM   #5353
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by kjhambrick View Post
ponce / willysr / experts --

With Pat's Recent Hint in the Current ChangeLog (*) I was thinking it might be time to create a Virtual Slackware64 -current Instance and start testing as much as my Work and Home Schedules allow.

I don't use all SBo Packages so my testing would be limited to those Packages I do use from time-to-time.

But ...

Is there a recommended Testing Procedure for SBo Current ?

Thanks

-- kjh

(*)-Pat's Recent Hint

Code:
Wed Mar 8 20:26:54 UTC 2023
Hey folks, just some more updates on the road to an eventual beta. :-)
At this point nothing remains linked with openssl-1.1.1 except for python2 and
modules, and vsftpd. I think nobody cares about trying to force python2 to use
openssl3... it's EOL but still a zombie, unfortunately. I have seen some
patches for vsftpd and intend to take a look at them. We've bumped PHP to 8.2
and just gone ahead and killed 8.0 and 8.1. Like 7.4, 8.0 is not compatible
with openssl3 and it doesn't seem worthwhile to try to patch it. And with 8.2
already out for several revisions, 8.1 does not seem particularly valuable.
If you make use of PHP you should be used to it being a moving target by now.
Enjoy, and let me know if anything isn't working right. Cheers!
That is what I do. I test all my SlackBuilds in a -current VM as things chug along. Once we get to a beta that is when I will install on bare metal and start bug hunting the whole system along with my SlackBuilds.
 
1 members found this post helpful.
Old 03-10-2023, 07:52 PM   #5354
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
it's not even sure when will beta is reached, so we are still ok for now
 
1 members found this post helpful.
Old 03-12-2023, 09:23 PM   #5355
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
I think your problrm is here
Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime)

JDK , need to go to webpage to accept terms , but im not sure if that requires si switched to other free java like openjdk

You have JDK/OpenJDK _?

After install you need to reboot cause java use custom dirs to libs and executables and need to load de profile , thats done during boot after install some java.
Quote:
Originally Posted by frtorres View Post
Thanks @USUARIONUEVO for your kind response.

I updated (slackpkg install-new + upgrade-all) my slackware "current" install today, before checking your advice regarding JDK/OpenJDK (rebooting was recommended by slackpkg after the update) and repeated the compilation process to check error messages again and start checking JDK

Code:
sqg -p kodi
sbopkg -i kodi
I noticed the following packages were updated/installed (I cut some lines). Note that zulu-openjdk11 was installed.

Code:
SUMMARY LOG
gtest:
  Installing package gtest-1.10.0-x86_64-4_SBo.tgz ... OK
tinyxml:
  Installing package tinyxml-2.6.2-x86_64-2_SBo.tgz ... OK
spdlog:
  Installing package spdlog-1.10.0-x86_64-1_SBo.tgz ... OK
rapidjson:
  Installing package rapidjson-1.1.0-x86_64-3_SBo.tgz ... OK
flatbuffers:
  Installing package flatbuffers-23.1.4-x86_64-1_SBo.tgz ... OK
libass:
  Installing package libass-0.14.0-x86_64-1_SBo.tgz ... OK
zulu-openjdk11:
  Installing package zulu-openjdk11-11.0.18-x86_64-1_SBo.tgz ... OK
Then I got this compliation error:

Code:
[ 10%] Linking CXX static library rp-process-x11.a
[ 10%] Built target rp-process-x11
[ 10%] Building CXX object build/cores/VideoPlayer/Process/X11/CMakeFiles/processX11.dir/ProcessInfoX11.cpp.o
[ 10%] Linking CXX static library processX11.a
[ 10%] Built target processX11
[ 10%] Building CXX object build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o
In file included from /tmp/SBo/xbmc-19.5-Matrix/xbmc/windowing/X11/GLContextEGL.cpp:16:
/tmp/SBo/xbmc-19.5-Matrix/xbmc/windowing/X11/GLContextEGL.h:16:10: fatal error: EGL/eglextchromium.h: No such file or directory
   16 | #include <EGL/eglextchromium.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [build/windowing/X11/CMakeFiles/windowing_X11.dir/build.make:76: build/windowing/X11/CMakeFiles/windowing_X11.dir/GLContextEGL.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5007: build/windowing/X11/CMakeFiles/windowing_X11.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
I did not install new packages. It seems now the error is about a missed header file.

Having zulu-openjdk11: now installed, Is it still necessary to install jdk?. No jdk installed prior this compilation process and I noticed I can do it from AlienBob repos (what openjdk version?).

Code:
slackpkg search jdk
[unin] alienbob : openjdk-8u362_b09-x86_64-1alien
[unin] alienbob : openjdk11-11.0.18_10-x86_64-1alien
[unin] alienbob : openjdk7-7u321_b01-x86_64-1alien
Thanks in advance for your advice and help.

Francisco.
To close this, @ponce notified here availability for kodi version 20.1 and tested that it builds on the latest current.

Thank you very much @ponce, now in "happy media watching mode". .

Francisco.
 
1 members found this post helpful.
  


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 12:29 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
Open Source Consulting | Domain Registration