![]() |
#91 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
That sounds perfect!
|
![]() |
![]() |
![]() |
#92 | |
Kindlephilia
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,017
Karma: 1139255
Join Date: Nov 2007
Location: Snowpacolypse 2010
Device: Too many to count
|
Quote:
It worked great for me too on a file I'd used Igorsk's Kindle hack to add the Kindle PID. The only problem was that for 95% of the files I'd converted the title info was completely lost not to mention the author. Too bad I have a gazillion files to run through Mobi2Mobi. |
|
![]() |
![]() |
![]() |
#93 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
When I do something that I might have to repeat because there is a better version of a program available (like som bug fixed in mobi2mobi
![]() In Windows that seems to mean that you install nmake and then you create a file Makefile that can contain just: Code:
all: <TAB> mobi2mobi ... <TAB> mobi2mobi .... Jut wanted to mention this since I worry a bit that my programs contain some bug so people have to repeat the application of them. Also save the original file! |
![]() |
![]() |
![]() |
#94 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
What's the benefit of this over simply using a batch file?
|
![]() |
![]() |
![]() |
#95 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Ah, maybe none
![]() |
![]() |
![]() |
![]() |
#96 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
|
|
![]() |
![]() |
![]() |
#97 |
Zealot
![]() Posts: 108
Karma: 49
Join Date: Dec 2007
Location: Nederland
Device: iPad
|
Could anyone point me to an instruction to get this to work on a Mac? I have downloaded the tar file, the necessary perl modules for mobi2html (which is the program I would like to use), but on the cpan site I am told that I need to make sure that the line endings are suited for the Mac (in all files, which seems a lot of work), that I need to compile some modules, but some perhaps not.
I am a bit confused about what I have to do exactly. Any help would be much appreciated. |
![]() |
![]() |
![]() |
#98 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
On a Mac I would try to install modules with "perl -MCPAN -e shell" which will give you a shell and "help" or "?" works there. If you google on: installing perl modules using CPAN tutorial you will get some tutorials and explanations. Later today when I have some time I will try to list all "install" commands that should be enough on a Unix system running an ordinary Perl. |
|
![]() |
![]() |
![]() |
#99 |
Zealot
![]() Posts: 108
Karma: 49
Join Date: Dec 2007
Location: Nederland
Device: iPad
|
The point is, that I have to go through all the files to change the line endings and cpan is not clear about how I can determine if a module is compiled or not.
|
![]() |
![]() |
![]() |
#100 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I would test to just write "perl -MCPAN -e shell" and then do: Code:
install Palm::PDB install Palm::Doc install XML::Parser::Lite::Tree install GD install Image::BMP install Image::Size install HTML::TreeBuilder install Getopt::Mixed install Date::Parse install Date::Format I am writing a web page to document how to install on different platforms but I do not have a Mac available so I cannot test on that platform. |
|
![]() |
![]() |
![]() |
#101 |
Zealot
![]() Posts: 108
Karma: 49
Join Date: Dec 2007
Location: Nederland
Device: iPad
|
OK, I will try it it on the Mac and let you know how it works out.
|
![]() |
![]() |
![]() |
#102 |
Zealot
![]() Posts: 108
Karma: 49
Join Date: Dec 2007
Location: Nederland
Device: iPad
|
Installing Palm::PDB following you instruction gives:
"make had returned bad status, install seems impossible" Info about install: http://www.cpan.org/modules/INSTALL.html "C. BUILD Does the module require compilation? 1. If it does," No info on how to determine if it does :-( "D. INSTALL Make sure the newlines for the modules are in Mac format, not Unix format. Move the files manually into the correct folders." I don't know what "the correct folders" are :-( So, a lot of questions on my part. edit: I don't seem to have the make program on my machine. So I probably need to install that. Do people on Windows also have to go trough installing dependencies like this? Otherwise I had perhaps better fire up my Windows virtual machine and try there. Last edited by adelheid; 01-04-2008 at 12:15 PM. |
![]() |
![]() |
![]() |
#103 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
What version of the operating system are you using and what version of Perl are you using?
You need to install make and have a compiler. I am surprised you did not have them but I do not know anything about Macs so maybe you have to install some developers package? There are Windows binaries but it is better to use the non-binary version since then you can get updates faster. The release of the binary version depends on my willingness to boot my laptop to Windows... |
![]() |
![]() |
![]() |
#104 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I read this now and is a bit surprised that this is the status of Perl on a Mac. I will check around a bit. Maybe ActiveStates Perl version is a better alterative for Mac if they have pre-built binaries for modules as the Windows version had.
|
![]() |
![]() |
![]() |
#105 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,211
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@tompe: From my experience with libprs500, OSX is a royal pain in the ass. It's far and away the worst of the three to support. By default OS X has no compiler installed, your users would have to download Xcode. If you're serious about supporting OSX, I would recommend looking at some solution that allows you to distribute an embedded Perl interpreter.
|
![]() |
![]() |
![]() |
Tags |
mobi2mobi, mobils |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 05:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 02:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |