LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-18-2019, 02:15 PM   #1921
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,132

Rep: Reputation: 158Reputation: 158

Quote:
Originally Posted by ponce View Post
go in the sources dir, /tmp/SBo/blender-2.79b/build, and launch "make".
These are the first errors:
Code:
[ 63%] Building CXX object source/blender/imbuf/intern/openexr/CMakeFiles/bf_imbuf_openexr.dir/openex
r_api.cpp.o                                                                                          
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c: In function ‘format_from_header’:          
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:79:10: error: ‘OPJ_CODEC_JP2’ undeclared (fi
rst use in this function); did you mean ‘CODEC_JP2’?                                                 
   79 |   return OPJ_CODEC_JP2;                                                                      
      |          ^~~~~~~~~~~~~                                                                       
      |          CODEC_JP2                                                                           
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:79:10: note: each undeclared identifier is r
eported only once for each function it appears in                                                    
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:82:10: error: ‘OPJ_CODEC_J2K’ undeclared (first use in this function); did you mean ‘CODEC_J2K’?                                                 
   82 |   return OPJ_CODEC_J2K;                                                                      
      |          ^~~~~~~~~~~~~                                                                       
      |          CODEC_J2K                                                                           
/tmp/SBo/blender-2.79b/source/blender/imbuf/intern/jp2.c:85:10: error: ‘OPJ_CODEC_UNKNOWN’ undeclared
 (first use in this function); did you mean ‘CODEC_UNKNOWN’?                                         
   85 |   return OPJ_CODEC_UNKNOWN;                                                                  
      |          ^~~~~~~~~~~~~~~~~                                                                   
      |          CODEC_UNKNOWN
 
Old 07-18-2019, 03:07 PM   #1922
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,892

Original Poster
Rep: Reputation: Disabled
seems related to openjpeg...
are you rebuilding just blender or also all of its dependencies? I suggest you do the latter, following the hints in README.Slackware.
 
Old 07-18-2019, 07:26 PM   #1923
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,203

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Hi , after last updated ffmpeg to branch 4 , some libs need new patches.


I found libquicktime , and transcode , need patches and tweaks.

You can get the patches from archlinux, i test , and works well.


patches to libquicktime --> https://git.archlinux.org/svntogit/c...s/libquicktime
patches to transcode --> https://git.archlinux.org/svntogit/c...ages/transcode

In transcode ommit the imagemagick7.patch ...you need to see the build file for some extra "sed" commands in transcode and libquicktime , not too hard to repair de slackbuilds.

Last edited by USUARIONUEVO; 07-18-2019 at 07:28 PM.
 
Old 07-18-2019, 08:58 PM   #1924
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32
Posts: 324

Rep: Reputation: 24
QT5 compiled well, thanks !

Quote:
Originally Posted by ponce View Post
could you please try a patch from Eric's build?
from the qt5.SlackBuild directory of this repository do
Code:
cd patches
wget http://www.slackware.com/~alien/slackbuilds/qt5/build/patches/qt5.webengine_gcc8.patch
cd ..
then modify qt5.SlackBuild like this
Code:
--- ./qt5.SlackBuild.orig       2019-07-18 17:49:13.315664000 +0200
+++ ./qt5.SlackBuild    2019-07-18 19:11:29.422637657 +0200
@@ -161,6 +161,9 @@
 ( cd qtbase
   patch -p1 < $CWD/patches/qtbase59-openssl11.patch )
 
+( cd qtwebengine
+  patch -p1 < $CWD/patches/qt5.webengine_gcc8.patch )
+
 # Limit -reduce-relocations to ix86 and x86_64.
 # https://bugreports.qt-project.org/browse/QTBUG-36129
 if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then
then please report back if qt5 builds fine.
 
Old 07-18-2019, 09:52 PM   #1925
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,892

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
Hi , after last updated ffmpeg to branch 4 , some libs need new patches.


I found libquicktime , and transcode , need patches and tweaks.

You can get the patches from archlinux, i test , and works well.


patches to libquicktime --> https://git.archlinux.org/svntogit/c...s/libquicktime
patches to transcode --> https://git.archlinux.org/svntogit/c...ages/transcode

In transcode ommit the imagemagick7.patch ...you need to see the build file for some extra "sed" commands in transcode and libquicktime , not too hard to repair de slackbuilds.
thanks for reporting, I already fixed them yesterday

https://github.com/Ponce/slackbuilds/tree/libquicktime
https://github.com/Ponce/slackbuilds/tree/transcode
 
