Building fox-1.2.16 on sun yields:

./configure --prefix=<myprefix>
[snipped]
make
...[many lines cut]
In file included from ../include/xincs.h:165,
                 from FXBZStream.cpp:24:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident 
In file included from ../include/xincs.h:167,
                 from FXBZStream.cpp:24:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident 
In file included from ../include/xincs.h:168,
                 from FXBZStream.cpp:24:
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring #pragma ident 
FXBZStream.cpp: In member function `virtual long unsigned int 
   FX::FXBZFileStream::writeBuffer(long unsigned int)':
FXBZStream.cpp:69: `BZ2_bzWrite' undeclared (first use this function)
FXBZStream.cpp:69: (Each undeclared identifier is reported only once for each 
   function it appears in.)
FXBZStream.cpp: In member function `virtual long unsigned int 
   FX::FXBZFileStream::readBuffer(long unsigned int)':
FXBZStream.cpp:92: `BZ2_bzRead' undeclared (first use this function)
FXBZStream.cpp: In member function `FXbool FX::FXBZFileStream::open(const 
   FX::FXString&, FX::FXStreamDirection, long unsigned int)':
FXBZStream.cpp:113: `BZ2_bzReadOpen' undeclared (first use this function)
FXBZStream.cpp:115: `BZ2_bzReadClose' undeclared (first use this function)
FXBZStream.cpp:127: `BZ2_bzWriteOpen' undeclared (first use this function)
FXBZStream.cpp:129: `BZ2_bzWriteClose' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `FXBZStream.lo'
Current working directory /tmp/fox-1.2.16/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Why all the problems?

-- 
Jim Freeze
Code Red. Code Ruby