View Single Post
Old 10-26-2008, 03:47 PM   #11
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by derrell View Post
As long as the script doesn't need any extra perl modules installed. That was why I started looking at doing most of the stuff in linux where I can install any modules that I may need. Then just use wine for the bare minimum of creating the imp file. The command line parts of calibre and the mobiperl tools as well as convert lit are quite happy to run under linux. eBook Publisher is the only real sticking point.
Well, I finally got mobi2imp.pl to properly create a .imp using wine in linux (ubuntu 8.04)!

I cheated though. I realized that the ppm is broken when using ActivePerl for Windows (build 820) and wine, but I have that setup working on my WinXP computer.

Sooooooo, I just copied the site/lib directory from my WinXP computer's Perl setup (as described by tompe on this mobiperl dev hub website) to the .winenew (I called it .wineimp) c:/Perl/site/lib and Presto, all works (sort of).

See attached site-lib.zip below for MY local perl modules to make Mobi2IMP work. Just place the contents in the site/lib in C:\Perl of your wine installation of the ActivePerl 5.8.8 (build 820).

While I did get a valid .imp, I did get some error messages that may or may not be important. I couldn't use the wine viewer for some strange reason, but I attach that .imp here for testing purposes. It displays fine on my WinXP computer.

Round two has been won!
Attached Files
File Type: zip site-lib.zip (2.31 MB, 800 views)
File Type: imp Mobipocket - Space Encyclopedia.imp (168.5 KB, 986 views)
File Type: zip SpaceEncyclopedia.zip (420.1 KB, 773 views)
File Type: mobi SpaceEncyclopedia.mobi (369.9 KB, 926 views)

Last edited by nrapallo; 10-31-2008 at 02:03 PM. Reason: replaced corrupt Space Encyclopedia.zip attachment
nrapallo is offline   Reply With Quote