On Apr 21, 8:54 pm, Rob Goedman <[EMAIL PROTECTED]> wrote: Hi Rob,
> This is XCode 3.0 with the updated gcc suite from the Apple developer > site. It sure seems to compile an awful lot before hitting this. > > I wonder how to make this work with R. R has these 100s of packages, > many of which need to be compiled when installed. > > Right now, at least on the Mac, R-2-7 itself supports/contains 4 > architectures ( ppc, x86 each 32 and 64 bits ) and the compilers for > c, c++ and fortran need to match for above package installations > (those that need to be compiled). Until recently there were disastrous > bugs in the compilers for 64 bits (and other issues with gcc4.0, e.g. > when fortran was involved). > > Sage rc1 seems to include R-2.6.1, this week's R-2.7 release will > replace R-2.6.2. We plan to upgrade to R 2.7 once it is out and we do some testing. > I have tried gcc-4.0.1 but on my system it will hang forever (might be > related to the broken X11 that ships with Leopard): > > gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/ > Users/rob/Downloads/sage-3.0.rc1/spkg/build/python-2.5.2/src/Mac/ > Modules/launch/_Launchmodule.o -L/Users/rob/Downloads/sage-3.0.rc1/ > local/lib -L/usr/local/lib -o build/lib.macosx-10.3-i386-2.5/ > _Launch.so -framework ApplicationServices > *** WARNING: renaming "_Launch" since importing it failed: > dlopen(build/lib.macosx-10.3-i386-2.5/_Launch.so, 2): Symbol not > found: __cg_png_create_info_struct > Referenced from: /System/Library/Frameworks/ > ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ > Versions/A/ImageIO > Expected in: /usr/X11R6/lib/libPng.dylib > > building '_CG' extension > creating build/temp.macosx-10.3-i386-2.5/Users/rob/Downloads/ > sage-3.0.rc1/spkg/build/python-2.5.2/src/Mac/Modules/cg > gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- > madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -I/Users/ > rob/Downloads/sage-3.0.rc1/spkg/build/python-2.5.2/src/./Include -I/ > Users/rob/Downloads/sage-3.0.rc1/spkg/build/python-2.5.2/src/./Mac/ > Include -I/Users/rob/Downloads/sage-3.0.rc1/local/include -I. - > IInclude -I./Include -I/usr/local/include -I/Users/rob/Downloads/ > sage-3.0.rc1/spkg/build/python-2.5.2/src/Include -I/Users/rob/ > Downloads/sage-3.0.rc1/spkg/build/python-2.5.2/src -c /Users/rob/ > Downloads/sage-3.0.rc1/spkg/build/python-2.5.2/src/Mac/Modules/cg/ > _CGmodule.c -o build/temp.macosx-10.3-i386-2.5/Users/rob/Downloads/ > sage-3.0.rc1/spkg/build/python-2.5.2/src/Mac/Modules/cg/_CGmodule.o - > Wno-deprecated-declarations > gcc -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/ > Users/rob/Downloads/sage-3.0.rc1/spkg/build/python-2.5.2/src/Mac/ > Modules/cg/_CGmodule.o -L/Users/rob/Downloads/sage-3.0.rc1/local/lib - > L/usr/local/lib -o build/lib.macosx-10.3-i386-2.5/_CG.so -framework > ApplicationServices The issue seems to be with libPng. We plan to teach R to use the version we are compiling ourselves in Sage since Apple's libPng leaves much to be desired, i.e. a header file for example ;) > and it will never finish this step. > > My hope is that I can literally use either R.app to work with R and > its libraries and Sage notebooks using the same version of R and > libraries. Maybe the way Sage works with Mathematica? > > As MIchael suggested, 3.0.1 stuff! I will hopefully have time to install the new & updated toolchain soon. The pad lock issue OSX should be fixed in the spkg at http://sage.math.washington.edu/home/mabshoff/SPKG/libgcrypt-1.4.0.p2.spkg This is now tracked at http://trac.sagemath.org/sage_trac/ticket/2993 > Rob Rob: if you could verify that it fixes the issue it will be in 3.0.1. We disabled padlock support on non-OSX. It seems that some version of gcc 4.2 are slightly stupid and make configure believe that padlock support is available on non-Via CPUs. Go figure. Cheers, Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---