Zhao, David wrote:
Hi all,
I tried to install base 1.2.17b, configure ran OK (needed to installed several
libraries). However, make failed: with error message:tifftopnm.c: In Function
'parseCommandLine':
Tifftopnm.c:98: error: 'FALSE' undeclared (first use in this function)
Tifftopnm.c:98: error: (Each undeclared identifier is reported only once)....
Please help, the OS is Fedora 4 btw.
Thanks!
David
David,
I discovered this problem in January. A copy of my post from late
January is appended below. I believe the maintainers have fixed the
source code available in CVS, but you can apply the fix I describe below.
-- Conrad
BASE Users,
I just updated my Fedora Core 3 installation, then attempted to install
BASE 1.2.17, but tifftopnm.c wouldn't compile because TRUE and FALSE
weren't defined.
If I traced back through the header files correctly, it appears that the
maintainers of the netpbm software have removed the definitions of TRUE
and FALSE from the pm_config.h header file for the netpbm-devel.i386
10.31-1.FC3 RPM, whereas there was no problem with the older version,
netpbm-devel.i386 10.28-1.FC3.2.
I fixed the compile problem by adding the following lines to the top of
the tifftopnm.c file:
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
--
Conrad Halling
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]