Problem
I am exploring whether it's possible to compile OpenOffice on OpenServer 5.0.7. A prerequisite is a later version of gcc (e.g. gcc v3.3.3) which I am trying to compile, but I am having problems as described below:
Checking size of long long... configure: error: cannot determine a size for long long
Configure in /u/gnu/gcc/gcc-3.3.3/fastjar failed, exiting. Cause
OpenServer does not understand some of the C++ structures, including type "long long".
Solution
If you wish to compile OpenOffice or any other software not written in C, you will most likely need a C++ compiler such as one of the later versions of GCC e.g. v3.3.3 see gcc.gnu.org and
http://www.gnu.org/directory/devel/compilers/gcc.htmlTo be able to compile gcc v3.3.3, you need to install an earlier SCO provided gcc version.
OpenServer 5.0.7 with gcc 2.95.3p4 ( from the GNU Development Tools package which can be found at https://ftp.scoexpert.com/openserver5/opensrc ) *can* compile gcc v3.3.3.
However, although gcc v3.3.3 can be compiled successfully, OpenServer's inability to understand all C++ structures correctly may lead to future compilation problems.
This issue is being addressed by SCO Engineering.
Some of these fundamental issues are being resolved. As such, a current release of gcc v3.4 is being tested and will be released as a standalone product later in 2004.
NOTES: It is not currently possible to compile OpenOffice on
OpenServer 5.0.7 as of 12th May 2004. See also
TA125450 "Trigonometry function sin() returns incorrect results on OpenServer 5.0.7" TA115262 "Where can I obtain a Secure Shell (ssh) for OpenServer?"