#12369: Add a gcc package
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: task | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies: #12479, #12602, #12608, #12609,
#12647, #10492, #12367, #12368, #12405, #12570, #12574, #12423, #12425, #12456,
#12363, #12223, #12515, #12519, #12548, #12562, #12629, #12638
------------------------+---------------------------------------------------
Comment(by SimonKing):
In my next attempt, I added --libdir to the configuration of the gcc spkg.
Hence, in spkg-install of the gcc spkg I have
{{{
../src/configure \
--prefix="$SAGE_LOCAL" \
--libdir="$SAGE_LOCAL/lib" \
--with-local-prefix="$SAGE_LOCAL" \
--with-gmp="$SAGE_LOCAL" --with-mpfr="$SAGE_LOCAL" --with-
mpc="$SAGE_LOCAL" \
--with-system-zlib \
--disable-multilib \
$CONFIGURE_FLAGS "$CONFIGURE_AS" "$CONFIGURE_LD"
}}}
But then, I again get the error
{{{
checking for suffix of object files... configure: error: in
`/mnt/local/king/SAGE/experiment/gcclibdir_native/sage-5.0.beta8/spkg/build/gcc-4.6.3
/gcc-build/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
}}}
even though the suffix of object files has been computed repeatedly and
correctly. From the config.log:
{{{
configure:4367: checking for suffix of object files
configure:4389: gcc -c -march=native conftest.c >&5
configure:4393: $? = 0
configure:4414: result: o
}}}
So, why is providing the --libdir configuration option resulting in an
error?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12369#comment:164>
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.