View Single Post
Old 07-28-2008, 04:05 PM   #75
hansl
Zealot
hansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single bookhansl has the entire Project Gutenberg collection on their reader and has corrected every single error in every single book
 
Posts: 112
Karma: 113786
Join Date: Jul 2008
Location: Germany
Device: Sony PRS-T3S, CoolReader on 4'' Android phone
How to use pi with a Linux live-CD (Puppy-Linux 4.00)

Quote:
Originally Posted by nrapallo View Post
Can you give us a short description of what you needed to get it to compile and your experiences with your Live CD? i.e., which libraries were added (and from where), where did you store the compiled executable, how do you (re-)use the program with your Live CD setup, can you produce a 'windows binaries'from that setup, etc...
Hi Nick and thanks for asking. I downloaded and installed the following:

- Puppy Linux 4.00 "Dingo" ISO CD-ROM image from puppylinux.org (burn the CD and follow installation instructions from puppylinux.org)

- devx_400.sfs from ibiblio.org - contains development environment for compiling and installation of additional source packages (no install, just save the file in the same directory as the next one below)

- pup_save.2fs created on C: drive by Puppy for additional persistent packages, virtual RAM and faster bootup (you may choose the size, I recommend the maximum which is around 1.3 GB)

- pup_400.sfs and zdrv_400.sfs copied to C: drive by Puppy for faster bootup

- tiff-3.8.2 from www.remotesensing.org (source installation)
- libpng-1.2.29 from www.libpng.org (source installation)
- zlib-1.2.3 from www.zlib.net (source installation)
all source installations went flawless using ./configure, make, make install

- xpdf-3.0.2 from ibiblio.org (binary installation with puppy package manager)

- imagemagick 6.0.6.2-2.7 from dotpups.de
(binary installation, newer version available but I got "convert" only running with this version)

- Python Image Library 1.1.6 from www.pythonware.com (built with python commands)

and finally
- pi_0.5 where I had to make a change in img_dir_to_pdf.sh:
The call to tiff2pdf with arguments -z -o ... always produced a barely readable white characters on black background pdf.
tiff2pdf -n -z -o ... solves the problem and produces black chars on white bg.

So that's it and no, I didn't even try to produce a Windows binary. I preferred to let success shine on me . Also, I had no trouble with Puppy Linux besides finding the right Imagemagick version.

BTW document exchange between Puppy and Windows is easy, you can mount the Windows filesystem in Puppy. And don't worry, the desktop environment is very newbie friendly. So, most installations and mounts are point and click.

Now I can admit that I have a Solaris past and feel happy to dive a little into the Unix feeling again.


hansl

Edit: I forgot to mention that like all 32 bit dinosaurs I had to delete pi.o in order to get pi compiled. All files I added to the live CD have been saved in pup_save.2fs on my hard disk, i.e. I didn't really change the CD but what it loads on bootup from my HD (I have to leave for backup now ...)

Last edited by hansl; 08-05-2008 at 07:30 AM.
hansl is offline   Reply With Quote