LinuxQuestions.org
Review your favorite Linux distribution.
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 02-13-2018, 05:35 PM   #946
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by ponce View Post
build opencv passing to the script the variable CVDOCS=no, like
Code:
CVDOCS=no ./opencv.SlackBuild
EDIT: no, that doesn't work because it must be disabled explicitly in the SlackBuild (the default in CMakeLists.txt is to build the docs): modify it like follows and build it without the parameter above
Code:
--- ./opencv.SlackBuild.orig    2018-02-13 21:28:11.701426000 +0100
+++ ./opencv.SlackBuild 2018-02-13 22:23:49.783426000 +0100
@@ -63,7 +63,8 @@
 cvgdal="" ;     [ "${CVGDAL:-no}" = "yes" ]    &&     cvgdal="-DWITH_GDAL=ON"
 dnn="-DBUILD_opencv_dnn_modern=OFF" ; [ "${DNN:-no}" = "yes" ] && dnn=""
 xf2d="-DBUILD_opencv_xfeatures2d=OFF" ; [ "${XF2D:-no}" = "yes" ] && xf2d=""
-cvdocs="-DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON " ; [ "${CVDOCS:-yes}" = "no" ] && cvdocs=""
+cvdocs="-DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON "
+[ "${CVDOCS:-no}" = "no" ] && cvdocs="-DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DINSTALL_C_EXAMPLES=OFF -DINSTALL_PYTHON_EXAMPLES=OFF "
 
 
 set -e
@@ -116,7 +117,7 @@
     -DOPENCV_EXTRA_MODULES_PATH=../$PRGNAM2-$VERSION/modules ..
 
   make VERBOSE=1
