[aspectc-user] building on Mac OS X

Olaf Spinczyk os at aspectc.org
Sat May 30 21:35:39 CEST 2009


Hi Michael,

some time ago Stefan Marr also reported problems to build ac++ on MacOS
X (on this list). I haven't had time to look into it yet, but, as there
are several people now asking for MacOS builds, it's probably time ...

However, I have neither enough time nor access to a MacOS machine at
this week-end. Please be patient until next week.

Cheers,

Olaf

Michael Haupt schrieb:
> Hi,
>
> so here I am, building from a fresh SVN checkout (revision 3). The
> AspectC++ binaries I'm using to build are v1.0-pre3. Building fails
> with Puma already; the complete output is pasted after this e-mail.
>
> The error message looks to me as if there was a problem with the
> parser; it seems to be unable to digest one of the OS X standard
> include files (fstream). Rumour has it that the parser in SVN is more
> robust than the one in the release. So how can I get hold of a binary
> of that?
>
> Chicken-and-egging,
>
> Michael :-)
>
>
> ---
> Making PUMA for TARGET=linux-release
>   Extensions = gnuext winext acppext tracing matchexpr
> ---
>
> Making lemon ...
> Making orange ...
> Generating ac++ config file...
> Generating scanner from cpp/PreDirectiveTab.ora...
> Generating scanner from cpp/PreExprTab.ora...
> Generating scanner from cpp/PreTokenTab.ora...
> Generating scanner from scanner/CCommentTab.ora...
> Generating scanner from scanner/CCoreTab.ora...
> Generating scanner from scanner/CDirectiveTab.ora...
> Generating scanner from scanner/CIdentifierTab.ora...
> Generating scanner from scanner/CMLCommentTab.ora...
> Generating scanner from scanner/CSLCommentTab.ora...
> Generating scanner from scanner/CWildcardTab.ora...
> Generating parser from cpp/PreExprParser.lem...
> Generating parser from cpp/PreParser.lem...
> Generating parser from manip/CMatchParser.lem...
>
> ---
> Weaving PUMA for TARGET=linux-release
>   Weaver = ac++  -a
> /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/CCExprResolveCC.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/CCExprResolveH.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/CExprResolveCC.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/CExprResolveH.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinIfExists.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinImportHandler.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinMacros.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinAsm.ah -a
> /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinDeclSpecs.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinMemberExplSpec.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinTypeKeywords.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/WinFriend.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtAC.ah -a
> /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtACBuilderH.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtACBuilderCC.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtACSyntaxH.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtACSyntaxCC.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtACTree.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtACKeywords.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtGnu.ah -a
> /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/ExtGnuCSemDeclSpecs.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/PragmaOnceUnitState.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/PragmaOnce.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/TraceSyntax.ah
> -a /Users/haupt/aspectc++/Puma/gen-release/step1/aspects/CMatchSyntax.ah
> -DNDEBUG  -I /Users/haupt/aspectc++/Puma/gen-release/step1/inc -I
> /Users/haupt/aspectc++/Puma/gen-release/step1/aspects -I
> /Users/haupt/aspectc++/Puma/gen-release/step1/src -r
> /Users/haupt/aspectc++/Puma/gen-release/puma.acp --config
> /Users/haupt/aspectc++/Puma/gen-release/puma.cfg --gen_size_type
> __SIZE_TYPE__
> ---
>
> Copying sources not to weave...
> Weaving aspects into PreFileIncluder.cc...
> /usr/include/c++/4.0.0/fstream:418: error: invalid member declaration
> near token `__attribute'
> make[2]: *** [/Users/haupt/aspectc++/Puma/gen-release/step2/src/PreFileIncluder.cc]
> Error 1
> make[1]: *** [step2] Error 2
> make: *** [src] Error 2
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user
>
>   




More information about the aspectc-user mailing list