Skip to content
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

cygwin port: make all the crypto ssl-ish spkg's into dummy packages on Cygwin (where we can use the system openssl instead) #6974

Closed
williamstein opened this issue Sep 21, 2009 · 18 comments

Comments

@williamstein
Copy link
Contributor

The packages are:

Component: porting

Author: William Stein

Reviewer: Ondřej Čertík, John Palmieri, Minh Van Nguyen

Merged: Sage 4.1.2.alpha4

Issue created by migration from https://trac.sagemath.org/ticket/6974

@williamstein

This comment has been minimized.

@certik
Copy link
Contributor

certik commented Sep 21, 2009

comment:2

The package works on linux. in cygwin I got:

gcc version 4.3.2 20080827 (beta) 2 (GCC)


Detected Cygwin -- checking for OPENssl development headers, since we use openssl instead.

real 0m0.078s
user 0m0.015s
sys 0m0.015s
sage: An error occurred while installing libgpg_error-1.6.p2

it should print information what has to be installed if it fails

@certik
Copy link
Contributor

certik commented Sep 21, 2009

comment:3

now it looks good, +1 from me

@certik certik changed the title cygwin port: make all the crypto ssl-ish spkg's into dummy packages on Cygwin (where we can use the system openssl instead) [passed review] cygwin port: make all the crypto ssl-ish spkg's into dummy packages on Cygwin (where we can use the system openssl instead) Sep 21, 2009
@williamstein

This comment has been minimized.

@williamstein

This comment has been minimized.

@williamstein williamstein changed the title [passed review] cygwin port: make all the crypto ssl-ish spkg's into dummy packages on Cygwin (where we can use the system openssl instead) cygwin port: make all the crypto ssl-ish spkg's into dummy packages on Cygwin (where we can use the system openssl instead) Sep 21, 2009
@certik
Copy link
Contributor

certik commented Sep 21, 2009

comment:7

gnutls-2.2.1.p3.spkg is ok

python_gnutls-1.1.4.p5.spkg fails with:

gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/home/ondrej/tmp/sage-4.1-cygwin-i686-CYGWIN_NT-5.1/local/include/ -I/home/ondrej/tmp/sage-4.1-cygwin-i686-CYGWIN_NT-5.1/local/include/python2.6 -c gnutls/library/_gnutls_init.c -o build/temp.cygwin-1.5.25-i686-2.6/gnutls/library/_gnutls_init.o
gnutls/library/_gnutls_init.c:11:27: error: gnutls/gnutls.h: No such file or directory
gnutls/library/_gnutls_init.c:12:26: error: gnutls/extra.h: No such file or directory
gnutls/library/_gnutls_init.c:13:20: error: gcrypt.h: No such file or directory
gnutls/library/_gnutls_init.c:18: warning: data definition has no type or storage class
gnutls/library/_gnutls_init.c:18: warning: type defaults to 'int' in declaration of 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
gnutls/library/_gnutls_init.c: In function 'init_gnutls_init':
gnutls/library/_gnutls_init.c:42: warning: implicit declaration of function 'gcry_control'
gnutls/library/_gnutls_init.c:42: error: 'GCRYCTL_SET_THREAD_CBS' undeclared (first use in this function)
gnutls/library/_gnutls_init.c:42: error: (Each undeclared identifier is reported only once
gnutls/library/_gnutls_init.c:42: error: for each function it appears in.)
gnutls/library/_gnutls_init.c:42: error: 'gcry_threads_pthread' undeclared (first use in this function)
gnutls/library/_gnutls_init.c:44: warning: implicit declaration of function 'gnutls_global_init'
gnutls/library/_gnutls_init.c:45: warning: implicit declaration of function 'gnutls_global_init_extra'
error: command 'gcc' failed with exit status 1

@certik
Copy link
Contributor

certik commented Sep 21, 2009

comment:8

libgcrypt-1.4.3.p2.spkg and opencdk-0.6.6.p1.spkg are ok.

Packages that I "oked" all fail for me with:

Detected Cygwin -- checking for openssl development headers, since we use openssl instead.
On Cygwin you *must* install Cygwin's openssl-devel development package (using Cygwin's setup.exe program).

which I think is ok.

@williamstein

This comment has been minimized.

@certik
Copy link
Contributor

certik commented Sep 21, 2009

comment:10

Now even the python_gnutls-1.1.4.p5.spkg fails with:

Detected Cygwin -- checking for openssl development headers, since we use openssl instead.
On Cygwin you *must* install Cygwin's openssl-devel development package (using Cygwin's setup.exe program).

so all packages +1.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

comment:12

New gnutls package up at

http://sage.math.washington.edu/home/mvngu/release/spkg/standard/gnutls-2.2.1.p4.spkg

The only change from .p3 is checking in all existing changes in wstein's name.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

comment:13

See ticket #6758 about libgcrypt-1.4.3.p2.spkg being seriously messed up.

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

comment:14

New opencdk package up at

http://sage.math.washington.edu/home/mvngu/release/spkg/standard/opencdk-0.6.6.p2.spkg

The only change from .p1 is to add the following standard check to spkg-install:

if [ "$SAGE_LOCAL" = "" ]; then
   echo "SAGE_LOCAL undefined ... exiting";
   echo "Maybe run 'sage -sh'?"
   exit 1
fi

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

Author: William Stein

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

Reviewer: Ondřej Čertík, John Palmieri, Minh Van Nguyen

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

Merged: Sage 4.1.2.alpha3

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

comment:15

See palmieri's and my reports at #6849.

@sagetrac-mvngu sagetrac-mvngu mannequin closed this as completed Sep 27, 2009
@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

Changed merged from Sage 4.1.2.alpha3 to Sage 4.1.2.alpha4

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Sep 27, 2009

comment:16

There is no 4.1.2.alpha3. Sage 4.1.2.alpha3 was William Stein's release for working on making the notebook a standalone package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants