Hi everyone,

Having used Gentoo for a very long time, I am used to troubleshooting 
compilation problems, but I guess I am not good enough to get this one! I am 
trying to install GnuCash2 using fink. The compilation of nearly 100 packages 
went fine except for a few problems that I managed to fix. For some reason, 
doxygen can't be installed, and I would appreciate some help.

This is the error that I get:

In file included from qiodevice.h:42,
                 from qbuffer.h:42,
                 from qbuffer.cpp:38:
qglobal.h:93:6: error: #error "This version of Mac OS X is unsupported"
make[2]: *** [../objects/qbuffer.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...

I looked into the code for the header file, and saw this:

#if defined(__APPLE__) || defined(macintosh)
#define _OS_MAC_
#  ifdef MAC_OS_X_VERSION_MIN_REQUIRED
#    undef MAC_OS_X_VERSION_MIN_REQUIRED
#  endif
#  define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3
#  include <AvailabilityMacros.h>
#  if !defined(MAC_OS_X_VERSION_10_3)
#     define MAC_OS_X_VERSION_10_3 MAC_OS_X_VERSION_10_2 + 1
#  endif
#  if !defined(MAC_OS_X_VERSION_10_4)
#       define MAC_OS_X_VERSION_10_4 MAC_OS_X_VERSION_10_3 + 1
#  endif
#  if !defined(MAC_OS_X_VERSION_10_5)
#       define MAC_OS_X_VERSION_10_5 MAC_OS_X_VERSION_10_4 + 1
#  endif
#  if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5)
#    error "This version of Mac OS X is unsupported"
#  endif

The next-to-last line is causing the error, but I don't see why that is causing 
an error. I am using Mac OS X 10.5. Apparently this is caused by the qtools, 
which comes with QT. 

Has anybody run into this problem, or knows how to fix it? Do I really need 
doxygen to instal GnuCash2 (I don't even want the documentations!).

Thanks for all your help, 
 Berk


      

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to