[R-SIG-Mac] (no subject)

Ivan Alves papucho at mac.com
Tue Jan 18 23:32:36 CET 2005


Dear all,

I successfully compiled and installed the most recent svn version of  
R-devel using configuration flags

./configure  --enable-utf8 --enable-R-shlib --with-blas='-framework  
vecLib' --with-lapack --with-aqua  
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh  
--with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh  
TCLTK_LIBS='-framework Tcl -framework Tk'  
TCLTK_CPPFLAGS='-I/Library/Frameworks/Tcl.Framework/Headers  
-I/Library/Frameworks/Tk.Framework/Headers'

I am not so successful compiling R.app from the most recent svn version  
(revision 920).  I get the following log (from command line "xcodebuild  
-target R -buildstyle Deployment"):


=== BUILDING NATIVE TARGET sush USING BUILD STYLE Deployment ===


=== BUILDING NATIVE TARGET R USING BUILD STYLE Deployment ===

ProcessPCH  
/Developer/Mac-GUI/build/R.build/SharedCaches/R_Prefix- 
djprhqwyddqvoaaplmnebausiizt/R_Prefix.pch.gch R_Prefix.pch normal ppc  
objective-c com.apple.compilers.gcc.3_3
     cd /Developer/Mac-GUI
     /usr/bin/gcc-3.3 -x objective-c-header -arch ppc -pipe  
-Wno-trigraphs -fobjc-exceptions -fasm-blocks -fpascal-strings -Os  
-mtune=G4 -Wno-four-char-constants -Wmost -Wno-four-char-constants  
-Wno-unknown-pragmas -fmessage-length=0 -F/Developer/Mac-GUI/build  
-I/Developer/Mac-GUI/build/include  
-I/Library/Frameworks/R.framework/Headers  
-I/Library/Frameworks/R.framework/PrivateHeaders  
-I/Developer/Mac-GUI/build/R.build/R.build/DerivedSources  
-Wp,-header-mapfile,/Developer/Mac-GUI/build/R.build/R.build/R.hmap -c  
R_Prefix.pch -o  
/Developer/Mac-GUI/build/R.build/SharedCaches/R_Prefix- 
djprhqwyddqvoaaplmnebausiizt/R_Prefix.pch.gch

ProcessPCH  
/Developer/Mac-GUI/build/R.build/SharedCaches/R_Prefix- 
drkhtiqdqzhdfyavlrynorkxirty/R_Prefix.pch.gch R_Prefix.pch normal ppc c  
com.apple.compilers.gcc.3_3
     cd /Developer/Mac-GUI
     /usr/bin/gcc-3.3 -x c-header -arch ppc -pipe -Wno-trigraphs  
-fasm-blocks -fpascal-strings -Os -mtune=G4 -Wno-four-char-constants  
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas -fmessage-length=0  
-F/Developer/Mac-GUI/build -I/Developer/Mac-GUI/build/include  
-I/Library/Frameworks/R.framework/Headers  
-I/Library/Frameworks/R.framework/PrivateHeaders  
-I/Developer/Mac-GUI/build/R.build/R.build/DerivedSources  
-Wp,-header-mapfile,/Developer/Mac-GUI/build/R.build/R.build/R.hmap -c  
R_Prefix.pch -o  
/Developer/Mac-GUI/build/R.build/SharedCaches/R_Prefix- 
drkhtiqdqzhdfyavlrynorkxirty/R_Prefix.pch.gch

CompileC build/R.build/R.build/Objects-normal/ppc/main.o main.m normal  
ppc objective-c com.apple.compilers.gcc.3_3
     cd /Developer/Mac-GUI
     /usr/bin/gcc-3.3 -x objective-c -arch ppc -pipe -Wno-trigraphs  
-fobjc-exceptions -fasm-blocks -fpascal-strings -Os -mtune=G4  
-Wno-four-char-constants -Wmost -Wno-four-char-constants  
-Wno-unknown-pragmas -fmessage-length=0 -F/Developer/Mac-GUI/build  
-I/Developer/Mac-GUI/build/include  
-I/Library/Frameworks/R.framework/Headers  
-I/Library/Frameworks/R.framework/PrivateHeaders  
-I/Developer/Mac-GUI/build/R.build/R.build/DerivedSources  
-Wp,-header-mapfile,/Developer/Mac-GUI/build/R.build/R.build/R.hmap  
-include  
/Developer/Mac-GUI/build/R.build/SharedCaches/R_Prefix- 
djprhqwyddqvoaaplmnebausiizt/R_Prefix.pch -c /Developer/Mac-GUI/main.m  
-o /Developer/Mac-GUI/build/R.build/R.build/Objects-normal/ppc/main.o

CompileC build/R.build/R.build/Objects-normal/ppc/RController.o  
RController.m normal ppc objective-c com.apple.compilers.gcc.3_3
     cd /Developer/Mac-GUI
     /usr/bin/gcc-3.3 -x objective-c -arch ppc -pipe -Wno-trigraphs  
-fobjc-exceptions -fasm-blocks -fpascal-strings -Os -mtune=G4  
-Wno-four-char-constants -Wmost -Wno-four-char-constants  
-Wno-unknown-pragmas -fmessage-length=0 -F/Developer/Mac-GUI/build  
-I/Developer/Mac-GUI/build/include  
-I/Library/Frameworks/R.framework/Headers  
-I/Library/Frameworks/R.framework/PrivateHeaders  
-I/Developer/Mac-GUI/build/R.build/R.build/DerivedSources  
-Wp,-header-mapfile,/Developer/Mac-GUI/build/R.build/R.build/R.hmap  
-include  
/Developer/Mac-GUI/build/R.build/SharedCaches/R_Prefix- 
djprhqwyddqvoaaplmnebausiizt/R_Prefix.pch -c  
/Developer/Mac-GUI/RController.m -o  
/Developer/Mac-GUI/build/R.build/R.build/Objects-normal/ppc/ 
RController.o
In file included from  
/Library/Frameworks/R.framework/PrivateHeaders/IOStuff.h:30,
                  from /Developer/Mac-GUI/RController.h:36,
                  from /Developer/Mac-GUI/RController.m:40:
/Library/Frameworks/R.framework/PrivateHeaders/Defn.h:904: error: parse  
error before "mbstate_t"
** BUILD FAILED **

Any kind guidance on where I have gone wrong would be appreciated.   
Incidentally, building against a properly compiled and installed latest  
R-patched works flawlessly.

Thank you very  much in advance.

Kind regards,
_______________________
Ivan Alves
mailto://papucho@mac.com
	[[alternative text/enriched version deleted]]



More information about the R-SIG-Mac mailing list