Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 01-14-2009, 05:52 AM   #16
Viacheslav
Connoisseur
Viacheslav doesn't litterViacheslav doesn't litter
 
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
How to get past this?
Code:
$./configure
...
checking for library containing sqlite3_open... -lsqlite3
configure: checking for CamlPDF installation...
File "conftest.ml", line 2, characters 18-37:
Unbound value Pdfdoc.add_pagetree
configure: error: compilation of CamlPDF test program failed
See `config.log' for more details.
SQLite and Ocaml are installed.

This message is meaningless for everyone except Caml developers.

Last edited by Viacheslav; 01-14-2009 at 06:01 AM.
Viacheslav is offline   Reply With Quote
Old 01-14-2009, 09:08 AM   #17
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Yes, especially if like some we are not programmers. I too have managed to get the Caml & Sqlite working, on the MAC, but cannot get the pdf part to work & at this point have given up. Hopefully some clever person can eventually "Macify" the programme. I don't think the "make" is part of the default Mac software.
pthwaite is offline   Reply With Quote
Advert
Old 01-14-2009, 02:09 PM   #18
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by Viacheslav View Post
How to get past this?
Code:
$./configure
...
configure: error: compilation of CamlPDF test program failed
SQLite and Ocaml are installed.
Have you installed CamlPDF? Judging from the message, configure doesn't find it...
thomega is offline   Reply With Quote
Old 01-15-2009, 04:19 PM   #19
Viacheslav
Connoisseur
Viacheslav doesn't litterViacheslav doesn't litter
 
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
Quote:
Originally Posted by thomega View Post
Have you installed CamlPDF? Judging from the message, configure doesn't find it...
I found the Camlpdf (although its homepage no longer exists). It builds fine and produces its helloworld pdf.

BUT, How do I install it? There is no make install target in camlpdf and my attempts to copy it to /usr/lib/ocaml did not help. Finally I simply copied ocamlpdf to the irextools dir and the error changed to
Code:
checking for library containing sqlite3_open... -lsqlite3
configure: checking for CamlPDF installation...
/usr/bin/ld: cannot find -lcamlpdf_stubs
collect2: ld returned 1 exit status
Error while building custom runtime system
configure: error: compilation of CamlPDF test program failed
See `config.log' for more details.
Viacheslav is offline   Reply With Quote
Old 01-15-2009, 06:08 PM   #20
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by Viacheslav View Post
How do I install it?
You don't. Just use the --with-camlpdf=<directory> option of configure to point it to the directory where you compiled CamlPDF. Alternatively, --with-camlpdf=build will download and compile CamlPDF and set the correct directory.
thomega is offline   Reply With Quote
Advert
Old 01-16-2009, 04:13 AM   #21
Angela Fabregues
Junior Member
Angela Fabregues began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2009
Device: Irex 1000 S
Quote:
Merger for Linux
I am completely nivice in Linux. I would like to install the merger but apart for uncompresing the .tar file I know nothing. Should the merger be installed on the DR or in the Linux machine? Perhaps someone would be patient enough to give me detailed instructions.
In your computer.

Download the merger, uncompress and take a look to the INSTALL file. There is an explanation there. (./configure, make and make install have to be introduced using a Terminal).

I use MacOs. And I had problems with ocaml installation. The merger seems to require a complete installation of ocaml libraries. The ocaml sql package is not hosted where it is referred in the INSTALL file.

Good luck.

