New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slackware-14.2 multilib: Building iml fails #29795
Comments
comment:2
Indeed this code from
|
This comment has been minimized.
This comment has been minimized.
comment:4
Upstream IML should be smarter about detecting GMP, it just guesses at To that end: it would be nice if the pkg-config file for gmp included the
|
comment:6
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
comment:10
outdated |
Reviewer: Dima Pasechnik |
From https://groups.google.com/d/msg/sage-devel/WshDn3e_l3k/YInQI_-WAwAJ:
the real issue is that when building iml the libraries are hardcoded to reside at /lib, but in multilib systems this may not be the case. Specifically, in Slackware (see #29798 for slackware-multilib) we have lib for 32-bit and lib64 for 64-bit. I fixed this by changing this line in build/pkgs/iml/spkg-install.in:
SAGE_GMP_LIB="
echo "$SAGE_GMP_INCLUDE" | sed 's|/include|/lib|'
"to this:
SAGE_GMP_LIB="
echo "$SAGE_GMP_INCLUDE" | sed 's|/include|/lib{$LIBDIRSUFFIX}|'
"where LIBDIRSUFFIX is specified by our build to be null for 32-bit or 64 for 64-bit.
CC: @orlitzky @dimpase
Component: porting
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29795
The text was updated successfully, but these errors were encountered: