Installing pdfripimage on RedHat9 with GTK+1: Solutions and Alternatives

  • Thread starter Thread starter gnome
  • Start date Start date
AI Thread Summary
The user is attempting to install the pdfripimage package on a RedHat9 system but encounters compilation errors related to GTK functions, specifically an undefined reference to `GTK_COLOR_BUTTON`. The README for pdfripimage indicates the need for GNOME and GTK+2 libraries and headers, which the user suspects they lack, as they are using Gimp 1.2.3, likely indicating they have GTK+ instead of GTK+2. While considering a system upgrade, the user seeks immediate solutions to their issue. They discover that using Adobe's Acroread allows them to extract images from PDFs and save them in various formats via KPaint. Suggestions from others include checking for header packages in RedHat, using package managers like yum or apt4rpm, and alternative methods for image extraction such as pdf2html or taking screenshots.
gnome
Messages
1,031
Reaction score
1
I'm trying to install a package called pdfripimage in my RedHat9 system. When I try to compile it I get a series of errors saying:
undefined reference to `GTK_COLOR_BUTTON'
and similar messages relating to gtk functions.

The README says "make sure you have the GNOME and GTK+2 libraries and headers..."
I do have all the development tools installed, but I have Gimp 1.2.3. I think this means I have GTK+ and not GTK+2. Is that correct?
I know at some point I have to migrate to a newer system, but right now I'd like to avoid any major changes unless absolutely necessary. I already have too much to do in the next few days. What's the best way to attack this?

Or... do you know of another way to extract images (photos, diagrams, and graphs) from a .pdf file to paste them into an OpenOffice presentation?
 
Computer science news on Phys.org
Hmmm...

I seem to have solved the immediate problem. xpdf has no copy-to-clipboard capability, but I found I can open the .pdf with the linux version of Adobe's Acroread, copy the images I need into KPaint, and in KPaint I can save them as an image file in .png, .jpeg, .bmp & various other formats.
 
I see you have solved the problem.. but i can't resist to post something to this topic ;-)

gnome said:
The README says "make sure you have the GNOME and GTK+2 libraries and headers..."
I do have all the development tools installed, but I have Gimp 1.2.3. I think this means I have GTK+ and not GTK+2. Is that correct?

Yes.. Does RH has header-packages?
If yes, you should try them ;-)

Can't you install it via yum or apt4rpm?
I know that apt4rpm works great...

gnome said:
Or... do you know of another way to extract images (photos, diagrams, and graphs) from a .pdf file to paste them into an OpenOffice presentation?
Maybe pdf2html or something like that with an special option...

or a Screenshot ;-)


Greets
soeren
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top