![]() |
#1 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 So I guess I have two questions:
Last edited by jharker; 04-27-2007 at 01:15 PM. |
![]() |
![]() |
![]() |
#2 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |