Hello Tom,

I tried now the installation using the Mercurial version.

I was able to resolve many of the dependencies, but with this one I'm
stuck:

l...@tierra:~/.dev/ocropus$ scons
scons: Reading SConscript files ...
WARNING: scons not supported on platforms other than Ubuntu 9.04
NOTE: compile with high optimization only for production use
Checking for C++ header file colib/colib.h... (cached) yes
Checking for C++ library iulib... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C library SDL_gfx... (cached) yes
Checking for C library gif... (cached) yes
Checking for C library tiff... (cached) yes
Checking for C library jpeg... (cached) yes
Checking for C library png... (cached) yes
Checking for C library lept... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o ocr-line/glclass.o -c -DDATADIR='"/usr/local/share/ocropus"' -g
-fPIC -O3 -Wall -Wno-sign-compare -Wno-write-strings -
D__warn_unused_result__=__far__ -D_BACKWARD_BACKWARD_WARNING_H=1 -
fopenmp -DHAVE_LEPTONICA -I/usr/local/include -I/usr/local/include -I/
usr/include/leptonica -I/usr/local/include/leptonica -I/usr/local/
include/leptonica -Iinclude -Iocr-utils ocr-line/glclass.cc
In file included from ocr-line/glclass.cc:6:
include/gsl.h:4:28: error: gsl/gsl_linalg.h: No such file or directory
In file included from ocr-line/glclass.cc:6:
include/gsl.h:9: error: ISO C++ forbids declaration of 'gsl_vector'
with no type
include/gsl.h:9: error: expected ';' before '*' token
include/gsl.h:10: error: 'gsl_vector_view' does not name a type
include/gsl.h:37: error: expected type-specifier before
'gsl_vector_view'
include/gsl.h:40: error: expected type-specifier before 'gsl_vector'
include/gsl.h: In constructor 'gsl::vector::vector(int)':
include/gsl.h:12: error: 'p' was not declared in this scope
include/gsl.h:12: error: 'gsl_vector_alloc' was not declared in this
scope
include/gsl.h:13: error: 'view' was not declared in this scope
include/gsl.h:13: error: 'gsl_vector_subvector_with_stride' was not
declared in this scope
include/gsl.h: In destructor 'gsl::vector::~vector()':
include/gsl.h:16: error: 'p' was not declared in this scope
include/gsl.h:16: error: 'gsl_vector_free' was not declared in this
scope
include/gsl.h: In member function 'int gsl::vector::length()':
include/gsl.h:20: error: 'p' was not declared in this scope
include/gsl.h: In member function 'int gsl::vector::dim(int)':
include/gsl.h:23: error: 'p' was not declared in this scope
include/gsl.h: In member function 'void gsl::vector::resize(int)':
include/gsl.h:27: error: 'p' was not declared in this scope
include/gsl.h:27: error: 'gsl_vector_free' was not declared in this
scope
include/gsl.h:28: error: 'gsl_vector_alloc' was not declared in this
scope
include/gsl.h: In member function 'void gsl::vector::operator=
(double)':
include/gsl.h:31: error: 'p' was not declared in this scope
include/gsl.h:31: error: 'gsl_vector_set_all' was not declared in this
scope
include/gsl.h: In member function 'double& gsl::vector::operator()
(int)':
include/gsl.h:34: error: 'p' was not declared in this scope
include/gsl.h:35: error: 'p' was not declared in this scope
include/gsl.h: At global scope:
include/gsl.h:58: error: ISO C++ forbids declaration of 'gsl_matrix'
with no type
include/gsl.h:58: error: expected ';' before '*' token
include/gsl.h:59: error: 'gsl_matrix_view' does not name a type
include/gsl.h:86: error: expected type-specifier before
'gsl_matrix_view'
include/gsl.h:89: error: expected type-specifier before 'gsl_matrix'
include/gsl.h: In constructor 'gsl::matrix::matrix(int, int)':
include/gsl.h:61: error: 'p' was not declared in this scope
include/gsl.h:61: error: 'gsl_matrix_alloc' was not declared in this
scope
include/gsl.h:62: error: 'view' was not declared in this scope
include/gsl.h:62: error: 'gsl_matrix_view_array_with_tda' was not
declared in this scope
include/gsl.h: In destructor 'gsl::matrix::~matrix()':
include/gsl.h:65: error: 'p' was not declared in this scope
include/gsl.h:65: error: 'gsl_matrix_free' was not declared in this
scope
include/gsl.h: In member function 'int gsl::matrix::dim(int)':
include/gsl.h:69: error: 'p' was not declared in this scope
include/gsl.h:70: error: 'p' was not declared in this scope
include/gsl.h: In member function 'void gsl::matrix::resize(int,
int)':
include/gsl.h:74: error: 'p' was not declared in this scope
include/gsl.h:74: error: 'gsl_matrix_free' was not declared in this
scope
include/gsl.h:75: error: 'gsl_matrix_alloc' was not declared in this
scope
include/gsl.h:76: error: 'view' was not declared in this scope
include/gsl.h:76: error: 'gsl_matrix_view_array_with_tda' was not
declared in this scope
include/gsl.h: In member function 'void gsl::matrix::operator=
(double)':
include/gsl.h:79: error: 'p' was not declared in this scope
include/gsl.h:79: error: 'gsl_matrix_set_all' was not declared in this
scope
include/gsl.h: In member function 'double& gsl::matrix::operator()
(int, int)':
include/gsl.h:82: error: 'p' was not declared in this scope
include/gsl.h:83: error: 'p' was not declared in this scope
include/gsl.h:84: error: 'p' was not declared in this scope
ocr-line/glclass.cc: In function 'void glinerec::least_square
(colib::floatarray&, colib::floatarray&, colib::floatarray&)':
ocr-line/glclass.cc:1315: error: 'gsl_linalg_SV_decomp_mod' was not
declared in this scope
ocr-line/glclass.cc:1316: error: 'gsl_linalg_SV_solve' was not
declared in this scope
scons: *** [ocr-line/glclass.o] Error 1
scons: building terminated because of errors.

Packages slang-gsl and libgsl0-dbg are installed.

Unfortunately, I was not able to find out what provides gsl/
gsl_linalg.h.

Best regards,

Sven
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to