This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] Macaulay2 1.1


>>>>> Daniel R Grayson writes:

    > Dear Cygwin,

    > We'd like to distribute Macaulay 2 as an official cygwin package.  The package
    > is used by hundreds of mathematicians as part of their research, and hundreds
    > of published research papers, listed on our web site have cited it.  It has
    > been developed over the years through generous funding from the National
    > Science Foundation.

    > It is not included in a major Linux distribution.

    > The package files, including the setup.hint file, are visible at 

    >     http://www.math.uiuc.edu/Macaulay2/Repositories/cygwin/Macaulay2/

    > and are ready for uploading.

    > Here is the setup.hint file:

    >     # -*- sh -*-
    >     # this file is part of the Macaulay 2 cygwin package
    >     sdesc: "a software system for algebraic geometry research"
    >     ldesc: "Macaulay 2 is a software system for algebraic geometry research.
    >      Macaulay 2 is a software system for algebraic geometry research, written by
    >      Daniel R. Grayson and Michael E. Stillman.  Based on Groebner bases, it
    >      provides algorithms for computing homological invariants of rings and
    >      modules.
    >      Home page: http://www.math.uiuc.edu/Macaulay2/";
    >     category: Math
    >     # here are the requirements for version 1.1
    >     #   requires: cygwin lapack libgdbm4 libreadline6 libncurses8
    >     # the requirements for later versions are listed automatically and ought to be similar:
    >     requires: cygwin libgdbm4 libncurses8 libreadline6


Building from source gives:

