I think you need to have XCode installed, even though you shouldn't have to.

Can you also post logs (in SAGE_ROOT/logs/pkgs/)


On Thursday, June 18, 2015 at 7:29:56 PM UTC+2, la...@math.luc.edu wrote:
>
> Okay... 
> I am now running 10.10.3. 
> to try to get a clean version of tools, I deleted the following three 
> directories:
>   * /Applications/Xcode.app
>   * /Library/Developer/CommandLineTools
>   * /usr/include/c++
> I ran xcode-select --install from the command line. A pop up asked me to 
> install. I did.
> Now /Library/Developer/CommandLineTools and /usr/include/c++ have returned.
> (note that I do not have XCode.app at present)
>
> Still, in my sage source directory, when I run make -j4, I get errors. 
> (Setting SAGE_KEEP_BUILT_SPKGS='yes' doesn't eliminate the problem.)
>
> There are errors in the packages *mpfr-3.1.2.p0* and *zlib-1.2.8.p0*.
>
> In my logs, the packages seem not to be able to find files that I'm sure 
> are there: *float.h* and *stdarg.h*
> indeed, there is some general checks that flew by earlier in the build 
> process to the effect,
>
> checking float.h usability... yes
>
> checking float.h presence... yes
> checking for float.h... yes
>
> Yet, mpfr cannot find it. Similarly, earlier in the 'make' process, I saw 
> fly by the line
>
> checking whether <stdarg.h> exists and works... yes
>
>
>
> new output of gcc --version :
>
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
> --with-gxx-include-dir=/usr/include/c++/4.2.1
>
> Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
>
> Target: x86_64-apple-darwin14.3.0
>
> Thread model: posix
>
>
> (note: both of the directories mentioned do exist. The files *float.h* 
> and *stdarg.h* exist in:
>
>   *  /Library/Developer/CommandLineTools/usr/lib/clang/6.1.0/include/   
>
>   *  /usr/include/c++/4.2.1/tr1/
>
> among other places)
>
>
> output of xcode-select --version :
>
> xcode-select version 2333
>
>
>
> output of locate stdarg.h :
>
> /Applications/local/include/c++/4.6.3/tr1/stdarg.h
>
>
> /Applications/local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.3/include/cross-stdarg.h
>
>
> /Applications/local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.3/include/stdarg.h
>  
>
>
> /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Clang/include/stdarg.h
>
> /Library/Developer/CommandLineTools/usr/lib/clang/6.1.0/include/stdarg.h
>
> /Library/Developer/CommandLineTools/usr/lib/llvm-gcc/4.2.1/include/stdarg.h
>
> /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/stdarg.h
>
>
> /System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/2.0/include/stdarg.h
>
> /usr/include/c++/4.2.1/tr1/stdarg.h
>
>  
> output of locate float.h :
>
> /Applications/gap4r4/src/float.h
>
> /Applications/local/include/c++/4.6.3/tr1/float.h
>
> /Applications/local/lib/gap-4.4.12/src/float.h
>
> /Applications/local/lib/gcc/x86_64-apple-darwin10.8.0/4.6.3/include/float.h
>
>
> /Library/Developer/CommandLineTools/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Clang/include/float.h
>
> /Library/Developer/CommandLineTools/usr/lib/clang/6.1.0/include/float.h
>
>
> /System/Library/Frameworks/OpenCL.framework/Versions/A/lib/clang/2.0/include/float.h
>
> /usr/include/c++/4.2.1/tr1/float.h
>
>
>
> Any further ideas?
>
>
>
> On Wednesday, June 10, 2015 at 2:56:55 PM UTC-5, Volker Braun wrote:
>>
>> Since Apple declined to fix the "rootpipe" bug in OSX 10.9 I would 
>> recommend to upgrade to OSX 10.10 asap, effectively you don't receive 
>> security fixes any more. 
>>
>> Even then, why did you not upgrade to command line tools 6.2? They should 
>> still run on OSX 10.9
>>
>>
>> On Wednesday, June 10, 2015 at 7:43:14 PM UTC+2, la...@math.luc.edu 
>> wrote:
>>>
>>> Volkar:
>>> Here's more info:
>>>
>>> weehawken:sage-git lauve$ gcc --version
>>>
>>> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
>>> --with-gxx-include-dir=/usr/include/c++/4.2.1
>>>
>>> Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
>>>
>>> Target: x86_64-apple-darwin13.4.0
>>>
>>> Thread model: posix
>>>
>>>
>>> weehawken:sage-git lauve$ which gcc
>>>
>>> /usr/bin/gcc
>>>
>>>
>>> Note: the 'prefix' it points to is not where I have installed the most 
>>> recent version of command line tools, but I moved the 'usr' folder there to 
>>> 'usr.old', created a symbolic link to '/usr' and tried again. The error 
>>> persists: "float.h not found"
>>>
>>>
>>>
>>> On Wednesday, June 10, 2015 at 10:32:30 AM UTC-5, Volker Braun wrote:
>>>>
>>>> CommandLineTools for XCode 6.1.1 is old and buggy... Also, are you sure 
>>>> you are using the compiler you think you are using? You can have multiple 
>>>> ones. Output of gcc --version?
>>>>
>>>>
>>>>
>>>> On Wednesday, June 10, 2015 at 4:37:13 PM UTC+2, Anne Schilling wrote:
>>>>>
>>>>> Hello, 
>>>>>
>>>>> Aaron Lauve at Sage Days 65 is having trouble installing development 
>>>>> version of Sage on my Mac. 
>>>>> (OSX10.9.5, with CommandLineTools for XCode 6.1.1 installed) 
>>>>>
>>>>> The error is "Error installing package mpfr-3.1.2.p0" 
>>>>>
>>>>> Here is the tail of the log file created, which seems to point to not 
>>>>> finding float.h 
>>>>> (But it can be located on my machine with "locate float.h" from / 
>>>>> directory.) 
>>>>>
>>>>> ~~~~~~~ 
>>>>>
>>>>> checking for limits.h... yes 
>>>>>
>>>>> checking float.h usability... no 
>>>>>
>>>>> checking float.h presence... no 
>>>>>
>>>>> checking for float.h... no 
>>>>>
>>>>> configure: error: float.h not found 
>>>>>
>>>>> Error configuring MPFR. 
>>>>>
>>>>> See above for the options passed to it, and the file 
>>>>>
>>>>>   
>>>>> /Users/lauve/sage-git/local/var/tmp/sage/build/mpfr-3.1.2.p0/src/config.log
>>>>>  
>>>>>
>>>>> for details. 
>>>>>
>>>>>
>>>>> real        0m15.066s 
>>>>>
>>>>> user        0m6.600s 
>>>>>
>>>>> sys        0m5.934s 
>>>>>
>>>>> ************************************************************************ 
>>>>>
>>>>>
>>>>> Error installing package mpfr-3.1.2.p0 
>>>>>
>>>>> ************************************************************************ 
>>>>>
>>>>>
>>>>> Please email sage-devel (http://groups.google.com/group/sage-devel) 
>>>>>
>>>>> explaining the problem and including the relevant part of the log file 
>>>>>
>>>>>   /Users/lauve/sage-git/logs/pkgs/mpfr-3.1.2.p0.log 
>>>>>
>>>>> Describe your computer, operating system, etc. 
>>>>>
>>>>> If you want to try to fix the problem yourself, *don't* just cd to 
>>>>>
>>>>> /Users/lauve/sage-git/local/var/tmp/sage/build/mpfr-3.1.2.p0 and type 
>>>>> 'make' or whatever is appropriate. 
>>>>>
>>>>> Instead, the following commands setup all environment variables 
>>>>>
>>>>> correctly and load a subshell for you to debug the error: 
>>>>>
>>>>>   (cd '/Users/lauve/sage-git/local/var/tmp/sage/build/mpfr-3.1.2.p0' 
>>>>> && '/Users/lauve/sage-git/sage' --sh) 
>>>>>
>>>>> When you are done debugging, you can type "exit" to leave the 
>>>>> subshell. 
>>>>>
>>>>> ************************************************************************ 
>>>>>
>>>>>
>>>>> Any suggestions? 
>>>>>
>>>>> Best, 
>>>>>
>>>>> Anne 
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to