-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/25/13 1:15 PM, Sjors Gielen wrote: > Op 25-02-13 21:02, Alexander Hansen schreef: >>> so I can't test the build with X and possibly fix that >>> compilation error... >> Type: -nox (-nox .) >> >> That turns "htmldoc" back on as a package. > > Thanks, that works. Apparantly, the build of htmldoc on OS X fails > for me because it uses FL (from fltk-x11), which has the NewRgn > call in its mac.H header. This call is supposed to be in Carbon, > but isn't. mac.H is included by x.H, which provides some interface > to X11. This means that fltk-x11 appears unusable on newer Macs, > since Carbon is no longer supported. (At least, that's the error I > get on 10.8.) > > Daniel, you're the maintainer of fltk-x11, do you agree this is > supposed to be a bug-report against fltk-x11 since its headers do > not compile? > > Sjors >
That's the same error that I got on 10.6/x86_64, too. Carbon is 32-bit only, so that's probably the problem. Though there's a different failure on 10.6/i386 (or 10.5/powerpc): Compiling http-addrlist.c... In file included from /usr/X11R6/include/X11/Xlib.h:60, from /usr/X11R6/include/X11/xpm.h:77, from gui.cxx:103: /usr/X11R6/include/X11/X.h:101: error: conflicting declaration 'typedef XID Window' /sw32/include/FL/mac.H:43: error: 'Window' has a previous declaration as 'typedef struct OpaqueWindowPtr* Window' /usr/X11R6/include/X11/X.h:108: error: conflicting declaration 'typedef XID Cursor' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:267: error: 'Cursor' has a previous declaration as 'typedef struct Cursor Cursor' In file included from /usr/X11R6/include/X11/xpm.h:77, from gui.cxx:103: /usr/X11R6/include/X11/Xlib.h:460: error: conflicting declaration 'typedef struct XPoint XPoint' /sw32/include/FL/mac.H:44: error: 'struct XPoint' has a previous declaration as 'struct XPoint' /usr/X11R6/include/X11/Xlib.h:465: error: conflicting declaration 'typedef struct XRectangle XRectangle' /sw32/include/FL/mac.H:45: error: 'struct XRectangle' has a previous declaration as 'struct XRectangle' /usr/X11R6/include/X11/Xlib.h:2261: error: declaration of C function 'int DisposeWindow(OpaqueWindowPtr*)' conflicts with /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:1594: error: previous declaration 'void DisposeWindow(OpaqueWindowPtr*)' here /usr/X11R6/include/X11/Xlib.h:2824: error: declaration of C function 'int ShowWindow(OpaqueWindowPtr*)' conflicts with /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8298: error: previous declaration 'void ShowWindow(OpaqueWindowPtr*)' here /usr/X11R6/include/X11/Xlib.h:3523: error: declaration of C function 'int HideWindow(OpaqueWindowPtr*)' conflicts with /System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/MacWindows.h:8280: error: previous declaration 'void HideWindow(OpaqueWindowPtr*)' here I wouldn't necessarily call it a _bug_ in fltk-x11. Other packages, such as Octave, that don't try to access Carbon stuff work fine when built against fltk-x11. This just happens to be an old version of FLTK. Unfortunately, the current release of FLTK doesn't seem like it wants to build against X11 easily on OS X. And I don't know if updating fltk-x11 to 1.1.10, the last release in the FLTK-1.1.x series, will improve matters. And upstream has closed down. http://www.easysw.com/htmldoc/ has no information, and http://www.easysw.com/ says that they're out of business. That being said, the package builds OK against fltk13-aqua (with some tweaks), so a GUI option is still available. - -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEr09kACgkQB8UpO3rKjQ8ZrACglcpWz+/aSLp0jSRcW3CwEubN KIMAoKArr8rNGNfvKW4ILpGrxNDof7jD =0EvJ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel