hudson2010 / pdf2json

Automatically exported from code.google.com/p/pdf2json
0 stars 0 forks source link

Installation errors #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Type make
2. make install

What is the expected output? What do you see instead?
It should install the program. But I see the error instead

mkdir -p /usr/local/bin
/usr/bin/install -c xpdf/pdftops /usr/local/bin/pdftops
/usr/bin/install -c xpdf/pdftotext /usr/local/bin/pdftotext
/usr/bin/install -c xpdf/pdfinfo /usr/local/bin/pdfinfo
/usr/bin/install -c xpdf/pdffonts /usr/local/bin/pdffonts
/usr/bin/install -c xpdf/pdfimages /usr/local/bin/pdfimages
/usr/bin/install -c src/pdf2image /usr/local/bin/pdf2image
install: src/pdf2image: No such file or directory
make: *** [install] Error 71

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

Please provide any additional information below.
I have a bunch of warnings while making the file "warning: deprecated 
conversion from string constant to ‘char*’"

Trying to install on mac lion os.

Original issue reported on code.google.com by roy.wong...@gmail.com on 3 Jan 2012 at 5:26

GoogleCodeExporter commented 8 years ago
I assume you ran the ./configure script first ? I have not tested this on Mac OS

Original comment by erik.eng...@devaldi.com on 3 Jan 2012 at 8:07

GoogleCodeExporter commented 8 years ago
Sorry, I can see the issue now. Will fix ASAP.

Original comment by erik.eng...@devaldi.com on 3 Jan 2012 at 8:08

GoogleCodeExporter commented 8 years ago
update: just tried on centos 5.6 final. same problem. by the way, i had to 
manually change the include folders in order to remove file location errors. 
i'm actually having the same problem with pdf2image too.

Original comment by roy.wong...@gmail.com on 3 Jan 2012 at 8:24

GoogleCodeExporter commented 8 years ago
which include folders did you have to change to get pdf2json to work in centos?

Original comment by pdf2im...@devaldi.com on 9 Jan 2012 at 1:12

GoogleCodeExporter commented 8 years ago
Previously, Example for the Makefile in splash folder, from

CXXFLAGS = -I/usr/local/include/freetype2 -I/usr/local/include -DHAVE_CONFIG_H 
-I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)  

to

CXXFLAGS = -I/opt/local/include/freetype2 -I/opt/local  -DHAVE_CONFIG_H -I.. 
-I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir) 

thats for my mac machine anyway.

I just tried 0.51 with ./configure it works on my centos. will be trying on mac 
later.

Original comment by roy.wong...@gmail.com on 9 Jan 2012 at 4:02

GoogleCodeExporter commented 8 years ago
I can not get this to work. I have unzipped the tar file and there is no 
configure or make.. 
can someone please give me a little help?

Original comment by kje...@gmail.com on 1 Apr 2012 at 10:10

GoogleCodeExporter commented 8 years ago
Nevermind i found the config stuff but now i get the following errors:

checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/root/pdf2json':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Original comment by kje...@gmail.com on 1 Apr 2012 at 10:20

GoogleCodeExporter commented 8 years ago
you need to install c++ compiler

if you're running ubuntu:

sudo apt-get install build-essential

then run ./configure again

you'll need to check for the specific command depending on which operating 
system you're running.

Original comment by daveturn...@gmail.com on 16 Nov 2012 at 1:07

GoogleCodeExporter commented 8 years ago
Not an issue - was related to c++ compiler

Original comment by pdf2j...@devaldi.com on 17 Feb 2013 at 9:47