Re: [sage-devel] Error compiling MPFR on development version install

2015-06-18 Thread Volker Braun
Also, whats the header search path? Output of 

clang++ -E -x c++ - -v < /dev/null




-- 
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.


Re: [sage-devel] Error compiling MPFR on development version install

2015-06-18 Thread Francois Bissey
That file please:
/Users/lauve/sage-devel/local/var/tmp/sage/build/mpfr-3.1.2.p0/src/config.log

> On 19/06/2015, at 08:43, la...@math.luc.edu wrote:
> 
> Re: possibly needing to install Xcode:
> I installed it. restarted machine. ran 'make distclean' then ran 'make'. Same 
> problem. two files (float.h and stdarg.h) that cannot be found, though they 
> exist.
> 
> 'xcode-select --version' and 'gcc --version' return the same output as I 
> mentioned before.
> 
> 
> Here are the logs, in full.
> 
> ~~~
> ~~~ mpfr 
> ~~
> Found local metadata for mpfr-3.1.2.p0
> Found local sources at /Users/lauve/sage-devel/upstream/mpfr-3.1.2.tar.bz2
> Checksum: e70341aa7974b4ba1023c75c750aca68222b0723 vs 
> e70341aa7974b4ba1023c75c750aca68222b0723
> mpfr-3.1.2.p0
> 
> Setting up build directory for mpfr-3.1.2.p0
> Finished set up
> 
> Host system:
> Darwin weehawken.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 
> 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
> 
> C compiler: /usr/bin/clang
> C compiler version:
> 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
> 
> Patching MPFR...
> 
> Now configuring MPFR...
> Checking what CC and CFLAGS MPFR would use if they were empty...
> Settings chosen by MPFR when configuring with CC and CFLAGS unset:
>   CC:  /usr/bin/gcc
>   CFLAGS:  -Wall -Wmissing-prototypes -Wpointer-arith -m64 -O2 
> -march=corei7-avx -mtune=corei7-avx  -g
> Settings required to properly build MPFR, taking into account SAGE_DEBUG etc.:
>   CFLAGS:  
>   LDFLAGS: 
>   ABI: 
> Settings from the "global" environment:
>   CC:  /usr/bin/clang
>   CFLAGS:  
>   (CPPFLAGS, CXX and CXXFLAGS are listed below; these don't get modified.)
> Using MPFR's settings (plus mandatory ones).
> Finally using the following settings:
>   CC=/usr/bin/clang
>   CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -m64 -O2 
> -march=corei7-avx -mtune=corei7-avx  -g 
>   CPP=
>   CPPFLAGS=
>   CXX=/usr/bin/clang++
>   CXXFLAGS=
>   LDFLAGS=
>   ABI=
> (These settings may still get overridden by 'configure' or Makefiles.)
> 
> Configuring MPFR with the following options:
>   --prefix="/Users/lauve/sage-devel/local"
>   --libdir="/Users/lauve/sage-devel/local/lib"
>   --with-gmp="/Users/lauve/sage-devel/local"
>   --disable-thread-safe
> You can set MPFR_CONFIGURE to pass additional parameters.
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... yes
> checking build system type... x86_64-apple-darwin14.3.0
> checking host system type... x86_64-apple-darwin14.3.0
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for gcc... /usr/bin/clang
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether /usr/bin/clang accepts -g... yes
> checking for /usr/bin/clang option to accept ISO C89... unsupported
> checking for style of include used by make... GNU
> checking dependency style of /usr/bin/clang... gcc3
> checking how to run the C preprocessor... /usr/bin/clang -E
> checking for ICC... no
> checking whether /usr/bin/clang and cc understand -c and -o together... rm: 
> conftest.dSYM: is a directory
> yes
> checking if the compiler understands -Wl,-search_paths_first... yes
> checking for an ANSI C-conforming const... yes
> checking for working volatile... yes
> checking for main in -lm... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for ANSI C header files... no
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for size_t... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> 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 abov

[sage-devel] Error compiling MPFR on development version install

2015-06-10 Thread Anne Schilling
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.


real0m15.066s

user0m6.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.


[sage-devel] Error compiling MPFR on development version install

2015-06-10 Thread Aaron Lauve
Hello,
I am 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.



-- 
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.