![]() |
I've tried tiff-3.8.2, from local source build, and i get the same error. The only reference I could find was compatible with tiff-3.5 so I thought i would give it a try. On Jan 3, 2008 1:05 PM, Aidan Van Dyk <aidan@xxxxxxxx> wrote: > * Jason Wachholz <jason.wachholz@xxxxxxxxx> [080103 13:50]: > > I am trying to do a build and am having problems building from source > > with the simple steps: > > gcc version 4.1.2 20070925 (Red Hat 4.1.2-33) > > This confuses me slightly. I dont have FC8, but I have RHEL5. RHEL5 ships > with GCC 4.1.1: > gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) > which seems to be older than your FC8 GCC. But it also ships with libtiff 3.8.2-7, > which is *years* newer than libtiff 3.5.1. 3.5.1 seems to be from back > in the days of FC1 and gang (pre RHEL3) > > > can anyone explain why this error is occurring? Am I missing a > > dependency that I should be checking for? I cant seem to find any > > clues on the source install dependency web page at hylafax.org > > documentation. > > > > ./configure > > make depend > > make > > make install > > > > MAKE ERROR: > > /usr/bin/g++ -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././faxd > > -I.././util -I/usr/local/include -g -fpic -O -c FaxPoll.c++ > > G3Decoder.h:49: error: ISO C++ forbids declaration of 'tiff_runlen_t' > > with no type > > G3Decoder.h:49: error: expected ';' before '*' token > > G3Decoder.h:50: error: ISO C++ forbids declaration of 'tiff_runlen_t' > > This looks like tiff_runlen_t isn't defined. > > The HylaFAX configure script should be checking for it, and setting it > correctly in port.h. > > Part of your configure output should be something like this: > > ... checking TIFF library version > Found tiffio.h version 20060323 > Found libtiff version 3.8 > ... add declaration for tiff_runlen_t > > I don't have an FC8 to test with, but above is from RHEL5. But > configure should know about libtiff 3.5, and set tiff_runnlen_t in > port.h. Does your port.h not have tiff_runlen_t set in it? In fact, if > it doesn't, I'm impressed, because the configure should exit in that > case: > > if [ "${tiff_runlen_t}" != "" ]; then > export tiff_runlen_t > return 0 > else > cat 1>&2 <<EOF > > Incompatible TIFF Library. > > HylaFAX ${VERSION} requires TIFF software distribution versions 3.4 through > 3.9. If you do not have up to date TIFF software on your system > then you can retrieve it from the location where you obtained this software. > The Home Page for version 3.5 and later is http://www.libtiff.org > EOF > boom > return 1 > fi > > > Can you look at your configure output, and maybe look in config.log and > see why tiff_runlen_t is not being set in port.h? > > a. > > -- > Aidan Van Dyk aidan@xxxxxxxx > Senior Software Developer +1 215 825-8700 x8103 > iFAX Solutions, Inc. http://www.ifax.com/ > -- Jason Wachholz Engineer EDI Enterprises Inc. 952-474-1589 ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*