cuneiform team mailing list archive
-
cuneiform team
-
Mailing list archive
-
Message #00452
[Bug 362224] Re: PUMA_Init failed.
This bug is still valid for me (using Mandriva-Linux 2010.0).
$ cuneiform -l ger -f html -o test.html test.tiff
Cuneiform for Linux 0.8.0
PUMA_Init failed.
I built an RPM of cuneiform 0.8.0 source-code myself.
Doing this means using Mandriva's %cmake RPM-macro. I'll attach all
cmake-options of this macro to make things more clearly.
Beside the main problem "PUMA_Init" I could see that cuneiform has
issues with CFLAG "-Werror=format-security" which is used by default
with Mandriva's %cmake-macro - the build breaks with several "format not
a string literal and no format arguments"-erros unless I disable this
specific (but default) CFLAG!
Regarding "PUMA_Init"-error I'll attach a strace-output as well.
--
PUMA_Init failed.
https://bugs.launchpad.net/bugs/362224
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.
Status in Linux port of Cuneiform: Invalid
Bug description:
Hello!
I've compiled cuneiform 0.6.0 on amd64 debian lenny.
And always when I try to recognize something it write:
"PUMA_Init failed."
and exit.
Here is end of strace output for:
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=109138, ...}) = 0
mmap(NULL, 109138, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61a74b8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x7f61a74b8000, 109138) = 0
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=109138, ...}) = 0
mmap(NULL, 109138, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61a74b8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x7f61a74b8000, 109138) = 0
unlink("crossed.txt") = -1 ENOENT (No such file or directory)
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=109138, ...}) = 0
mmap(NULL, 109138, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61a74b8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x7f61a74b8000, 109138) = 0
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=109138, ...}) = 0
mmap(NULL, 109138, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61a74b8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x7f61a74b8000, 109138) = 0
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/barser/p/cuneiform/builddir/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=109138, ...}) = 0
mmap(NULL, 109138, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61a74b8000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/DPUMA.DLL", O_RDONLY) = -1 ENOENT (No such file or directory)
munmap(0x7f61a74b8000, 109138) = 0
mmap(NULL, 659456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f61a7432000
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f61a73f1000
mmap(NULL, 331776, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f61a73a0000
chdir(".") = 0
brk(0x24e1000) = 0x24e1000
brk(0x2504000) = 0x2504000
mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f61a737f000
stat("C:\\method.txt", 0x7fffb74c9950) = -1 ENOENT (No such file or directory)
open("", O_RDONLY) = -1 ENOENT (No such file or directory)
open("", O_RDONLY) = -1 ENOENT (No such file or directory)
open("", O_RDONLY) = -1 ENOENT (No such file or directory)
open("", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, " \n"..., 3
) = 3
munmap(0x7f61a74d3000, 2297856) = 0
munmap(0x7f61a7432000, 659456) = 0
munmap(0x7f61a73f1000, 266240) = 0
munmap(0x7f61a73a0000, 331776) = 0
munmap(0x7f61a737f000, 135168) = 0
munmap(0x7f61af3c4000, 163840) = 0
write(2, "PUMA_Init failed.\n"..., 18PUMA_Init failed.
) = 18
exit_group(1) = ?