From: Jim I. <ji...@ap...> - 2001-12-12 22:30:16
|
On 12/12/01 2:05 PM, "Ruediger Goetz" <rg...@r-...> wrote: > Hello, >=20 > On Wed, 12 Dec 2001, Jim Ingham was inspired to say: >> On 12/12/01 12:58 PM, "Ruediger Goetz" <rg...@r-...> wrote: >>=20 >>> Hello, >>>=20 >>> I just draw the source from the cvs (macos-x-branch) and tried to compi= le >>> (in order to get everything ready for tix). Unfortinately I run into th= e >>> folloeing >>> error: >>>=20 >>> In file included from .....TK/tcl/macosx/../unix/../unix/tclUnixInit.= c >>> In file included from >>> /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundat= ion.h >>> warning: passing arg 1 of 'CFSwitch16' with diffrent width due to >>> prototype >>>=20 >>> Though its called 'warning' its handled as an error by the Project Buil= der. >>>=20 >>> Any ideas what went wrong? >>> It just my first experience with the Project Builder (I used code on Li= nux >>> with Makefile, but like to get tix running natively on OS X as mentiond >>> earlier) >>>=20 >>> Yours >>>=20 >>> R"udiger Goetz >>>=20 >>> -- >>> R"udiger Goetz >>> rg...@r-... >>> WWW: http://www.r-goetz.de >>> Mail send by a Mac running Linux (SuSE-PPC) >>>=20 >>> _______________________________________________ >>> Tcl-mac mailing list >>> Tc...@li... >>> https://lists.sourceforge.net/lists/listinfo/tcl-mac >>>=20 >>=20 >> Rudiger, >>=20 >> This is a Project Builder bug. When it runs gcc from a regular PB proje= ct, >> it passes some funny options to gcc to help it to parse the gcc output. = But >> when it runs a "Legacy Makefile" target (which is what the Tcl project i= s) >> it doesn't have this help, and sometimes mis-parses the output, and thin= ks >> that warnings are errors. Note, however, that the status bar says: >>=20 >> Build Succeeded (5 errors) >>=20 >> So it sort of knows what happened. I reported this to the PB folks, and >> they will fix it at some point (though it is probably not their first >> priority...) =20 >>=20 >> I should also go clean up the warnings, I need to do a general warning >> cleanup, there aren't many in Tcl, but there are way too many in Tk. Bu= t I >> haven't gotten to this yet. >>=20 >> Anyway, your build of Tcl is fine. >>=20 >=20 > Unfortunately, it doens't say 'Build Succeeded', but 'Building Make ...(1 > error, 1 warning)' (I skiped the > warning. >=20 > And hence it doesn't install anything. And if I compile Tk. it complains = in > the end about=20 > 'can't locate framework for -framework Tcl'. It looks to me that somethin= g > went wrong, somehow. >=20 >=20 > Yours=20 >=20 > R=FCdiger Goetz >=20 >=20 > -=20 > R"udiger Goetz > rg...@r-... > WWW: http://www.r-goetz.de > Mail send by a Mac running Linux (SuSE-PPC) >=20 > _______________________________________________ > Tcl-mac mailing list > Tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac >=20 Which target did you build? You need to build the "Tcl From Scratch" targe= t to get the framework (or build all the other targets in sequence.) Jim --=20 ++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D++=3D Jim Ingham ji...@ap... Developer Tools - gdb |