-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
Install zlib shared objects on Cygwin #13914
Comments
comment:2
Is this somehow related to #13354? |
comment:4
I mean it is unrelated because zlib does not use autotools at all. If you really want it can be related in the sense that in the end the problem is that shared objects are not installed (even though in the autotools case they are not even built). |
comment:5
That is what I meant, I guess. So this would remove the zlib-devel dependency on Win 7, okay, I understand now. |
This comment has been minimized.
This comment has been minimized.
comment:7
Something wrong here, this does not install the shared files properly... |
comment:8
Groumpf that was SHARED_MOD, not SHARED_OBJECT... |
Spkg diff, for review only. |
comment:9
Attachment: zlib-1.2.6.p0.diff.gz Spkg should be fine now and installed successfully on my system. |
comment:10
Well, at least it installs on mine as well, though of course I already had zlib. I guess the diff looks ok too and only touches Cygwin, correct? Is there any other spkg or something I should wait for building to give this positive review (i.e., one that depends on it), and how would I know if things were linked against this as opposed to the system one? (I don't know what zlib does or how it is used, big surprise.) |
comment:11
You can run ldd on libs which should use zlib, I'd say it's the case of libgd and libfreetype (from inside a Sage shell). |
comment:12
Sadly, after a required BLODA upgrade to allow my internet access with this machine, Sage won't build - nothing reliable, just the usual horrible stuff and rebasing just delays the pain. Python package in particular is affected. So I wonder whether we should just do this and assume it works on XP. Sorry. |
comment:13
Maybe Dima can have a look? |
comment:14
Replying to @jpflori:
I'll try to build sage 5.7.beta0 on Cygwin... |
comment:15
Replying to @dimpase:
OK, it builds and works on 64-bit Windows 7 with the latest stable Cygwin, and native Cygwin gcc and gfortran. This ticket looks good, positive review. |
comment:16
Replying to @kcrisman:
Speaking of which, do you by chance use the script |
comment:17
I did not even know it existed... |
comment:18
Replying to @jdemeyer:
this script, which basically runs the same 2 shell commands as we use to rebase Sage, must be run in a non-cygwin shell (Cygwin includes a copy of dash for this purpose), not in bash. Perhaps we should convert it into a dash script. |
comment:19
My question about |
comment:20
Replying to @jdemeyer:
with some work, it can be made useful. I'll open a ticket for this. |
comment:21
Huh, I didn't know this. Note that on some systems "ash" is needed, not "dash". |
comment:22
Replying to @kcrisman:
Well, I suppose it's the matter of installing |
comment:23
Then that would need to be an additional prerequisite for building Sage on Cygwin, which it currently is not. |
comment:24
Replying to @kcrisman:
we should switch from ash to dash, at least that's what Cygwin people were saying already in 2009. |
comment:25
I'd say let's keep the file, I guess it is really samll and can be useful for people not used to rebasing. |
comment:27
This fails to install on OS X 10.8: http://build.sagemath.org/sage/builders/Dehaye%20%28OSX%2010.8%20x86_64%29/builds/56/steps/shell_6/logs/zlib |
comment:28
Does it work with gcc? |
comment:29
Anyway I don't really think this ticket is related. |
comment:30
PLEASE at least double-check before saying that it's not your fault, especially when the failure is so obvious. Your spkg is totally badly packaged, it even contains compiled |
comment:31
Oh, ok, my fault then. |
comment:32
Next time state the obvious problem at once instead of linking to a not so obvious for anyone log... And I don't usually look into the src folder, too bad this one comes from a test build and is not vanilla. |
comment:33
The newly uploaded spkg should be clean. |
comment:34
Replying to @jpflori:
"obvious" refered to the fact that a zlib build failure might likely be caused by a zlib package update. I hadn't checked the spkg at that point. |
comment:35
I've checked that the spkg src/ directory didn't change from the previous version. It also builds on OSX 10.6.8 and on Cygwin. Positive review. |
Merged: sage-5.7.beta4 |
We need to modify the makefile so that SHARED_OBJECT is set to 1.
Use spkg at
http://boxen.math.washington.edu/home/jpflori/zlib-1.2.6.p0.spkg
CC: @kcrisman @dimpase
Component: packages: standard
Keywords: cygwin zlib spkg
Author: Jean-Pierre Flori
Reviewer: Dmitrii Pasechnik
Merged: sage-5.7.beta4
Issue created by migration from https://trac.sagemath.org/ticket/13914
The text was updated successfully, but these errors were encountered: