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.
I don't think this is an issue current-specific: opencv builds fine here when I apply this correction suggested by its maintainer on the slackbuilds-users mailing list
/usr/python ... is not the correct way to put python bindings.
Thanks, apart from the typo (should be -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \), this is more compact and works for me in a test build. I'll try using it in the next update.
However I don't think it's specific to -current (the purpose of this thread). For things like this, it's best to email the maintainer directly (that's what the maintainer email field in the .info file is for) or the SlackBuilds.org User List.
OpenCV automatic dependency finder cannot build opencv with ATLAS.
The reason, perhaps, being the lapacke/clapack.
Indeed, I did manage to compile lapacke from academic/lapacke, and it indeed can pick up ATLAS as a systemwide LAPACK, but the resulting lapacke is not satisfactory for opencv to accept.
I suspect that lapacke should be build by the atlas builder itself, while building ATLAS, but I didn't find where to ask it politely enough.
(i.e. I haven't found a place where to give parameters with which ATLAS would build lapack)
Any suggestions welcome...
Building opencv with OpenBLAS is much more straightforward than dealing with the quagmire of lapack/atlas/blas and may suit your needs.
Code:
-- Found OpenBLAS libraries: /usr/lib64/libopenblas.so
-- Found OpenBLAS include: /usr/include
-- LAPACK(OpenBLAS): LAPACK_LIBRARIES: /usr/lib64/libopenblas.so
-- LAPACK(OpenBLAS): Support is enabled.
Has anybody had success building supertuxkart on the latest -current? I'm getting the following errors when using slackrepo to build:
Code:
env MAKEFLAGS='-j8' nice -n 5 bash ./supertuxkart.SlackBuild
Build time 93 sec, peak load 4.83, peak memory 505M, peak tmp 672M
games/supertuxkart: supertuxkart.SlackBuild failed (status 2) 12:39:12
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads - not found
/usr/include/GL/glext.h:12066:105: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)’
/usr/include/GL/glext.h:12068:103: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, const GLint*)’
/usr/include/GL/glext.h:12070:96: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, const GLfloat*)’
/usr/include/GL/glext.h:12072:94: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, const GLint*)’
/usr/include/GL/glext.h:12079:104: error: conflicting declaration ‘typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, GLfloat*)’
/usr/include/GL/glext.h:12080:102: error: conflicting declaration ‘typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, GLint*)’
/usr/include/GL/glext.h:12083:74: error: ‘void __glewFragmentColorMaterialSGIX(GLenum, GLenum)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12084:84: error: ‘void __glewFragmentLightfSGIX(GLenum, GLenum, GLfloat)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12085:93: error: ‘void __glewFragmentLightfvSGIX(GLenum, GLenum, const GLfloat*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12086:82: error: ‘void __glewFragmentLightiSGIX(GLenum, GLenum, GLint)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12087:91: error: ‘void __glewFragmentLightivSGIX(GLenum, GLenum, const GLint*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12088:75: error: ‘void __glewFragmentLightModelfSGIX(GLenum, GLfloat)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12089:84: error: ‘void __glewFragmentLightModelfvSGIX(GLenum, const GLfloat*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12090:73: error: ‘void __glewFragmentLightModeliSGIX(GLenum, GLint)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12091:82: error: ‘void __glewFragmentLightModelivSGIX(GLenum, const GLint*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12092:86: error: ‘void __glewFragmentMaterialfSGIX(GLenum, GLenum, GLfloat)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12093:95: error: ‘void __glewFragmentMaterialfvSGIX(GLenum, GLenum, const GLfloat*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12094:84: error: ‘void __glewFragmentMaterialiSGIX(GLenum, GLenum, GLint)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12095:93: error: ‘void __glewFragmentMaterialivSGIX(GLenum, GLenum, const GLint*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12096:90: error: ‘void __glewGetFragmentLightfvSGIX(GLenum, GLenum, GLfloat*)’ redeclared as different kind of symbol
/usr/include/GL/glext.h:12097:88: error: ‘void __glewGetFragmentLightivSGIX(GLenum, G
[...]
See /var/log/slackrepo/ponce/games/supertuxkart/build.log
Unmounting chroot ... done.
:-( games/supertuxkart FAILED )-:
I tried building the package using a different machine without using slackrepo and I had the same failure. My guess is that one of the compilers are too new?
Well, this is about a SBo package which *builds* and I want to share the tip.
Gambas3 recently released version 3.12.
Using the relevant SBo script and merely changing version number does not work. I use AlienBob's Plasma 5 and the SlackBuild conflicts with AlienBob's OpenAL.
Moreover, sqlite2 also makes compilation to fail.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.