Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2007, 12:13 PM   #1
jharker
Developer
jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.
 
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Trouble compiling ipdf with SDK 2.9 / poppler

Hi, there, all!

I'm a new iLiad owner and I thought I would play with the iLiad source a little bit and fix some things that were bugging me.

However, I've been having some trouble compiling using the iRex SDK Toolchain v2.9, because it's missing the poppler libraries. Compiling the poppler libraries separately doesn't seem to provide the header files that ipdf needs to compile properly.

Has anyone here worked with SDK v2.9? Is there some patch or other modification I need to make to the iRex-supplied poppler before it will play nice with ipdf?

EDIT:
To expand on the above a little bit, I should say that I was able to install SDK v2.8 properly, set my PATH correctly, and compile ipdf v2.8 just fine. In fact, ipdf v2.9 compiles as well. (I don't have shell access to my iLiad yet, so I haven't been able to test the binary.)

However, apparently when iRex moved from SDK 2.8 to SDK 2.9, they dropped the precompiled poppler libs from the toolchain, and instead they posted the poppler source code.

So in order to compile ipdf with SDK 2.9, you first have to compile poppler from the source they provide here. The poppler compile ran smoothly and successfully for me. However, "make install" only installed the poppler libraries and a very small set of poppler header files. When I try to compile ipdf, it insists on a wide variety of poppler/goo/etc. header files.

So, I added a ./configure flag to point to the poppler source directories, so that ipdf could find the header files it wanted. My procedure for compiling ipdf looked like this:
Code:
cd /opt/local/src/ipdf-0.29
autoreconf -i -f
./configure --host=arm-linux --build=i686 --prefix=/opt poppler_LIBS=-L/opt/lib poppler_CFLAGS='-I/opt/include -I/opt/local/src/poppler -I/opt/local/src/poppler/poppler -I/opt/local/src/poppler/goo' 
make
About halfway through the compile, the process stopped and threw out a bunch of "undefined reference to..." messages, leading me to believe that although it could find all of the header files, they were not quite compatible with the ipdf code.

So I guess I have two questions:
  1. Anyone have an idea what's going on?
  2. What version of poppler have you used to compile ipdf successfully?
Again, any advice is much appreciated!

Last edited by jharker; 04-27-2007 at 01:15 PM.
jharker is offline   Reply With Quote
Old 04-27-2007, 01:10 PM   #2
jharker
Developer
jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.
 
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Sorry for the duplicate posts-- when I first posted, the post didn't show up on the board for more than an hour, so I reposted. This also happened when I added to my original post. Then suddenly, four hours later, all my posts showed up at once. Weird.

Last edited by jharker; 04-28-2007 at 04:57 PM.
jharker is offline   Reply With Quote
Advert
Old 05-02-2007, 01:49 PM   #3
jharker
Developer
jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.
 
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
For all two of you who were interested , the answer is that the iRex-provided SDK 2.9 actually IS missing the poppler dev stuff. Matthijs is working on putting it back in. The full thread is over in the iRex forums.
jharker is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iLiad How to use poppler-glib functionality. harpum iRex Developer's Corner 0 06-24-2009 02:29 PM
iLiad Some stupid questions. Why porting recent poppler is hard? harpum iRex Developer's Corner 3 06-15-2009 05:08 AM
iLiad build a pdf viewer with original poppler ericshliao iRex Developer's Corner 4 12-21-2008 02:30 AM
iLiad Trouble compiling ipdf with SDK 2.9 / poppler jharker iRex Developer's Corner 0 04-27-2007 09:52 AM
iLiad Enhancing Poppler for iLiad scotty1024 iRex Developer's Corner 10 12-20-2006 12:02 PM


All times are GMT -4. The time now is 06:37 AM.


MobileRead.com is a privately owned, operated and funded community.