pdf2image icon indicating copy to clipboard operation
pdf2image copied to clipboard

Build failed on RHEL 5.7

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?
1. untar file
2. change goo/gfile.h to include /usr/include/sys/dir.h (as for issue #3)
3. make 

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

I was expecting to get the binary. Instead I got this:

cd goo; make
make[1]: Entering directory `/root/goo'
g++ -I/usr/local/include/freetype2 -I/usr/local/include -g -O2 -DHAVE_CONFIG_H 
-I.. -I. -c gfile.cc
gfile.cc: In member function ‘GDirEntry* GDir::getNextEntry()’:
gfile.cc:700: error: invalid use of undefined type ‘struct dirent’
gfile.cc:696: error: forward declaration of ‘struct dirent’
gfile.cc:704: error: invalid use of undefined type ‘struct dirent’
gfile.cc:696: error: forward declaration of ‘struct dirent’
make[1]: *** [gfile.o] Error 1
make[1]: Leaving directory `/root/goo'
make: *** [all] Error 2

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

0.49

Please provide any additional information below.

- Red Hat Enterprise Linux Server release 5.7
- gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)
- Point 2 was necessary because I was getting the same error as issue #3

Original issue reported on code.google.com by [email protected] on 26 Sep 2011 at 3:07

GoogleCodeExporter avatar Jun 19 '15 02:06 GoogleCodeExporter

There is a new ./configure scripts in the latest bundle, please run this script 
and see if it helps to resolve your issue

Original comment by [email protected] on 5 Jan 2012 at 8:53

GoogleCodeExporter avatar Jun 19 '15 02:06 GoogleCodeExporter