The method to get xpdf is not nearly that hard (the instructions you 
describe sounds like it was gotten from several sources that didn't talk 
to each other).

According to <http://pdb.finkproject.org/pdb/package.php/xpdf>, Fink 
already has xpdf available for Panther, Tiger and Leopard, so all that 
is needed is for you to install Fink (make sure you grabbed the correct 
installer for your version of OS X from the Fink download page) and then 
tell the Fink programs (either through the command line or with Fink 
Commander if you prefer a graphical interface) to install XPDF.

After you install Fink through its installer, it'll ask you about 
setting the Fink environment.  Follow those instructions (usu something 
about changes to the file .profile that it does automatically).  Once 
it's done, you can verify that this worked by opening 
/Applications/Utilities/Terminal.app and typing

which fink

If the output says /sw/bin/fink, then it's working as expected.

Now that Fink is set up and functional, you need to actually install 
xpdf.  You can either do it through Fink Commander or through Terminal.app.

In Fink Commander:
Binary Install > xpdf (the exact menu text may be different since I 
don't have Fink Commander, but that's the gist of it.  You want the 
binary option since it's quicker and simpler).

OR

In Terminal.app:
sudo apt-get install xpdf
(and then type in your administrator password if it asks)

Either command will accomplish the same thing (download and install xpdf 
as well as dependencies like freetype).  After the process finishes, you 
should have a working 'pdftotext' command that you run from Terminal.app 
(unfortunately there is no graphical front end for it).

Hanspeter

-- 
Hanspeter Niederstrasser
hanspeter AT snaggledworks DOT com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to