[email protected] wrote:
> 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
>
>
>   
This appears to have been broken recently by a change made (by one of
the core developers) to allow the package to build on 10.6. 

I've put these changes in a 10.6-specific package description, and
reverted the 10.4 and 10.5 packaging.  It should be available to you via
a "fink selfupdate" within an hour or so.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
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