Old 07-19-2019, 01:10 PM   #1926
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,132

Rep: Reputation: 158Reputation: 158
Ponce,

So I meticulously built everything from scratch (on a clean install). I even tried using the suggestions on the README file. It still fails with the same error. Going to try and build the 2.80 beta and see if I have better luck.
 
Old 07-19-2019, 03:19 PM   #1927
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,132

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by stormtracknole View Post
Ponce,

So I meticulously built everything from scratch (on a clean install). I even tried using the suggestions on the README file. It still fails with the same error. Going to try and build the 2.80 beta and see if I have better luck.
Version 2.80 rc2 built fine. I had to comment out every patch. Seems that the combination for the new ffmpeg and openjpeg is not playing nice.
 
Old 07-20-2019, 02:16 PM   #1928
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,711

Rep: Reputation: Disabled
ponce, can you please remove the patch and related sed from the python-xlib SlackBuild in your repo? Its a horrible hack that is only needed for 14.2.
 
Old 07-22-2019, 05:51 AM   #1929
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 478

Rep: Reputation: 160Reputation: 160
These 3 SlackBuilds give the error "404 not found" when processing the queue:

flashplayer-plugin
pepperflash-plugin
remind
 
Old 07-22-2019, 05:55 AM   #1930
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,892

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jostber View Post
These 3 SlackBuilds give the error "404 not found" when processing the queue:

flashplayer-plugin
pepperflash-plugin
these two work here, maybe you got an old version of the repository.

Quote:
remind
this one is indeed a broken download, but you must report this on the slackbuilds-users mailing list, this is not the proper place (please refer to the first post).
 
Old 07-22-2019, 03:31 PM   #1931
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 855

Rep: Reputation: 169Reputation: 169
Trying to install gnucash 3.6 from sbopkg on current, I ran into the boost 1.70.0 error discussed earlier in this thread at post#1777 and #1779.

Since I don't know how to modify the slackbuild script when installing with sbopkg, I downloaded the slackbuilds.org package and added the "-DBoost_NO_BOOST_CMAKE=ON" to the slackbuild, as mentioned in post #1779, but now it gets this error:

Code:
-- Looking for include file wctype.h
-- Looking for include file wctype.h - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test have_mod_mask
-- Performing Test have_mod_mask - Success
CMake Error at gnucash/register/register-gnome/CMakeLists.txt:4 (check_symbol_exists):
  Unknown CMake command "check_symbol_exists".


-- Configuring incomplete, errors occurred!
See also "/tmp/SBo/gnucash-3.6/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/gnucash-3.6/build/CMakeFiles/CMakeError.log".
I googled that and found a post explaining how to fix it. It says you need to add "include(CheckSymbolExists)" near the top of your CMakeLists.txt file. That file is in the gnucash source code tar file. Do I need to untar it, edit the file, then tar it again before running the slackbuild script in order for it to work?

Or is there another way to fix it?
 
Old 07-22-2019, 06:22 PM   #1932
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 855

Rep: Reputation: 169Reputation: 169
My cmake is version 3.15.0, btw.
 
Old 07-22-2019, 08:32 PM   #1933
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 478

Rep: Reputation: 160Reputation: 160
Quote:
Originally Posted by ponce View Post
remind

this one is indeed a broken download, but you must report this on the slackbuilds-users mailing list, this is not the proper place (please refer to the first post).
I have sent this to the slackbuilds-users list, thanks.

Last edited by jostber; 07-22-2019 at 08:33 PM.
 
Old 07-23-2019, 07:58 AM   #1934
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 855

Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by Z038 View Post
I googled that and found a post explaining how to fix it. It says you need to add "include(CheckSymbolExists)" near the top of your CMakeLists.txt file. That file is in the gnucash source code tar file. Do I need to untar it, edit the file, then tar it again before running the slackbuild script in order for it to work?
That worked.

I guess I should report this to the gnucash development team? It seems like this would fail for anyone doing a cmake build.
 
Old 07-23-2019, 08:02 AM   #1935
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,892

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Z038 View Post
That worked.

I guess I should report this to the gnucash development team? It seems like this would fail for anyone doing a cmake build.
could be useful for them, yes.

FYI, this has already been reported and answered yesterday on the slackbuilds-users mailing list (a few hours before the post here)

https://lists.slackbuilds.org/piperm...ly/023135.html

http://cgit.ponce.cc/slackbuilds/commit/?h=gnucash

Last edited by ponce; 07-23-2019 at 08:04 AM.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo


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
[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 11:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration