Comments (23)
This seems to be related. It is said that redhat comes with an outdated
fontconfig library. It's difficult to believe that OS-supplied libraries have
version conflict though.
http://stackoverflow.com/questions/2480410/how-can-i-update-fontconfig-to-a-newe
r-version-in-red-hat-5-3
They suggest this, but I am not sure if this is safe operation or not.
{{{
cd /usr/src
wget http://fontconfig.org/release/fontconfig-2.4.2.tar.gz
tar -zxf fontconfig-2.4.2.tar.gz
cd fontconfig-2.4.2
./configure -prefix=/usr
make
make install <- Run as root or use sudo
}}}
Original comment by [email protected]
on 21 Jun 2011 at 1:09
from papercrop.
[deleted comment]
from papercrop.
I would first make sure if developer version of fontconfig is installed
properly before try the above suggesion.
Original comment by [email protected]
on 21 Jun 2011 at 1:11
from papercrop.
Could you also try to include all FLTK libs to the project?
: like below
if(UNIX)
target_link_libraries(paperCrop
fltk_images
fltk_forms
fltk_gl
GL
fltk
Original comment by [email protected]
on 21 Jun 2011 at 1:19
from papercrop.
fontconfig is the latest version (2.8.0-1) and installed with no conflicts with
yum...
[alec@localhost ~]$ rpm -aq|grep fontconfig
mingw32-fontconfig-2.6.0-10.fc12.noarch
fontconfig-2.8.0-1.fc13.i686
fontconfig-devel-2.8.0-1.fc13.x86_64
fontconfig-2.8.0-1.fc13.x86_64
Original comment by [email protected]
on 21 Jun 2011 at 1:27
from papercrop.
Added
fltk_forms
fltk_gl
GL
same result...
Original comment by [email protected]
on 21 Jun 2011 at 1:58
from papercrop.
Could you try again using the lastest svn? (after "svn revert .;svn up")
Original comment by [email protected]
on 22 Jun 2011 at 12:08
from papercrop.
Same:
[100%] Building CXX object CMakeFiles/paperCrop.dir/utility/TextFile.cpp.o
Linking CXX executable paperCrop
/usr/bin/ld:
/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../../../lib64/libfltk.so: undefined
reference to symbol 'FcPatternAddInteger'
/usr/bin/ld: note: 'FcPatternAddInteger' is defined in DSO
/usr/lib64/libfontconfig.so.1 so try adding it to the linker command line
/usr/lib64/libfontconfig.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [paperCrop] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2
Original comment by [email protected]
on 22 Jun 2011 at 4:38
from papercrop.
I am sorry but could you try again using the lastest svn? (after "svn revert
.;svn up") If this doesn't work, please try rearranging library orders, and if
that doesn't work, I think you may have to build fltk from source codes. I
could try installing fedora here but it may take some time because I am rather
too busy these days.
Original comment by [email protected]
on 22 Jun 2011 at 1:25
from papercrop.
Will try a couple of hours later today and write here...
Original comment by [email protected]
on 22 Jun 2011 at 1:37
from papercrop.
Same stuff, plz see with configure output.
INCDIR=/usr/local/include
LIBDIR=/usr/local/lib
CC=gcc
PREFIX=/usr/local
possibly should autodetect on Fedora X86_64
INCDIR=/usr/include
LIBDIR=/usr/lib64
CC=gcc
PREFIX=/usr
?
Original comment by [email protected]
on 22 Jun 2011 at 5:07
Attachments:
from papercrop.
Could you please try again using the latest svn? I changed papercrop to use
system installed poppler lib.
Original comment by [email protected]
on 23 Jun 2011 at 5:15
from papercrop.
Now the error message changes:
[100%] Building CXX object CMakeFiles/paperCrop.dir/utility/TextFile.cpp.o
Linking CXX executable paperCrop
/usr/bin/ld: CMakeFiles/paperCrop.dir/image/ImageProcessor.cpp.o: undefined
reference to symbol 'ilOverlayImage'
/usr/bin/ld: note: 'ilOverlayImage' is defined in DSO /usr/lib64/libIL.so.1 so
try adding it to the linker command line
/usr/lib64/libIL.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [paperCrop] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2
Original comment by [email protected]
on 23 Jun 2011 at 5:27
Attachments:
from papercrop.
Could you please try again using the latest svn?
Original comment by [email protected]
on 23 Jun 2011 at 12:05
from papercrop.
Same:
[100%] Building CXX object CMakeFiles/paperCrop.dir/utility/TextFile.cpp.o
Linking CXX executable paperCrop
/usr/bin/ld: CMakeFiles/paperCrop.dir/image/ImageProcessor.cpp.o: undefined
reference to symbol 'ilOverlayImage'
/usr/bin/ld: note: 'ilOverlayImage' is defined in DSO /usr/lib64/libIL.so.1 so
try adding it to the linker command line
/usr/lib64/libIL.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [paperCrop] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2
Original comment by [email protected]
on 23 Jun 2011 at 12:41
Attachments:
from papercrop.
Sorry, could you try again please?
Original comment by [email protected]
on 23 Jun 2011 at 1:12
from papercrop.
Great! It compiles.
However, the gui is missing UTF8 support, please see the attached file.
Will be exploring for more issues.
Original comment by [email protected]
on 23 Jun 2011 at 1:25
Attachments:
from papercrop.
Great! UTF8 problem is a known issue for fltk1.1 branch. Fltk started to
support utf8 starting from fltk1.3, and I will make transition to fltk1.3 as
soon as it is supported by ubuntu. See if those files can be accessed through
the command line or the referencer plugin.
(command line: cd ~/bin/papercrop/papercrop_source;./paperCrop
"filename='/home/taesoobear/Documents/가.pdf'")
On the other hand, UTF-8 PDFs are supported if it has english file name (though
often requires embedded fonts). If it works reasonably well, than please upload
the install script here so that I can upload. Thanks!
Original comment by [email protected]
on 23 Jun 2011 at 1:46
from papercrop.
Just implemented a quick work-around which uses python native file chooser.
Original comment by [email protected]
on 23 Jun 2011 at 2:07
from papercrop.
Yes, it is operational. I will send more feedback when I spend more time with
it.
Attaching fedora installer.
Original comment by [email protected]
on 23 Jun 2011 at 2:22
Attachments:
from papercrop.
The fedora installer's missing poppler-dev. What's the package name there?
Original comment by [email protected]
on 23 Jun 2011 at 3:23
from papercrop.
poppler-devel
However:
[alec@localhost ~]$ rpm -aq|grep poppler
poppler-utils-0.12.4-6.fc13.x86_64
poppler-data-0.4.2-1.fc13.noarch
poppler-glib-0.12.4-6.fc13.x86_64
poppler-qt4-0.12.4-6.fc13.x86_64
poppler-0.12.4-6.fc13.x86_64
poppler-devel-0.12.4-6.fc13.x86_64
Original comment by [email protected]
on 23 Jun 2011 at 3:49
from papercrop.
Original comment by [email protected]
on 4 Aug 2011 at 3:22
- Changed state: Fixed
from papercrop.
Related Issues (20)
- Produces bad PDFs? HOT 2
- Patch: make the install deps script more reliable, and actually perform the operation HOT 1
- words per line in reflow mode
- Opensuse rpm would be great :-) HOT 1
- Processing a book scanned with two book pages appearing on each pdf page
- Sudden exit of program upon selection of device HOT 2
- Vector pdf output for two column files not working HOT 1
- Font is too big when displayed on Kindle 4
- Can't turn pages on 64-bit machine HOT 1
- Cannot execute build.bat successfully under windows HOT 1
- Segmentation of figures
- Ubuntu installer fails to install on version 12.10 HOT 6
- Always crash when select Kindle 3 in Vector PDF HOT 2
- coordinates screwed up
- Wont create vector PDF in XP 32 bit or Win7 64 bit
- Could not compile on Debian-7.0 using HOT 1
- Wrong output format
- Saves only by portions of 100 pages pdfs, need unlimited pages HOT 1
- i dont know how to run/install papercrop
- ake
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papercrop.