yuhongfang / papercrop

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

Ubuntu Installer fails to install (Ubuntu 10.04) #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download installer and copy it to ~/bin/papercrop
2. run sh ./ubuntu_installer2.sh

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

Installed application, got this error instead: http://pastie.org/2335140

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

According to svn info: Revision 85
OS: Ubuntu 10.04

Original issue reported on code.google.com by santiago...@gmail.com on 7 Aug 2011 at 5:06

GoogleCodeExporter commented 8 years ago
It seems that you don't have cmake installed. ubuntu_installer2.sh contains the 
following line. Could you check which package causes problem?

sudo apt-get install libdevil-dev libfontconfig-dev libfltk1.1-dev libdevil-dev 
libfreeimage-dev liblua5.1-dev libpng12-dev libboost1.42-dev lua5.1 cmake g++ 
libxml2-dev libogre-dev libgsl0-dev libluabind-dev

You can check if your distribution have the package by tab-completing the above 
line in the terminal. If there is no such package, try to use the package with 
the most similiar name, and let me know the results.
Thank you.

Original comment by taesoob...@gmail.com on 8 Aug 2011 at 2:00

GoogleCodeExporter commented 8 years ago
Thanks for the response. Looks like the package libboost1.42-dev wasn't found. 
The lastest version in the ubuntu repository is the 1.40 (package name: 
libboost1.40-dev).

I installed this package and reinstall but got the same error.

http://pastie.org/2337299

Original comment by santiago...@gmail.com on 8 Aug 2011 at 3:05

GoogleCodeExporter commented 8 years ago
It seems that cmake is missing too. Can you run cmake in the command line?

Original comment by taesoob...@gmail.com on 8 Aug 2011 at 3:43

GoogleCodeExporter commented 8 years ago
Installed cmake, got further 
http://pastie.org/2337509

i think i can go on from here installing missing dependecies, but if it is 
helpful for you i can keep you updated.

Original comment by santiago...@gmail.com on 8 Aug 2011 at 4:10

GoogleCodeExporter commented 8 years ago
Yes, it would be helpful if you do so. I need to understand why cmake, fltk, 
etc were missing there. 

Original comment by taesoob...@gmail.com on 8 Aug 2011 at 3:13

GoogleCodeExporter commented 8 years ago
Hi! I had the exactly same problem while trying to install on ubuntu 10.04. So 
i changed the sudo apt-get line in the .sh file by replacing libboost1.42-dev 
with libboost1.40-dev and it installed perfectly.

Original comment by raghu.mi...@gmail.com on 1 Oct 2011 at 3:41

GoogleCodeExporter commented 8 years ago

Original comment by taesoob...@gmail.com on 30 Dec 2011 at 6:15

GoogleCodeExporter commented 8 years ago

Original comment by taesoob...@gmail.com on 30 Dec 2011 at 6:15

GoogleCodeExporter commented 8 years ago
Hi, I had the same problem here. Returns that:
-- Configuring incomplete, errors occurred!
make: *** Sem regra para processar o alvo `clean'.  Pare.
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado.  Pare.
cp: impossível obter estado de "paperCrop": Arquivo ou diretório não 
encontrado
./paperCropLauncher: 2: ./paperCrop: not found

I'm using the ubuntu_installer3.sh.

Original comment by fsco...@gmail.com on 26 Nov 2012 at 5:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have a similar problem (using the newest version of ubuntu_installer3.sh), 
Linux Mint 12:

[ 11%] Building CXX object CMakeFiles/paperCrop.dir/ImageSegmentation.cpp.o
[ 13%] Building CXX object CMakeFiles/paperCrop.dir/PaperCrop.cpp.o
[ 16%] Building CXX object CMakeFiles/paperCrop.dir/PDFwin.cpp.o
/home/adam/bin/papercrop/paperCrop_source/PDFwin.cpp: In member function 
‘bool PDFmodel::load(const char*)’:
/home/adam/bin/papercrop/paperCrop_source/PDFwin.cpp:126:42: error: no matching 
function for call to ‘SplashOutputDev::startDoc(XRef*)’
/home/adam/bin/papercrop/paperCrop_source/PDFwin.cpp:126:42: note: candidate is:
In file included from /home/adam/bin/papercrop/paperCrop_source/PDFwin.cpp:39:0:
/usr/include/poppler/SplashOutputDev.h:309:8: note: void 
SplashOutputDev::startDoc(PDFDoc*)
/usr/include/poppler/SplashOutputDev.h:309:8: note:   no known conversion for 
argument 1 from ‘XRef*’ to ‘PDFDoc*’
make[2]: *** [CMakeFiles/paperCrop.dir/PDFwin.cpp.o] Error 1
make[1]: *** [CMakeFiles/paperCrop.dir/all] Error 2
make: *** [all] Error 2
cp: cannot stat `paperCrop': No such file or directory
./paperCropLauncher: 2: ./paperCropLauncher: ./paperCrop: not found

Original comment by adam...@gmail.com on 20 Mar 2013 at 11:34