View Single Post
Old 11-08-2009, 10:43 AM   #1
chip
Member
chip began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2009
Device: kindle
mobi2mobi install problems on mac

Hi I also posted over in Kindle Troubleshooting. I hope this is okay, but my problem is with mobi2mobi installation. I'm on a mac running 10.6.1 and I've had trouble with installation of a couple of components. First, two things I notice and what I did about them:

1. In the jpeg lib install, the instructions say:
Now to make the library itself.
export MACOSX_DEPLOYMENT_TARGET=10.5
(use 10.4 if you have Tiger.)

So, I did:
export MACOSX_DEPLOYMENT_TARGET=10.6
I have since redone it with ..._TARGET=10.5, but nothing has changed.

2. The other thing I noticed and failed to remember last night was that /usr/share/libtool/ no longer contains config.sub. Rather, there it is in /usr/share/libtool/config/ ...I used the latter, rather than moving config.sub into the higher directory. I wonder if that causes a pointer problem?

The error message that I get when I try to run ./mobi2mobi bookname.azw (which I do inside of the ~/eBook/tools/ directory that I made according to the instructions as the links somehow did not take in the sequential ln -s commands. I put bookname.azw into ~/eBook/tools/) is:

[chipg5s-Computer-2...\ tools]$ ./mobi2mobi Parallel\ Worlds\ A\ Journey\ Throug-asin_B000GCFCL4-type_EBOK-v_0.azw
Can't locate GD.pm in @INC (@INC contains: /Users/chipg5/eBooks/tools /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at /Users/chipg5/eBooks/tools/MobiPerl/Util.pm line 23.
BEGIN failed--compilation aborted at /Users/chipg5/eBooks/tools/MobiPerl/Util.pm line 23.
Compilation failed in require at ./mobi2mobi line 54.
BEGIN failed--compilation aborted at ./mobi2mobi line 54.

And, indeed when I go back and look at the transcript from the first install attempt (I did it a second time and I have that transcript below) is:

cpan[3]> install GD
Running install for module 'GD'
Running make for L/LD/LDS/GD-2.44.tar.gz
Fetching with LWP:
ftp://cpan-du.viaverio.com/pub/CPAN/...GD-2.44.tar.gz
Fetching with LWP:
ftp://cpan-du.viaverio.com/pub/CPAN/.../LDS/CHECKSUMS
Checksum for /Users/chipg5/.cpan/sources/authors/id/L/LD/LDS/GD-2.44.tar.gz ok
Will not use Archive::Tar, need 1.00
GD-2.44/
GD-2.44/t/
GD-2.44/t/test.out.3.jpeg
GD-2.44/t/GD.t
GD-2.44/t/tile.jpeg
GD-2.44/t/test.out.4.jpeg
GD-2.44/t/test.out.5.jpeg
GD-2.44/t/test.out.6.jpeg
GD-2.44/t/test.out.7.jpeg
GD-2.44/t/test.out.8.jpeg
GD-2.44/t/test.out.9.jpeg
GD-2.44/t/test.out.3.png-1
GD-2.44/t/Polyline.t
GD-2.44/t/test.out.4.png-1
GD-2.44/t/test.out.4.png-2
GD-2.44/t/test.out.10.png-1
GD-2.44/t/test.out.10.png-2
GD-2.44/t/test.out.10.png-3
GD-2.44/t/test.out.1.png
GD-2.44/t/test.out.2.gif
GD-2.44/t/test.out.2.png
GD-2.44/t/test.out.3.gif
GD-2.44/t/test.out.3.png
GD-2.44/t/test.out.4.gif
GD-2.44/t/test.out.4.png
GD-2.44/t/test.out.5.gif
GD-2.44/t/test.out.5.png
GD-2.44/t/test.out.6.gif
GD-2.44/t/test.out.6.png
GD-2.44/t/test.out.7.gif
GD-2.44/t/test.out.7.png
GD-2.44/t/test.out.8.gif
GD-2.44/t/test.out.8.png
GD-2.44/t/test.out.9.gif
GD-2.44/t/test.out.9.png
GD-2.44/t/test.out.5.png-1
GD-2.44/t/Generic.ttf
GD-2.44/t/test.out.6.png-1
GD-2.44/t/test.out.7.png-1
GD-2.44/t/frog.jpg
GD-2.44/t/frog.xpm
GD-2.44/t/test.out.10.jpeg
GD-2.44/t/test.out.8.png-1
GD-2.44/t/test.out.8.png-2
GD-2.44/t/test.out.8.png-3
GD-2.44/t/test.out.8.png-4
GD-2.44/t/test.out.8.png-5
GD-2.44/t/test.out.8.png-6
GD-2.44/t/tile.gif
GD-2.44/t/tile.png
GD-2.44/t/test.out.2.png-1
GD-2.44/t/test.out.9.png-1
GD-2.44/t/test.out.9.png-2
GD-2.44/t/palettemap.png
GD-2.44/t/test.out.10.gif
GD-2.44/t/test.out.10.png
GD-2.44/t/test.out.2.jpeg
GD-2.44/GD/
GD-2.44/GD/Group.pm
GD-2.44/GD/Polygon.pm
GD-2.44/GD/Simple.pm
GD-2.44/GD/Image.pm.PLS
GD-2.44/GD/Polyline.pm
GD-2.44/GD.pm
GD-2.44/GD.xs
GD-2.44/demos/
GD-2.44/demos/brushes.pl
GD-2.44/demos/font_list.png
GD-2.44/demos/fonttest
GD-2.44/demos/polys.pl
GD-2.44/demos/fills.pl
GD-2.44/demos/truetype_test
GD-2.44/demos/shapes.pl
GD-2.44/demos/copies.pl
GD-2.44/demos/ttf.pl
GD-2.44/demos/gd_example.cgi
GD-2.44/demos/tile.png
GD-2.44/demos/polyline.pl
GD-2.44/demos/transform.pl
GD-2.44/qd.pl
GD-2.44/README
GD-2.44/Makefile.PL
GD-2.44/README.QUICKDRAW
GD-2.44/META.yml
GD-2.44/typemap
GD-2.44/bdf_scripts/
GD-2.44/bdf_scripts/README
GD-2.44/bdf_scripts/bdf2gdfont.PLS
GD-2.44/bdf_scripts/bdftogd
GD-2.44/bdf_scripts/bdf2gdfont.pl
GD-2.44/README.unix
GD-2.44/ChangeLog
GD-2.44/MANIFEST

CPAN.pm: Going to build L/LD/LDS/GD-2.44.tar.gz

Notice: Type perl Makefile.PL -h for command-line option summary.

**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
Warning: No success on command[/usr/bin/perl Makefile.PL]
LDS/GD-2.44.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
LDS/GD-2.44.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 512


Obvously, that's an issue. I redid the ..._TARGET=10.5 and went back to the GD install and got:

[chipg5s-Computer-2...\ gd-2.0.35]$ sudo perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.9402)
Enter 'h' for help.
cpan[2]> install Palm::PDB
Palm::PDB is up to date (1.011).

cpan[3]> install XML::Parser::Lite::Tree
XML::Parser::Lite::Tree is up to date (0.12).

cpan[4]> install GD
Running install for module 'GD'
Running make for L/LD/LDS/GD-2.44.tar.gz
Has already been unwrapped into directory /Users/chipg5/.cpan/build/GD-2.44-ea1oc2
'/usr/bin/perl Makefile.PL' returned status 512, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install


again, obviously a problem.

Any ideas?

thanks.
chip is offline   Reply With Quote