HaveF / papercrop

Automatically exported from code.google.com/p/papercrop
GNU General Public License v2.0
0 stars 0 forks source link

Compiling on Fedora #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout http://papercrop.googlecode.com/svn/trunk/ paperCrop_source
2. cd paperCrop_source
3. yum install DevIL-devel fontconfig-devel fltk-devel freeimage-devel 
lua-devel libpng-devel boost-devel cmake libxml2-devel ogre-devel gsl-devel 
lcms-devel libjpeg-turbo-devel gcc gcc-c++
4. cd libharu-2.0.8
5. chmod 700 ./configure
6. ./configure
7. make
8. cd ..
9. cd build_linux
10. cmake ..
11. make

What is the expected output? What do you see instead?

Fails at dynamic linking. Is there a way to do static linking?

I've got lua-devel-5.1.4-8.fc15.x86_64  installed.

Here's the output of the last make.

[ 98%] Building CXX object CMakeFiles/paperCrop.dir/utility/FltkAddon.cpp.o
/home/pablo/Documentos/devel/paperCrop_source/utility/FltkAddon.cpp: En la 
función miembro ‘void FlMenu::item(int, const char*, int, int, int, uchar, 
uchar, uchar, unsigned int)’:
/home/pablo/Documentos/devel/paperCrop_source/utility/FltkAddon.cpp:184:38: 
aviso: conversión a puntero desde un entero de tamaño diferente 
[-Wint-to-pointer-cast]
[ 99%] Building CXX object CMakeFiles/paperCrop.dir/utility/operatorString.cpp.o
[100%] Building CXX object CMakeFiles/paperCrop.dir/utility/TypeString.cpp.o
[100%] Building CXX object CMakeFiles/paperCrop.dir/utility/TextFile.cpp.o
Linking CXX executable paperCrop
/usr/bin/ld: cannot find -llua5.1
collect2: ld devolvió el estado de salida 1
make[2]: *** [paperCrop] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2

What version of the product are you using? On what operating system?

Latest SVN on Fedora 15, x86_64

Please provide any additional information below.

Original issue reported on code.google.com by pmontepa...@gmail.com on 20 Jun 2011 at 12:16

GoogleCodeExporter commented 9 years ago
Could you try again using the latest SVN?
Thanks,

Taesoo.

Original comment by taesoob...@gmail.com on 20 Jun 2011 at 7:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Mm, I did a make clean and now to run cmake I had to install DevIL-ILUT-devel 
and fltk-fluid  (I hadn't installed those before), but make now complains about 
luabind:

[100%] Building CXX object CMakeFiles/paperCrop.dir/utility/TextFile.cpp.o
Linking CXX executable paperCrop
/usr/bin/ld: cannot find -lluabind
collect2: ld devolvió el estado de salida 1
make[2]: *** [paperCrop] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2

Original comment by pmontepa...@gmail.com on 20 Jun 2011 at 8:04

GoogleCodeExporter commented 9 years ago
OK, now I installed luabind-devel and got a different error:

Linking CXX executable paperCrop
/usr/bin/ld: poppler/libpoppler.a(PNGWriter.cc.o): undefined reference to 
symbol 'png_init_io@@PNG12_0'
/usr/bin/ld: note: 'png_init_io@@PNG12_0' is defined in DSO 
/usr/lib64/libpng12.so.0 so try adding it to the linker command line
/usr/lib64/libpng12.so.0: could not read symbols: Invalid operation
collect2: ld devolvió el estado de salida 1
make[2]: *** [paperCrop] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2

Original comment by pmontepa...@gmail.com on 20 Jun 2011 at 8:13

GoogleCodeExporter commented 9 years ago
(I have libpng-1.2.44-3)

Original comment by pmontepa...@gmail.com on 20 Jun 2011 at 8:14

GoogleCodeExporter commented 9 years ago

Original comment by taesoob...@gmail.com on 4 Aug 2011 at 3:22