#13290: Upgrade MPC to version 1.0
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.3
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Leif Leonhardy
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by leif):
Replying to [comment:12 jdemeyer]:
> Replying to [comment:11 leif]:
> > I'd rather use `[ -f "$patch" ]` instead of `[ -r "$patch" ]`.
> Actually I like `-r`, because like this one can intentionally disable a
patch by `chmod`ing it `000`.
I was thinking of the same, but it's also a potential pitfall I think, and
not very appropriate from an educational perspective... (unless you add a
comment on that; people might think `-r` tests for a '''r'''egular file,
and `[ -r <some directory> ]` is usually true as well).
----
{{{
...
checking for CC and CFLAGS in gmp.h... yes CC=gcc-4.7.0 -std=gnu99
CFLAGS=-O2 -m64 -march=btver1 -mtune=btver1 -g -march=native -O3 -fno-
strict-aliasing -DHONORS_CFLAGS
checking for CC=gcc-4.7.0 -std=gnu99 and CFLAGS=-O2 -m64 -march=btver1
-mtune=btver1 -g -march=native -O3 -fno-strict-aliasing
-DHONORS_CFLAGS... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm
-B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64
-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object...
failed
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp-4.7.0
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... no
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... no
checking if gcc supports -c -o file.o... (cached) no
checking if we can lock with hard links... yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in...
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gmp.h... no
configure: error: gmp.h cannot be found or is unusable.
Error configuring MPC.
real 0m7.518s
user 0m0.780s
sys 0m0.700s
************************************************************************
Error installing package mpc-1.0
************************************************************************
}}}
Ooops!?
(`$SAGE_LOCAL/include/gmp.h` is of course present and sane as well, as you
can also see since MPC found `__GMP_CC` and `__GMP_CFLAGS`.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13290#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.