-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
$SAGE_LOCAL/lib and lib64 #12131
Comments
comment:1
Thomas Hupfer wrote: In my handwritten notes I find besides readline that libgmp.so.3, |
comment:2
For the record, Thomas Hupfer further wrote: grep "local/lib64/" install.log | grep "^/usr/bin/install" | cut -d gives: ecl-11 |
comment:3
Volker has posted an updated readline spkg. It use
Similarly, I changed the python-2.6.4 spkg (not posted yet). I wonder: Is the `--libdir=..." option is also valid on Solaris? Meanwhile, my |
comment:4
I tested the new readline on mark/skynet (Solaris SPARC) and it works. |
This comment has been minimized.
This comment has been minimized.
comment:5
Replying to @vbraun:
Great! Meanwhile I have a new python-2.6.4.p12.spkg and an mpir-1.2.2.p8.spkg. The next problem is that ecl can't find libgc, so that's the next thing I have to modify. |
comment:6
Hooray! Fixing mpir and boehm_gc was enough to make ecl build!! I am looking forward to the next error... |
comment:7
The next problem is givaro, which hits linbox. |
comment:8
... followed by mpfr and mpfi |
comment:9
I made some progress by modifying the following spkgs:
Now it hangs in the Sage library code, more precisely: In M4RI. Therefore I am Cc'ing Martin. I will try to modify the M4RI spkg (and then probably M4RIE, too). My install.log is here, probably with some leftovers of previous build attempts. |
comment:10
I forgot to Cc Martin, even though I had announced it in my previous comment... |
comment:11
According to sage-devel, we could make this a blocker for sage-5.0. The sage installation on my Here is the suggested work plan: New package versions Use the following updated spkgs (the first is contributed by Volker, and I'll provide the others probably later today:
Perhaps there will be more than that, but so far it seems to work: Sage is already creating the docs! Testing In addition to the new spkgs, I have |
comment:12
M4RI(E) uses fairly standard autoconf (me thinks) so |
comment:13
Some of the spkg versions are based on old versions and should be updated:
(all these got positive_review). |
comment:14
OK, Jeroen's remark means more work. I need to get python, mpir, boehm_gc and r in the most recent versions. Question: Martin seems to suggest to use |
comment:15
Replying to @simon-king-jena:
Not mpir, since I started with alpha3 (which does contain the new mpir). |
comment:16
In the post above you mention mpir should also be coordinated with #12139. I am planning to work on it this weekend. |
comment:17
Replying to @jdemeyer:
Question to the release manager: Why is mpir-1.2.2.p8 from #11964 not in alpha3, even though it is supposed to be merged in alpha0? |
comment:18
Replying to @simon-king-jena:
Nevermind me, I just tried to say: whatever you do for standard packages, it should work for M4RI(E). I don't know which one is better of the two options you mentioned above. |
comment:19
Yesssss!! Sage starts on my laptop, and I will now get the updated packages from the other tickets and modify them. Because of coordination with #12139, I will not post a new mpir here, but leave it to Jeroen to insert |
comment:20
Replying to @simon-king-jena:
I don't understand your question. #11964 has mpir-2.1.3.p7.spkg which is merged in sage-4.8.alpha0 and still is in sage-4.8.alpha3. |
comment:36
I will see what I can do. Since my laptop is at home, I can't work on it right now. Also, I think it would be better to update the givaro package on a different ticket. I did not change executability of spkg-check in givaro and did not change the permissions if cddlib, gd and iml. But if you like, I can take care of that. |
comment:37
Replying to @simon-king-jena:
Sure, but al least correct the spkg version name to 3.2.13rc1
Yes please, these should be trivial fixes. |
comment:38
opencdk, mpfi: also fix permissions as above ppl: spkg-install should be executable |
comment:39
How could ppl possibly work if spkg-install is not executable?? |
comment:40
PS: How do I make it executable? By |
comment:41
Replying to @simon-king-jena:
It works because the |
comment:42
Replying to @simon-king-jena:
Is that the default OpenSuse setting? Thats would be quite insane. You are not installing Sage into /usr/local, are you? |
comment:43
Replying to @vbraun:
No, of course not. Some sage-devel gurus suggested to set
No. It is in my /home folder. |
comment:44
Let me ask again: How do I make it executable? By |
comment:45
Replying to @simon-king-jena:
Yes, that works. Or maybe The opencdk spkg has not-checked-in changes. |
comment:46
There is a typo in iml:
misses a dollar sign before |
This comment has been minimized.
This comment has been minimized.
comment:47
I have updated the packages as follows:
The spkgs are in their old location (except of course the renumbered givaro package). |
comment:48
I've double checked everything and it looks good to me! Positive review for everything except the readline spkg which Simon reviewed. |
Changed reviewer from Simon King to Simon King, Volker Braun |
comment:49
Since we have a timely positive review: Can this be merged into sage-4.8.alpha_something? |
Merged: sage-4.8.alpha5 |
comment:51
Why didn't we simply add "$SAGE_LOCAL/lib64" to |
comment:52
Apart from giving you a 50% chance of having the wrong library first in the library path, its ugly and will break once somebody uses a more descriptive library path :-) |
comment:53
Replying to @vbraun:
We already have a 99% chance or so of having the first two components wrong:
Besides, nobody said that
True, but the In any case, it is absolutely needed for gcc: #12405. |
Some distributions set up autotools to install libraries into
%{prefix}/lib64
, which breaks Sage's assumption that libraries are installed in$SAGE_LOCAL/lib
. In particular, OpenSuse64 according to this thread https://groups.google.com/d/topic/sage-devel/LS-u8E77NJQ/discussionIt seems like we have two options:
./configure --libdir='${prefix}/lib'
to explicitly specify the library directory, or$SAGE_LOCAL/lib64
->$SAGE_LOCAL/lib
.The symlink is the lazy thing to do but will probably break again with the next architectural change. Fixing the configure call seems the right thing to do but will need some work to patch up all spkgs.
Updated spkgs:
Note that I based the r-package on the version from #12057 (which has already been fixed); note that #12057 also contains a patch that needs to be applied.
Similarly, the mpir package is based on the version from #12139.
Depends on #12057
Depends on #12139
CC: @simon-king-jena @malb
Component: build
Author: Volker Braun, Simon King
Reviewer: Simon King, Volker Braun
Merged: sage-4.8.alpha5
Issue created by migration from https://trac.sagemath.org/ticket/12131
The text was updated successfully, but these errors were encountered: