From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniele Newsgroups: gmane.lisp.guile.user Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" Date: Wed, 6 Dec 2017 21:27:59 +0100 Message-ID: References: <20171205175403.3a2e8f71@capac> <20171205195540.49b4218e@capac> <20171206124711.400b817d@capac> <20171206164352.4f95ff04@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512592122 9410 195.159.176.226 (6 Dec 2017 20:28:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2017 20:28:42 +0000 (UTC) Cc: guile-user To: David Pirotte Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 06 21:28:37 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 1eMgJ2-0002Ik-Q5 for guile-user@m.gmane.org; Wed, 06 Dec 2017 21:28:37 +0100 Original-Received: from localhost ([::1]:57660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMgJ9-0006Oa-Tv for guile-user@m.gmane.org; Wed, 06 Dec 2017 15:28:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMgIU-0006MX-Uv for guile-user@gnu.org; Wed, 06 Dec 2017 15:28:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMgIT-0003Z1-Nv for guile-user@gnu.org; Wed, 06 Dec 2017 15:28:02 -0500 Original-Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:44149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMgIT-0003YS-HU for guile-user@gnu.org; Wed, 06 Dec 2017 15:28:01 -0500 Original-Received: by mail-oi0-x22a.google.com with SMTP id l6so3422467oih.11 for ; Wed, 06 Dec 2017 12:28:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hcd2sP5rrreF+7g0HXXDoXNZ+Rzsnj/+F3K4YEPv/Y8=; b=UUba5WTSAKDdAktdjVxYIOJ/AikikJC1H8Ab3XZLyTpTqJ///4kkBO1c6u7ALbN9Jc 6Ut42Yog/pKYE8HUbgcdEJVFaCg3Q0znZY9pZoEFfcE4toGU2hQNs/cjXq9Nj1pH/HkX kjddmSoy0/l0SrYSZds1OzDUDd7XcUuFkLvOmJUUjlpGYDFvouJ//8vHNhpgXt77ZTsi XrR1jsUoAv/879uVBC/AQm2zrntw7RdVnsZDlriuv7hmFVWuSeNxD64RWdI8OrizyYMw 03n+rStnV8G54ghI3SxE4K40j1X5o8dWEuO1NUIBp++UfGPyuqp/6ypUjlCn5BbDHOyT 4CNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hcd2sP5rrreF+7g0HXXDoXNZ+Rzsnj/+F3K4YEPv/Y8=; b=KCqg/Or+ymnxLH0G1CZwjlDnMMv9jg4X19AqGTfrxptJMBlwAmI2bD3XDcuf8Nv4va Yqhd38eOus4GB9X0AplLzc/ulkVgjJzjuMZFzKXXnZCwhICszrxw8TsmkiS6Gk4fZKTu nrDw7sLDnxPumyk3YmajyYIHlj+eqcLMz2RyT6iyCYRR7qGU2OmRyFtNGZmm6WBxW/Xs +iGN1CHrGC251nf4nuNwgc9FtdSNTfhf0jZ7Gnh/NdjAP//25/XMNrq80SDNI8wmB4UB o/qjUZv0yX8GEYtJJEmhJgXKVYka+kCjf0iGIKkVt+kwTLiLIj+LxDLmoaOJSzWypy9X cVng== X-Gm-Message-State: AKGB3mLOfl5LSt1IQFw5AcSl0dpQI1O/8UmmBxjv6uDv0a1rS4FNRjCm kU64gzg94TaXqsabYSzdH0BV3TXl+20RWmJSRzU= X-Google-Smtp-Source: AGs4zMYsqP9mVMPHMlc2jpMeby4gYL7g9JtuSagCY0/Lqt64qWGTd3/BBEEtcabupb8ZtF0JqA3Jy/kflHGek83LHGo= X-Received: by 10.202.57.198 with SMTP id g189mr7244461oia.26.1512592080386; Wed, 06 Dec 2017 12:28:00 -0800 (PST) Original-Received: by 10.157.86.167 with HTTP; Wed, 6 Dec 2017 12:27:59 -0800 (PST) In-Reply-To: <20171206164352.4f95ff04@capac> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22a 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:14325 Archived-At: > Then try make check in Guile-CV, then make install, and ... it should be fine. Yes, it's fine now, thanks. Daniele 2017-12-06 19:43 GMT+01:00 David Pirotte : > 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 (incomplete) > 'ldd libvigra_c.so' report you sent, that you installed Vigra manually, which is > perfect (and expected): debian buster still uses 1.10, and Guile-CV needs Vigra 1.11 > (to be fully correct, the libvigra_c upon which Guile-CV depends needs Vigra 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 installation > of the image format libraries you intend to use, and you are missing practically 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). >> >> commit 691b189b05b0e0734376510cbdb256d30725ec96 (HEAD -> master, >> origin/master, origin/HEAD) > > Perfect. > >> > David > > as an aside note, please configure your email so it does not wrap long lines > so you can copy paste 'terminal output', and manually ask for wrapping text > lines,,, thanks! > >> linux-vdso.so.1 (0x00007fffaefc0000) >> libvigraimpex.so.11 => /usr/local/lib/libvigraimpex.so.11 >> ... > > This is largely incomplete. Let's 'trick' to solve this and try to save some 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=/opt/vigra \ > -DCMAKE_BUILD_TYPE=RELEASE > > [ 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=/opt/vigra_c \ > -DCMAKE_BUILD_TYPE=RELEASE > > [ 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 fine. > > David