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

Extra includes needed for letterplace for Cygwin on XP #13802

Closed
kcrisman opened this issue Dec 5, 2012 · 14 comments
Closed

Extra includes needed for letterplace for Cygwin on XP #13802

kcrisman opened this issue Dec 5, 2012 · 14 comments

Comments

@kcrisman
Copy link
Member

kcrisman commented Dec 5, 2012

Executing 327 commands (using 1 thread) 
gcc -I/usr/include/ncurses -fno-strict-aliasing -fwrapv -DNDEBUG -g - 
fwrapv -O3 -Wall -Wstrict-prototypes -I/home/newsagetest/sage-5.5.rc0/ 
local/include/singular/ -I/home/newsagetest/sage-5.5.rc0/local/include 
-I/home/newsagetest/sage-5.5.rc0/local/include/csage -I/home/ 
newsagetest/sage-5.5.rc0/devel/sage/sage/ext -I/home/newsagetest/ 
sage-5.5.rc0/local/include/python2.7 -c sage/algebras/letterplace/ 
free_algebra_letterplace.cpp -o build/temp.cygwin-1.7.9-i686-2.7/sage/ 
algebras/letterplace/free_algebra_letterplace.o -w 
cc1plus: warning: command line option "-Wstrict-prototypes" is valid 
for Ada/C/ObjC but not for C++ 
g++ -shared -Wl,--enable-auto-image-base -L/home/newsagetest/ 
sage-5.5.rc0/local/lib build/temp.cygwin-1.7.9-i686-2.7/sage/algebras/ 
letterplace/free_algebra_letterplace.o -L/home/newsagetest/ 
sage-5.5.rc0/local/lib -L/home/newsagetest/sage-5.5.rc0/local/lib/ 
python2.7/config -lcsage -lstdc++ -lntl -lpython2.7 -o build/ 
lib.cygwin-1.7.9-i686-2.7/sage/algebras/letterplace/ 
free_algebra_letterplace.dll 
build/temp.cygwin-1.7.9-i686-2.7/sage/algebras/letterplace/ 
free_algebra_letterplace.o: In function 
`__static_initialization_and_destruction_0': 
/home/newsagetest/sage-5.5.rc0/local/include/factory/factory.h:199: 
undefined reference to `initCanonicalForm()' 
collect2: ld returned 1 exit status 
error: command 'g++' failed with exit status 1 
gcc -I/usr/include/ncurses -fno-strict-aliasing -fwrapv -DNDEBUG -g - 
fwrapv -O3 -Wall -Wstrict-prototypes -I/home/newsagetest/sage-5.5.rc0/ 
local/include/singular/ -I/home/newsagetest/sage-5.5.rc0/local/include 
-I/home/newsagetest/sage-5.5.rc0/local/include/csage -I/home/ 
newsagetest/sage-5.5.rc0/devel/sage/sage/ext -I/home/newsagetest/ 
sage-5.5.rc0/local/include/python2.7 -c sage/algebras/letterplace/ 
free_algebra_element_letterplace.cpp -o build/temp.cygwin-1.7.9- 
i686-2.7/sage/algebras/letterplace/free_algebra_element_letterplace.o - 
w 
Error installing modified sage library code. 

Apply attachment: trac_13802-cygwin.patch.

Upstream: None of the above - read trac for reasoning.

CC: @jpflori @alexanderdreyer

Component: porting: Cygwin

Author: Karl-Dieter Crisman

Reviewer: Alexander Dreyer

Merged: sage-5.6.beta0

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

@kcrisman kcrisman added this to the sage-5.6 milestone Dec 5, 2012
@kcrisman
Copy link
Member Author

kcrisman commented Dec 5, 2012

comment:1

Presumably the fix is to add SAGE_INC + 'factory' to module_list.py, maybe also the libraries. Sloppy work at #7797, perhaps?

@kcrisman
Copy link
Member Author

kcrisman commented Dec 5, 2012

comment:2

Okay, I added that and the singular_libs, and it seems to be working.

@kcrisman
Copy link
Member Author

kcrisman commented Dec 5, 2012

Apply to Sage library

@kcrisman

This comment has been minimized.

@kcrisman
Copy link
Member Author

kcrisman commented Dec 5, 2012

Author: Karl-Dieter Crisman

@kcrisman
Copy link
Member Author

kcrisman commented Dec 5, 2012

comment:3

Attachment: trac_13802-cygwin.patch.gz

Apply trac_13802-cygwin.patch

I don't know how to have anyone review this beyond someone with Cygwin on XP. Maybe someone from #7797 can at least verify it's not bad?

@kcrisman
Copy link
Member Author

kcrisman commented Dec 5, 2012

comment:4

This does work on Mac 10.7 and sage.math, so hopefully someone can independently confirm that and check that the patch makes sense.

@alexanderdreyer
Copy link
Mannequin

alexanderdreyer mannequin commented Dec 6, 2012

Reviewer: Alexander Dreyer

@alexanderdreyer
Copy link
Mannequin

alexanderdreyer mannequin commented Dec 6, 2012

Upstream: None of the above - read trac for reasoning.

@alexanderdreyer
Copy link
Mannequin

alexanderdreyer mannequin commented Dec 6, 2012

comment:5

I can confirm, that the patch makes sense, it is consistent with the other Singular-based modules, and it does not harm anything on other platforms.

So positive review!

@kcrisman
Copy link
Member Author

kcrisman commented Dec 6, 2012

comment:6

Thanks!

@jpflori
Copy link

jpflori commented Dec 6, 2012

comment:7

I can confirm this is also needed and working on 64 bits Windows 7.

@jdemeyer
Copy link

Merged: sage-5.6.beta0

@jdemeyer

This comment has been minimized.

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

3 participants