Last edited by Angela Fabregues; 01-16-2009 at 04:15 AM.
Angela Fabregues is offline   Reply With Quote
Old 01-16-2009, 10:29 AM   #22
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
Hmm, but I don't have the "make" command available in the MAC OS. Where did you get it/install it from?
pthwaite is offline   Reply With Quote
Old 01-16-2009, 04:50 PM   #23
Viacheslav
Connoisseur
Viacheslav doesn't litterViacheslav doesn't litter
 
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
Quote:
Originally Posted by thomega View Post
You don't. Just use the --with-camlpdf=<directory> option of configure to point it to the directory where you compiled CamlPDF. Alternatively, --with-camlpdf=build will download and compile CamlPDF and set the correct directory.
configure --with-ocaml-sqlite3=build --with-camlpdf=build does not work . ocaml-sqlite3-1.2.0 no longer exists. It was replaced by 1.3.0, which fails to build with
Code:
config.status: creating META
ocamlc -w A -warn-error A -pp "cpp -DHAS_ENABLE_LOAD_EXTENSION" -c sqlite3.mli
ocamlc -w A -warn-error A -pp "cpp -DHAS_ENABLE_LOAD_EXTENSION" -c sqlite3.ml
gcc -I/usr/lib/include -I/usr/lib/ocaml -g -O2 -DHAS_ENABLE_LOAD_EXTENSION -fPIC -Wall -pedantic -Werror -Wno-long-long   -c -o sqlite3_stubs.o sqlite3_stubs.c
cc1: warnings being treated as errors
sqlite3_stubs.c: In function 'ref_count_finalize_dbw':
sqlite3_stubs.c:280: warning: implicit declaration of function 'caml_remove_generational_global_root'
sqlite3_stubs.c: In function 'register_user_function':
sqlite3_stubs.c:1013: warning: implicit declaration of function 'caml_register_generational_global_root'
make: *** [sqlite3_stubs.o] Error 1
configure: error:  failed
See `config.log' for more details.
What can be done here? I tried to compile caml-sqlite3 autonomously, but it fails . libsqlite3-devel and static devel files ver3.5 are installed.

I wish it were written in C, so it would be possible to run the merger on the reader itself...

Last edited by Viacheslav; 01-16-2009 at 05:12 PM.
Viacheslav is offline   Reply With Quote
Old 01-17-2009, 08:34 AM   #24
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by Viacheslav View Post
I wish it were written in C
I'm not masochistic enough to rewrite it.
Quote:
Originally Posted by Viacheslav View Post
so it would be possible to run the merger on the reader itself...
Why? We can't print from the reader anyway.
thomega is offline   Reply With Quote
Old 01-17-2009, 08:43 AM   #25
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by Viacheslav View Post
What can be done here? I tried to compile caml-sqlite3 autonomously, but it fails . libsqlite3-devel and static devel files ver3.5 are installed.
Indeed, it appears that version 1.3.0 of ocaml-sqlite is broken . Thanks for bringing that to my attention, I have to contact the developer. (Version 1.2.0 can still be downloaded from the release repository, but it is a pain to find).

In the meantime, I have made a new release of irextools https://forge.ocamlcore.org/frs/down...ols-0.3.tar.gz that includes working versions of the external O'Caml libraries. If you have SQLite3 installed (the C version not the O'Caml interface), configure should work now without any arguments.
thomega is offline   Reply With Quote
Old 01-17-2009, 08:48 AM   #26
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by Angela Fabregues View Post
The merger seems to require a complete installation of ocaml libraries.
Except for CamlPDF and ocaml-sqlite3, the base O'Caml distribution should suffice.

Quote:
Originally Posted by Angela Fabregues View Post
The ocaml sql package is not hosted where it is referred in the INSTALL file.
Thanks for pointing that out. It appears that Markus (the ocaml-sqlite3 developer) was a bit overzealous with cleaning up during the christmas period.

I have now decided to include working versions of all the libraries that are required beyond a base install.
thomega is offline   Reply With Quote
Old 01-17-2009, 08:52 AM   #27
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Version 0.3 released

http://forge.ocamlcore.org/projects/irextools/

This release
  • includes working versions of the external O'Caml libraries for PDF files and SQLite3 databases. This makes the .tar.gz file three times as large, but should make ./configure; make simpler and much more robust.
thomega is offline   Reply With Quote
Old 01-18-2009, 10:59 AM   #28
godel10
Connoisseur
godel10 doesn't littergodel10 doesn't littergodel10 doesn't litter
 
Posts: 80
Karma: 204
Join Date: Jun 2007
Device: Sony Librie, Irex DR1000S
First of all, my gratitute to the author of this great software (a week ago I was able to compile the 0.2 version, and it is working greatly.

By the way, is there any other change in the 0.3 version besides the inclusion of the libraries?
godel10 is offline   Reply With Quote
Old 01-18-2009, 12:50 PM   #29
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by godel10 View Post
First of all, my gratitute to the author of this great software
You're welcome.

Quote:
Originally Posted by godel10 View Post
By the way, is there any other change in the 0.3 version besides the inclusion of the libraries?
Nothing much: minor bugfixes (thumbnails where not copied correctly), some more file extensions are recognized, beginnings of man pages, a first trivial version of "irext paste".
thomega is offline   Reply With Quote
Old 01-19-2009, 01:37 AM   #30
curbarthedog
Enthusiast
curbarthedog began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Aug 2008
Device: Iliad
is there any chance any of you kind people could give an "idiots guide" to installing this? I have looked at the "install" instructions and to be honest, they make little sense to me.

For the linux beginners / idiots / newbies / .... (delete as appropriate) it would be very useful
curbarthedog is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Portable Linux version of Sigil readx Sigil 9 09-03-2010 02:59 AM
Portable version? Toxaris Sigil 3 05-21-2010 09:58 AM
Iliad Java Scribble Merger curbarthedog iRex 0 03-16-2009 03:16 PM
New PDF scribble merger from iRex Adam B. iRex 1 11-28-2007 01:21 PM
Scribble merger kills bookmarks Scifier iRex 5 04-04-2007 04:59 PM


All times are GMT -4. The time now is 11:23 AM.


MobileRead.com is a privately owned, operated and funded community.