Opened 11 years ago

Closed 9 years ago

#10 closed enhancement (fixed)

[with spkg, positive review] update M2 to the 1.1 release

Reported by: was Owned by: gfurnish
Priority: major Milestone: sage-3.0.6
Component: packages: experimental Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by mabshoff)

due to an upcoming release of M2 update to current svn as recommened by the M2 developers.

This used to be:

This is on a minimal Ubuntu install without the system-wide readline-dev package. SAGE's M2 build script should use SAGE's readline, but it isn't.

configure: error: missing library: readline
{'_': './spkg-install', 'CPPFLAGS': '-I/home/was/s/local/include  ', 'SAGE_LOCAL': '/home/was/s/local', '__sage__': '', 'PYTHONHOME': '/home/was/s/local', 'SSH_CLIENT': '192.168.3.1 51123 22', 'LOGNAME': 'was', 'USER': 'was', 'HOME': '/home/was', 'PATH': '/home/was/s/spkg/build/macaulay2-2006-08-26:/home/was/s:/home/was/s/local/bin:/home/was/s:/home/was/s/local/bin:/home/was/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games', 'LD_LIBRARY_PATH': '/home/was/s/local/lib:/home/was/s/local/lib:', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-color', 'SHELL': '/bin/bash', 'LIBRARY_PATH': '/home/was/s/local/lib:/home/was/s/local/lib:', 'LANGUAGE': 'en', 'LN': 'ln', 'SAGE_STARTUP_FILE': '/home/was/.sage//init.sage', 'UNAME': 'Linux', 'EDITOR': 'vi', 'LDFLAGS': '-L/home/was/s/local/lib/ ', 'GP_DATA_DIR': '/home/was/s/local/share/pari', 'TOUCH': 'touch', 'RM': 'rm', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'SAGE_STARTUP_COMMAND': '\nfrom sage.all import *;import os; os.chdir("/home/was/s");import sage.misc.interpreter;from sage.misc.interpreter import attached_files;_=sage.misc.interpreter.load_startup_file("/home/was/.sage//init.sage");\n', 'CUR': '/home/was/s/spkg/build', 'CC': 'gcc', 'PYTHONPATH': ':/home/was/s/local/lib/python2.4', 'MKDIR': 'mkdir', 'LD': 'ld', 'SAGE_DATA': '/home/was/s/data', 'DYLD_LIBRARY_PATH': '/home/was/s/local/lib:/home/was/s/local/lib::/home/was/s/local/lib::', 'SAGE64': 'no', 'AS': 'as', 'AR': 'ar', 'RANLIB': 'ranlib', 'CP': 'cp', 'SAGE_ROOT': '/home/was/s', 'SSH_CONNECTION': '192.168.3.1 51123 192.168.3.3 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'CXX': 'g++', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/was/s/spkg/build', 'SAGE_SERVER': 'http://modular.math.washington.edu/sage/packages', 'CHMOD': 'chmod', 'HISTCONTROL': 'ignoredups', 'SHLVL': '4', 'PWD': '/home/was/s/spkg/build/macaulay2-2006-08-26', 'MV': 'mv', 'SHAREDFLAGS': '-fPIC', 'DOT_SAGE': '/home/was/.sage/', 'MAIL': '/var/mail/was', 'LS_COLORS': 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:', 'MAKE': 'make', 'SAGE_PACKAGES': '/home/was/s/spkg'}
Error configuring M2

real    16m57.258s
user    0m31.322s
sys     2m51.991s
sage: An error occured while installing macaulay2-2006-08-26
Please email William Stein <wstein@gmail.com> explaining the
problem and send him /home/was/s/install.log
If you want to try to fix the problem, *don't* just cd to
/home/was/s/spkg/build/macaulay2-2006-08-26 and type 'make'.
Instead (using bash) type "source local/bin/sage-env" from the directory
/home/was/s
in order to set all environment variables correctly, then cd to
/home/was/s/spkg/build/macaulay2-2006-08-26

Change History (26)

comment:1 Changed 11 years ago by was

  • Priority changed from major to minor

comment:2 Changed 11 years ago by was

NOTE: If you just install readline-dev (for ubuntu say), then the M2 build works.

comment:3 Changed 10 years ago by mabshoff

  • Component changed from basic arithmetic to packages
  • Owner changed from somebody to was

comment:4 Changed 10 years ago by mabshoff

  • Milestone set to sage-2.9

comment:5 Changed 10 years ago by mabshoff

There is a new Macaulay 2 release coming in a week or two. It is likely that an experimental package will appear before that.

Cheers,

Michael

comment:6 Changed 10 years ago by mabshoff

  • Owner changed from was to mabshoff

comment:7 Changed 10 years ago by mabshoff

  • Description modified (diff)
  • Priority changed from minor to major
  • Summary changed from Error building M2 under Linux without readline to update M2 to current svn release

comment:8 Changed 10 years ago by mabshoff

  • Status changed from new to assigned

comment:9 Changed 10 years ago by mabshoff

  • Milestone changed from sage-2.9 to sage-2.8.4.2

comment:10 Changed 10 years ago by mabshoff

  • Milestone changed from sage-2.8.4.2 to sage-2.9

There are too many problems at the moment, i.e. mostly that the configure script only picks up NTL from $SAGE_LOCAL, but not factory, libcf, BLAS & Lapack, so postpone this until 2.9.

Cheers,

Michael

comment:11 Changed 10 years ago by was

  • Type changed from defect to enhancement

comment:12 Changed 10 years ago by mabshoff

  • Summary changed from update M2 to current svn release to update M2 to the 1.0.9 or 1.1.0 release

comment:13 Changed 10 years ago by mabshoff

Dear Macaulay 2 users,

We've released, as a test release, version 1.0.9test of M2.  Feel free to
download it from http://www.math.uiuc.edu/Macaulay2/Downloads/TestReleases/ and
try it out.  

We hope to release 1.1 within a week, based on this test.

The corresponding subversion (svn) URL is
svn://macaulay2.math.uiuc.edu/Macaulay2/release-branches/1.1, and after release
of 1.1 there will be "stable" URL corresponding to it.

This version fixes a recently detected bug (there since 0.9.95) in computations
with rings where the variables don't all have multi-degree vectors whose first
component is strictly positive.  Answers for total Ext (it computes Ext^n(M,N)
for all n at the same time) came out wrong, because it (necessarily) makes use
of such degree vectors.

This version also introduces good support for arbitrary precision real and
complex numbers.

Dan and Mike

comment:14 follow-up: Changed 10 years ago by mhansen

Bump. What is the status of the 1.1 spkg? Is there anything I can do to help?

comment:15 in reply to: ↑ 14 Changed 10 years ago by mabshoff

Replying to mhansen:

Bump. What is the status of the 1.1 spkg? Is there anything I can do to help?

Hi mhansen: Lack of time. I have some notes that do 99.5% of the work for 1.1. We need to package various bits like boehm's gc either within the optional spkg or add some additional optional spkgs that get automatically installed. I am not sure what I will do during SD8, but maybe I will get to this.

Cheers,

Michael

comment:16 Changed 9 years ago by gfurnish

  • Summary changed from update M2 to the 1.0.9 or 1.1.0 release to [with spkg needs review] update M2 to the 1.1 release

SPKG for 1.1 on OSX and Linux available at http://sage.math.washington.edu/home/gfurnish/spkg/macaulay2-1.1.spkg

Credit to Gary Furnish and Daniel Grayson.

comment:17 Changed 9 years ago by gfurnish

  • Owner changed from mabshoff to gfurnish
  • Status changed from assigned to new
  • Summary changed from [with spkg needs review] update M2 to the 1.1 release to [with spkg, needs review] update M2 to the 1.1 release

This depends on the gdbm and boehm_gc spkgs at #3531 and #3532.

comment:18 Changed 9 years ago by was

After installing the spkgs at #3531 and #3532 successfully, I get this:

...
configure: creating ./config.status
config.status: error: cannot find input file: GNUmakefile.in

real	0m20.569s
user	0m10.182s
sys	0m6.901s
sage: An error occurred while installing macaulay2-1.1

comment:19 Changed 9 years ago by was

Never mind -- my download was corrupted (by me).

comment:20 Changed 9 years ago by mhansen

The new spkg builds without errors on my Ubuntu 8.04 Core 2 Duo machine.

comment:21 Changed 9 years ago by gfurnish

This builds successfully on bsd.sage

comment:22 Changed 9 years ago by gfurnish

  • Summary changed from [with spkg, needs review] update M2 to the 1.1 release to [with spkg, not ready for review] update M2 to the 1.1 release

We are still making some changes to clean this up even more on other OS's.

comment:23 Changed 9 years ago by mhansen

  • Summary changed from [with spkg, not ready for review] update M2 to the 1.1 release to [with spkg, positive review] update M2 to the 1.1 release

The latest spkg built and installed fine for me on Linux.

comment:24 Changed 9 years ago by mabshoff

The spkg Gary provided has been uploaded to the experimental spkg repo replacing the previous spkg.

Cheers,

Michael

comment:25 Changed 9 years ago by mabshoff

  • Component changed from packages to experimental package
  • Milestone changed from sage-3.1.1 to sage-3.0.6

Finally merged in Sage 3.0.6.rc0 :)

comment:26 Changed 9 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Finally merged in Sage 3.0.6.rc0 :)

Note: See TracTickets for help on using tickets.