From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" Date: Wed, 6 Dec 2017 16:43:52 -0200 Message-ID: <20171206164352.4f95ff04@capac> References: <20171205175403.3a2e8f71@capac> <20171205195540.49b4218e@capac> <20171206124711.400b817d@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/mR7db9faFVsg_ikUK2fflj+"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1512585866 9419 195.159.176.226 (6 Dec 2017 18:44:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2017 18:44:26 +0000 (UTC) Cc: guile-user To: Daniele Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 06 19:44:22 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMeg9-0002K1-UA for guile-user@m.gmane.org; Wed, 06 Dec 2017 19:44:22 +0100 Original-Received: from localhost ([::1]:57022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMegH-000376-7r for guile-user@m.gmane.org; Wed, 06 Dec 2017 13:44:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMefx-00036k-9F for guile-user@gnu.org; Wed, 06 Dec 2017 13:44:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMeft-0006M5-9v for guile-user@gnu.org; Wed, 06 Dec 2017 13:44:09 -0500 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:51099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMeft-0006L0-1U for guile-user@gnu.org; Wed, 06 Dec 2017 13:44:05 -0500 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id C4134A04C125; Wed, 6 Dec 2017 19:44:03 +0100 (CET) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id 23MMZtDoQFf8; Wed, 6 Dec 2017 19:43:59 +0100 (CET) Original-Received: from capac (unknown [139.82.89.157]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 7344AA04C0BB; Wed, 6 Dec 2017 19:43:58 +0100 (CET) In-Reply-To: X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 79.99.200.102 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14324 Archived-At: --Sig_/mR7db9faFVsg_ikUK2fflj+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Daniele, this is a long answer, please read carefully, and apply all the steps meticulously... > > Did you install Vigra 'manually? > > What is the version of Vigra? You forgot to answer the above question, but I believe, because of the (inc= omplete) 'ldd libvigra_c.so' report you sent, that you installed Vigra manually, whi= ch is perfect (and expected): debian buster still uses 1.10, and Guile-CV needs V= igra 1.11 (to be fully correct, the libvigra_c upon which Guile-CV depends needs Vigr= a 1.11): It is also a lot better in the long run, debian, even buster, is far too slow 'for us', as you can see (Vigra 1.11 has been released a while ago...= ). However, when you install Vigra manually, you are responsible for the insta= llation of the image format libraries you intend to use, and you are missing practi= cally all of them, let's fix this, see below. > > What is the last commit of vigra_c on your side? (just go in the > > directory where you cloned, run gilt log and grab the first line for me= ). =20 >=20 > commit 691b189b05b0e0734376510cbdb256d30725ec96 (HEAD -> master, > origin/master, origin/HEAD) Perfect. > > David =20 as an aside note, please configure your email so it does not wrap long lin= es so you can copy paste 'terminal output', and manually ask for wrapping text lines,,, thanks! > linux-vdso.so.1 (0x00007fffaefc0000) > libvigraimpex.so.11 =3D> /usr/local/lib/libvigraimpex.so.11 > ... This is largely incomplete. Let's 'trick' to solve this and try to save so= me time as well, please try the following: 1- install libvigraimpex-dev sudo apt-get install libvigraimpex-dev this will install all Vigra dependencies as specified by the debian team: it will install all image libraries development files for all image format Vigra is capable of handling 2- recompile Vigra cd /your-vigra-source-tree-location/ make clean cmake \ -DCMAKE_INSTALL_PREFIX=3D/opt/vigra \ -DCMAKE_BUILD_TYPE=3DRELEASE [ in the above steps, substitute the PREFIX as [ appropriate ... I suggest you keep the one you had to [ simplify (otherwise remember to (re)configure [ in /etc/ld.so.conf.d//vigra.conf and run ldconfig as [ root ... at this point, cmake will list all format it will accept, so you can double check ... make make install 3- recompile libvigra_c make clean cmake \ -DCMAKE_INSTALL_PREFIX=3D/opt/vigra_c \ -DCMAKE_BUILD_TYPE=3DRELEASE [ in the above steps, substitute the PREFIX for the [ one used above ... remember to (re)configure [ in /etc/ld.so.conf.d//vigra_c.conf and run ldconfig as [ root ... make make install 4- you may safely remove libvigraimpex-dev if you wish, we are not using it anyway... Then try make check in Guile-CV, then make install, and ... it should be fi= ne. David --Sig_/mR7db9faFVsg_ikUK2fflj+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlooOmgACgkQ83T9k6MF etcjtwf9HIOj5exPvPzSuZr+TqY6vW9YSP+MgT+xCwSIdeka+EtEapvuqp85I+14 y5p7PZro1JF73oXRF+2ft9vy4FhU8+nNYtjoWX8jbAv/Vu/EAK3cd2NRemjfNiLI I9R0xXRsMfqAzkNV5QqcaaLod7mSJ+rPC/WugWu6/4tU6wGOVH7v9bgFLyi4/Yu+ v/kZjS231+NEJkxsILsGxe7jnQ3eGlcvIOn2du+9KVNewL+YK1QU+O1fX5JijnY3 w965DY7XN5BxLtpp3N5iRJrklue1ALk0ml8yBviihZ2Pizr6WABGHn35dCaBnRGV LohHZD8G54DRJNrazY3AuvwjW2WL7A== =stgH -----END PGP SIGNATURE----- --Sig_/mR7db9faFVsg_ikUK2fflj+--