LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2011, 08:04 AM   #1
will_kranz
Member
 
Registered: Nov 2004
Location: NH/CT
Distribution: Slackware 10 to 14
Posts: 52

Rep: Reputation: 0
Question Problems building tumble-0.33 pdf creator with netpbm instead of original pbm library


I would like to scan some documents and create a *.pdf file from the resulting *.tif output image files. I believe I used Eric Smith's Tumble-0.33 for this a few years ago, but can't remember how I built it. The Makefile assumes the pbm library. I believe the current version (at least with my Slackware linux 2.6) is netpbm, ie \usr\lib\netpbm\, and I'm having trouble figuring out how to modify the Makefile to use this library. The author does some stuff there that is beyond my scope.

Anyone done the recently who can point me in the right direction?

Thanks, Will
 
Old 01-02-2011, 08:33 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Looking at the Makefile you need 2 things:
1. Edit Makefile and change:
Quote:
LDLIBS = -ltiff -ljpeg -lpbm -lz -lm
to:
Code:
LDLIBS = -ltiff -ljpeg -lnetpbm -lz -lm
2. Edt tumble_pbm.c and change:
Quote:
#include <pbm.h>
to:
Code:
#include <netpbm/pbm.h>
Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libtool: problems building a shared library dax2112rush Programming 0 02-21-2010 03:39 PM
LXer: Acrobatic Tumble: Serious Flaws in Adobe Reader 8.1.2 LXer Syndicated Linux News 0 11-11-2008 08:20 AM
Who would be interested by a pdf editor/creator softwarelike adobe acrobat for linux? frenchn00b Linux - General 9 08-19-2008 09:39 AM
need a archive creator and management library linuxsavar Programming 6 06-24-2008 03:32 AM
best pdf creator/editor? ksbf Linux - Software 4 01-14-2006 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration