Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 07:32
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
exactimage:successful built - binaries not properly working
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1421
Location: somewhere at the end of rainbow...

PostPosted: Thu 11 Nov 2010, 11:19    Post subject:  exactimage:successful built - binaries not properly working  

Woof Woof!

this is a very strange thing

few days ago I tried to compile

*exactimage*
- http://www.exactcode.de/site/open_source/exactimage/

an imagemagick clone, but faster and lighter

I downloaded source
- http://dl.exactcode.de/oss/exact-image/exact-image-0.8.3.tar.bz2
plus libagg (from debian)
- http://packages.debian.org/lenny/i386/libagg-dev/download

started compilation...

the binaries are built, and if I invoke the executable it seems working:

e.g :
Code:
# edentify --help
Exact image identification (edentify).
Version 0.8.3 - Copyright (C) 2006 - 2007 by ExactCODE and Archivista
Usage:
  -f, --format
                user defined format string
  -h, --help
                display this help text and exit
  -v, --verbose
                more verbose output


but if I try to edentify an image:
Code:
# edentify 1.jpg
edentify: unable to open image '1.jpg'.

even the image exists and it is not corrupted (since other programs can read without pain)

so, where is my fault?

I attach the full log and the binaries built, if you want give a look

*binaries built but not able to open any image* (for your test)
- http://www.ziddu.com/download/12487468/exact-image-0.8.3-i486.zip.html

exactimage is an important addon for Puppy, I hope this can be made properly

exactimage uses libs already in puppy for common tasks (libjpeg, libpng, libtiffd..and so on...), only for supporting jpeg2000 (in older puppies) or HDR images (openxr) may be worth compiling statically

exactimage can supporting also ruby, python...and so on, but these dependencies are optionally

in link I reported, you can view and download binaries I built. the strange thing, as written is that I can invoke a command, I can read help relative to program, but binaries are not able to open whatever image

even if (./configure) signals nothing about missing dependencies

since many many users are using Puppy 3-4.x.x series it is worth to trying to build for these series (not only grab the binaries from ubuntu lucid to use in Puppy Lucid)

between its utilities, exactimage has hocr2pdf a terrific tool able to merge a scanned pdf with its ocr result, producing so a searchable pdf
log.zip
Description 
zip

 Download 
Filename  log.zip 
Filesize  1021 Bytes 
Downloaded  223 Time(s) 

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Last edited by Dingo on Sat 12 Jul 2014, 20:51; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Thu 11 Nov 2010, 14:53    Post subject:  

I got it working in lucid with:
http://packages.ubuntu.com/lucid/exactimage
libtiff4_3.9.2-2ubuntu0.3_i386.deb
libtiffxx0c2_3.9.2-2ubuntu0.3_i386.deb
libilmbase6_1.0.1-3build2_i386.deb
libIlmImf.so.6 (ln -s to libIlmImf.so.4)
libHalf.so.4
libIex-4.0.0
libIlmThread-4.0.0


~ $ edentify /usr/local/lib/X11/pixmaps/camera48.png
/usr/local/lib/X11/pixmaps/camera48.png: PNG 48x48 @ 89x89dpi (13x13mm) 32 bits, 4 channels

Edit: Should work without the last three packages, since libs are already in libilmbase. For some reason, they weren't seen initially, but
work now. (needs libIlmImf though)

Works in Lucid:
http://jpeters.net/apps/exactimage.pet
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3380
Location: Oregon

PostPosted: Fri 12 Nov 2010, 15:35    Post subject:
Subject description: your Pet contents
 

jpeps.

Does your Pet include the additional files you used to get exactimage to work?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11117
Location: Arizona USA

PostPosted: Fri 12 Nov 2010, 15:50    Post subject:  

Questions about compiling don't really belong in the Programming section, do they? I can move this thread to a more appropriate section if everyone agrees.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Fri 12 Nov 2010, 17:48    Post subject:
Subject description: your Pet contents
 

8-bit wrote:
jpeps.

Does your Pet include the additional files you used to get exactimage to work?


Yes
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3380
Location: Oregon

PostPosted: Sun 14 Nov 2010, 00:35    Post subject:  

Flash,

As I seem to recall from my early days, compiling is a part of programming.
Any source that requires compiling in any programming language should be OK to post in the Programming section as help is sometimes required in either the source or getting the source code to compile.
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1421
Location: somewhere at the end of rainbow...

PostPosted: Sun 14 Nov 2010, 13:13    Post subject:  

Dear jeps

since you are running Puppy Lucid with exactimage installed from ubuntu packages

can you wrap exactimage with cde (as described [here)
download cde from here
https://github.com/downloads/pgbovine/CDE/cde_2010-11-13_32bit

type:
Code:
cde econvert
cde edisplay
cde edentify
cde hocr2pdf
cde optimize2bw
cde empty-page


and a package cde-package will be created that (if I understand) can be run on nay x-386 PC regardless to dependencies /glibc

can you do this and uploading somewhere? thanks in advance

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send private message Visit poster's website 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 14 Nov 2010, 14:17    Post subject:  

Dingo wrote:
Dear jeps

since you are running Puppy Lucid with exactimage installed from ubuntu packages

can you wrap exactimage with cde (as described [here)
download cde from here
https://github.com/downloads/pgbovine/CDE/cde_2010-11-13_32bit

type:
Code:
cde econvert
cde edisplay
cde edentify
cde hocr2pdf
cde optimize2bw
cde empty-page


and a package cde-package will be created that (if I understand) can be run on nay x-386 PC regardless to dependencies /glibc

can you do this and uploading somewhere? thanks in advance


Interesting utility! edisplay wasn't included in the ubuntu package for some reason.
http://jpeters.net/apps/exactimage-cde.tar.gz

Flash: feel free to move this to wherever you feel appropriate
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3380
Location: Oregon

PostPosted: Wed 17 Nov 2010, 13:11    Post subject:  

If one wanted to go further, you could make a GUI for exactimage/convert/edentify using gtkdialog3.
That would make it more user friendly to the average person.

I have used exactimage/convert from the command line to convert a jpg picture to a png and shrink it to 1/8 it's original size maintaining good quality and blazing speed on the conversion.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Wed 17 Nov 2010, 15:06    Post subject:  

Hi 8-bit,

8-bit wrote:
If one wanted to go further, you could make a GUI for exactimage/convert/edentify using gtkdialog3.
That would make it more user friendly to the average person.


People are already familiar with mtPaint, etc, which is quite complex.
Check out all the options..it could be a nightmare. Exactimage is more of an imagemagick clone.

Quote:

I have used exactimage/convert from the command line to convert a jpg picture to a png and shrink it to 1/8 it's original size maintaining good quality and blazing speed on the conversion.


..because it's not a gui. It's also great for incorporating into personal scripts. I've got a "pix" script, for example, with lots of options for finding themes, edentifying, viewing, etc, etc.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0737s ][ Queries: 12 (0.0043s) ][ GZIP on ]