gcc -g -O2 -O3 -Wno-unused-label -Werror-implicit-function-declaration -I../../include -I../../../../Macaulay2/d/../../include -I../../../../Macaulay2/d -I. -I../util -I../e -I../../../../Macaulay2/d/../regex -I/misc/src/Macaulay2-1.1-6/BUILD/normal/libraries/final/usr/lib/Macaulay2/Core/include  -Wno-strict-aliasing -DNDEBUG -pipe -Wall              -Wshadow -Winline -Wcast-qual -Wno-parentheses -Wno-sign-compare  -c tmp_init.c -o tmp_init.o
time gcc  -L/misc/src/Macaulay2-1.1-6/BUILD/normal/libraries/final/usr/lib/Macaulay2/Core/lib   M2types.o M2mem.o scclib.o M2lib.o gmp_aux.o gdbm_interface.o gmp_memory.o factory_allocator.o main.o version.o M2-factory.o startup.o ../regex/regex.o gmp_init.o interp.oo texmacs.oo interface.oo actors5.oo actors4.oo actors3.oo actors2.oo actors.oo evaluate.oo libfac.oo objects.oo struct.oo GC.oo util.oo common.oo convertr.oo basic.oo binding.oo parser.oo lex.oo tokens.oo engine.oo gmp.oo err.oo stdiop.oo getline.oo stdio.oo varnets.oo nets.oo ctype.oo vararray.oo varstrin.oo strings.oo system.oo C.oo  tmp_init.o ../e/error.o ../e/table.o ../e/exptable.o ../e/monordering.o ../e/complex.o ../e/rand.o ../e/points.o ../e/overflow.o ../e/exceptions.o ../e/imonorder.o ../e/sagbi.o ../e/monideal-minprimes.o ../e/dmat-LU.o ../e/lapack.o ../e/LLL.o ../e/fractionfreeLU.o ../e/ntl-interface.o ../e/mat.o ../e/dmat.o ../e/smat.o ../e/coeffrings.o ../e/Eschreyer.o ../e/gbweight.o ../e/qring.o ../e/polyquotient.o ../e/poly.o ../e/debug.o ../e/comp.o ../e/comp-gb.o ../e/comp-gb-proxy.o ../e/comp-gb-declared.o ../e/comp-res.o ../e/res-a0.o ../e/res-a0-poly.o ../e/res-a1.o ../e/res-a1-poly.o ../e/res-a2.o ../e/reducedgb.o ../e/reducedgb-field.o ../e/reducedgb-marked.o ../e/reducedgb-field-local.o ../e/reducedgb-ZZ.o ../e/montable.o ../e/montableZZ.o ../e/schorder.o ../e/monorder.o ../e/GF.o ../e/ZZ.o ../e/QQ.o ../e/RRR.o ../e/CCC.o ../e/assprime.o ../e/buffer.o ../e/comb.o ../e/det.o ../e/frac.o ../e/freemod.o ../e/gb-default.o ../e/gb-homog2.o ../e/gb-sugarless.o ../e/gb-toric.o ../e/gb-walk.o ../e/gbring.o ../e/gauss.o ../e/hermite.o ../e/hilb.o ../e/int-bag.o ../e/intarray.o ../e/matrix.o ../e/matrix-con.o ../e/mem.o ../e/monideal.o ../e/monoid.o ../e/monomial.o ../e/ntuple.o ../e/polyring.o ../e/pfaff.o ../e/relem.o ../e/ring.o ../e/ringmap.o ../e/schur.o ../e/skew.o ../e/skewpoly.o ../e/solvable.o ../e/spair.o ../e/text-io.o ../e/varpower.o ../e/weylalg.o ../e/ZZp.o ../e/ntl-internal.o ../e/ntl-debugio.o ../e/matrix-kbasis.o ../e/matrix-symm.o ../e/matrix-sort.o ../e/ring-vecs.o ../e/res-a2-gb.o ../e/engine.o ../e/factor.o ../e/x-monom.o ../e/x-monoid.o ../e/x-relem.o ../e/x-factor.o ../e/x-free.o ../e/x-mat.o ../e/x-monideal.o ../e/x-gb.o ../e/x-ringmap.o ../e/x-mutablemat.o  ../e/f4/f4.o ../e/f4/f4-syz.o ../e/f4/f4-mem.o ../e/f4/f4-monlookup.o ../e/f4/f4-types.o ../e/f4/f4-computation.o ../e/f4/f4-spairs.o ../e/f4/f4-m2-interface.o ../e/f4/monhashtable.o ../e/f4/monsort.o ../e/f4/moninfo.o ../e/f4/ntuple-monomial.o ../e/f4/varpower-monomial.o ../e/f4/gausser.o  M2inits.o  -L. -lfactory_init2 -lfac -lcf -lfactory_init1 -llapack -lblas -lntl -lgc  -lntl -lgdbm -lgc -lmpfr -lgmp -lreadline -lhistory -lstdc++ -L/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.3.0 -L/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.3.0/../../.. -lgfortranbegin -lgfortran -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lncurses  -lM2inits2 -lm -o "../bin/M2.exe".tmp
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs./usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_throw.o):(.text+0x76): undefined reference to `___w32_sharedptr_unexpected'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_throw.o):(.text+0x84): undefined reference to `___w32_sharedptr_terminate'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0xa5): undefined reference to `___w32_sharedptr_terminate'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0x122): undefined reference to `___w32_sharedptr_terminate'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0x195): undefined reference to `___w32_sharedptr_unexpected'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0x1a9): undefined reference to `___w32_sharedptr_terminate'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0x1e5): undefined reference to `___w32_sharedptr_terminate'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0x205): undefined reference to `___w32_sharedptr_unexpected'
Info: resolving _rl_attempted_completion_over by linking to __imp__rl_attempted_completion_over (auto-import)
Info: resolving __rl_comment_begin by linking to __imp___rl_comment_begin (auto-import)
Info: resolving _rl_readline_name by linking to __imp__rl_readline_name (auto-import)
Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attempted_completion_function (auto-import)
Info: resolving _rl_basic_word_break_characters by linking to __imp__rl_basic_word_break_characters (auto-import)
Info: resolving _rl_readline_version by linking to __imp__rl_readline_version (auto-import)
Info: resolving _gdbm_errno by linking to __imp__gdbm_errno (auto-import)
collect2: ld returned 1 exit status


By the way, check out Method Three: cygport from
http://cygwin.com/setup.html for packaging.

Ciao
  Volker


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]