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 have the slackbuild of darktable installed but this does not work properly with files from my camera, panasonic G3.
I have been told to try a more recent version and have been trying the git version. That build fails with
Quote:
[ 30%] Building C object src/CMakeFiles/lib_darktable.dir/common/collection.c.o
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
from /usr/include/glib-2.0/glib.h:34,
from /home/alan/temp/git/darktable/src/common/collection.c:23:
/usr/include/glib-2.0/glib/gthread.h: In function 'g_once_init_enter':
/usr/include/glib-2.0/glib/gthread.h:347:3: error: size of unnamed array is negative
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/cache.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/collection.c.o] Error 1
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
make: *** [all] Error 2
alan@LavanKossot:~/temp/git/darktable$
A bit of a long shot but does anyone know what the problem is here?
First, build and install libffi from SlackBuilds.org (new dependency of glib2-2.30)
Then, get Pat's source files from source/l/glib2/, remove glib-2.28.6.tar.xz and get glib-2.30.2.tar.xz , then run Pat's SlackBuild (no changes needed), and upgrade to the new package.
Now darktable git will build, but who knows what else might have been broken by the new glib2... better downgrade back to glib2-2.28.6 when you've finished with testing darktable
No, multilib won't be an issue. Just leave glib2-compat32-2.28.6-x86_64-1 in situ. Your darktable will be native x86_64 and linked to glib2-2.30.2-x86_64-1.
In this situation, because any upgrade of one of Pat's packages takes you "off piste", the 32 bit side of your multilib will actually be less dodgy than the 64 bit side... unless/until you revert the latter to glib2-2.28.6-x86_64-1.
yes, and edit a little the slackbuild if you use a different compression format from the original.
To avoid editing it, you'll find often in slackbuilds this syntax for extracting tarballs
Code:
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
so that the most common ones(also gz, bz2 and xz) are supported.
if can be useful to you I made a little script to create versioned .tar.xz tarballs from inside a git tree, to avoid repeating this manual operation each time.
It's very raw but seems to work
Ponce's solution is exactly what I would usually do, or sometimes copy and paste each command from a SlackBuild, one at a time, into a terminal window if I'm expecting trouble
(... which is one advantage of SlackBuilds over the config-driven equivalents in Arch and Gentoo: you can't, AFAIK, single-step an emerge)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.