-  [ "${CVDOCS:-yes}" = "yes" ] && make doxygen
+  [ "${CVDOCS:-no}" = "yes" ] && make doxygen
   make install DESTDIR=$PKG
 cd ..
 
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
-[ "${CVDOCS:-yes}" = "yes" ] && {
+[ "${CVDOCS:-no}" = "yes" ] && {
   cp -a samples/java* samples/opencl* samples/opengl* $PKG/usr/share/opencv/samples
   chmod -R 0755 $PKG/usr/share/opencv/samples
 }
well you're no it doesn't. worked.
 
Old 02-13-2018, 06:22 PM   #947
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
rubygem-glib2 , fails to build here , glib2 too modern for this version.

I see a patch on archlinux , but probably the better way here is go up with 3.2.1 gem.


Hi , after compile 3.2.1 rubygem-glib2 other depends fails arround same.

I think need update all depends related to --> rubygem-gtk2

pango , glib2 ,atk , gobject cairo ..and in the last rubygem-gtk2

Last edited by USUARIONUEVO; 02-13-2018 at 06:32 PM.
 
Old 02-13-2018, 09:05 PM   #948
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 916

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by ponce View Post
build opencv passing to the script the variable CVDOCS=no, like
Code:
CVDOCS=no ./opencv.SlackBuild
EDIT: no, that doesn't work because it must be disabled explicitly in the SlackBuild (the default in CMakeLists.txt is to build the docs): modify it like follows and build it without the parameter above
Code:
--- ./opencv.SlackBuild.orig    2018-02-13 21:28:11.701426000 +0100
+++ ./opencv.SlackBuild 2018-02-13 22:23:49.783426000 +0100
@@ -63,7 +63,8 @@
 cvgdal="" ;     [ "${CVGDAL:-no}" = "yes" ]    &&     cvgdal="-DWITH_GDAL=ON"
 dnn="-DBUILD_opencv_dnn_modern=OFF" ; [ "${DNN:-no}" = "yes" ] && dnn=""
 xf2d="-DBUILD_opencv_xfeatures2d=OFF" ; [ "${XF2D:-no}" = "yes" ] && xf2d=""
-cvdocs="-DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON " ; [ "${CVDOCS:-yes}" = "no" ] && cvdocs=""
+cvdocs="-DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON "
+[ "${CVDOCS:-no}" = "no" ] && cvdocs="-DBUILD_DOCS=OFF -DBUILD_EXAMPLES=OFF -DINSTALL_C_EXAMPLES=OFF -DINSTALL_PYTHON_EXAMPLES=OFF "
 
 
 set -e
@@ -116,7 +117,7 @@
     -DOPENCV_EXTRA_MODULES_PATH=../$PRGNAM2-$VERSION/modules ..
 
   make VERBOSE=1
-  [ "${CVDOCS:-yes}" = "yes" ] && make doxygen
+  [ "${CVDOCS:-no}" = "yes" ] && make doxygen
   make install DESTDIR=$PKG
 cd ..
 
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
-[ "${CVDOCS:-yes}" = "yes" ] && {
+[ "${CVDOCS:-no}" = "yes" ] && {
   cp -a samples/java* samples/opencl* samples/opengl* $PKG/usr/share/opencv/samples
   chmod -R 0755 $PKG/usr/share/opencv/samples
 }
While that may work, it should only be considered a workaround. It is actually a regression in doxygen itself (or perhaps a broken Doxyfile). I am able to "updgrade" the existing doxygen 1.8.14 to 1.8.9.1 (from 14.2) and the full "make doxygen" works correctly.

chris
 
Old 02-13-2018, 09:40 PM   #949
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi again , in order to upgrade rubygems not building arround rubygem-gtk2 , i make and test the need modifications , and i put all in a tarball , for ponce suppervision and consideration.

Quote:
rubygem-pkg-config-1.2.9 --> no extra modifications
rubygem-cairo-1.15.11 --> no extra modifications
rubygem-glib2-3.2.1 --> ommites extraction of file README from gem , cause no longer exist
rubygem-cairo-gobject-3.2.1 --> NEW DEP FOR PANGO 3.2.1
rubygem-gobject-introspection-3.2.1 --> NEW DEP FOR PANGO 3.2.1
rubygem-pango-3.2.1 --> ommites extraction of file README from gem , cause no longer exist
rubygem-atk-3.2.1 --> ommites extraction of file README from gem , cause no longer exist
rubygem-gio2-3.2.1 --> NEW DEP FOR GDK_PIXBUF2-3.2.1
rubygem-gdk_pixbuf2-3.2.1 --> ommites extraction of file README from gem , cause no longer exist
rubygem-gtk2-3.2.1 --> no extra modifications

All info files updated for new DEPS , MD5SUMS , URL AND VERSION match.

New packages
rubygem-cairo-gobject-3.2.1 + rubygem-gobject-introspection --> required by pango
rubygem-gio2-3.2.1 --> required by gdk_pixbuf2

updated
rubygem-pkg-config 1.1.6 to 1.2.9
rubygem-cairo 1.14.1 to 1.15.11
rubygem-glib2 2.2.5 to 3.2.1
rubygem-pango 2.2.5 to 3.2.1
rubygem-atk 2.2.5 to 3.2.1
rubygem-gdk_pixbuf2 2.2.5 to 3.2.1
rubygem-gtk2 2.2.5 to 3.2.1
tar with all the work maked: http://www49.zippyshare.com/d/xlL4so...tes-sbo.tar.gz

Last edited by USUARIONUEVO; 02-13-2018 at 09:42 PM.
 
Old 02-16-2018, 11:41 PM   #950
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Rep: Reputation: 99
php-apcu.SlackBuild for 14.2 will no longer build on current.Bumping up to version 5.1.10 builds and seems to run with no issues so far.
 
Old 02-17-2018, 08:51 AM   #951
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 864

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Clementine is still a beast to compile in -current.

Right now I'm getting this error despite putting -fpermissive in the SLCKFLAGS:

Code:
[ 71%] Building CXX object src/CMakeFiles/clementine_lib.dir/internet/spotify/spotifyblobdownloader.cpp.o
/tmp/SBo/Clementine-1.3.1/src/internet/spotify/spotifyblobdownloader.cpp: In member function ‘bool SpotifyBlobDownloader::CheckSignature(const QMap<QString, QByteArray>&, const QStringList&)’:
/tmp/SBo/Clementine-1.3.1/src/internet/spotify/spotifyblobdownloader.cpp:192:38: error: ISO C++ forbids declaration of ‘type name’ with no type [-Werror=permissive]
     bytes.Put(reinterpret_cast<const byte*>(public_key_data.constData()),
I hate that stupid spotify blob downloader! Any suggestions?
 
Old 02-17-2018, 08:55 AM   #952
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,666

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
Quote:
Originally Posted by sombragris View Post
Clementine is still a beast to compile in -current.

Right now I'm getting this error despite putting -fpermissive in the SLCKFLAGS:

Code:
[ 71%] Building CXX object src/CMakeFiles/clementine_lib.dir/internet/spotify/spotifyblobdownloader.cpp.o
/tmp/SBo/Clementine-1.3.1/src/internet/spotify/spotifyblobdownloader.cpp: In member function ‘bool SpotifyBlobDownloader::CheckSignature(const QMap<QString, QByteArray>&, const QStringList&)’:
/tmp/SBo/Clementine-1.3.1/src/internet/spotify/spotifyblobdownloader.cpp:192:38: error: ISO C++ forbids declaration of ‘type name’ with no type [-Werror=permissive]
     bytes.Put(reinterpret_cast<const byte*>(public_key_data.constData()),
I hate that stupid spotify blob downloader! Any suggestions?
Have you tried Ponce's patch?
 
Old 02-17-2018, 09:13 AM   #953
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 864

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by willysr View Post
Have you tried Ponce's patch?
The slackbuild comes from ponce's SBo-git via sbopkg. Just applied sbopkg -r before so I think it has ponce's patch on it.
 
Old 02-17-2018, 09:17 AM   #954
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 864

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
More info:
There are two patches, one for chromaprint andanother identified as "functional-header". It still fails to build with those patches applied.
 
Old 02-17-2018, 10:00 AM   #955
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
hi sombragris,

I just tried to build clementine here and it went fine without even trying to build spotifyblobdownloader: reading the README it seems to need dependencies not on SBo to work so it hasn't been tested at all.
what I can suggest you to try is removing temporarily any installation of libspotify/spotify and build clementine again.
 
1 members found this post helpful.
Old 02-17-2018, 10:07 AM   #956
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by linuxtinker View Post
php-apcu.SlackBuild for 14.2 will no longer build on current.Bumping up to version 5.1.10 builds and seems to run with no issues so far.
thanks for reporting!
 
Old 02-17-2018, 10:44 AM   #957
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 864

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by ponce View Post
hi sombragris,

I just tried to build clementine here and it went fine without even trying to build spotifyblobdownloader: reading the README it seems to need dependencies not on SBo to work so it hasn't been tested at all.
what I can suggest you to try is removing temporarily any installation of libspotify/spotify and build clementine again.
Hi Ponce, I don't have any spotify packages installed. Still fails.
 
Old 02-17-2018, 01:41 PM   #958
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,105

Original Poster
Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by sombragris View Post
Hi Ponce, I don't have any spotify packages installed. Still fails.
maybe I wasn't clear in my previous answer: on a clean and full Slackware current installation with just the dependencies for clementine this builds fine.
I'm not sure what makes the build break in your installation, I guessed libspotify because it was building a spotify module that wasn't built in my case.
you can try adding to the line
Code:
       -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS"
an additional parameter
Code:
       -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error"
but I can't guarantee that it will work.
if it doesn't I can only suggest you to try building it on a clean installation.
 
1 members found this post helpful.
Old 02-17-2018, 03:16 PM   #959
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 864

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
I finally managed clementine to build. What a beast! I was able to compile it without having to use the suggestion by ponce.

The culprit? cryptopp.

I have AlienBob's Plasma 5 installed and in its latest version Eric introduced cryptopp 6.0.

Turns out that compilation fails under that version.

However, clementine builds OK with the SBo's supplied cryptopp, which is at version 5.6.5.

After building, I removed SBo's cryptopp and replaced it with the one supplied by Eric. Clementine then refused to run complaining that libcryptopp.so.5.6 was missing. Symlinking to libcryptopp.so.6.0 solved it.

I am now able to run clementine again.

Thanks for the advice and suggestions.
 
Old 02-17-2018, 04:25 PM   #960
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
if it doesn't I can only suggest you to try building it on a clean installation.
I'd suggest digging through the cmake build files and removing any reference to -Werror...
 
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 06:46 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