On Nov 26, 1:05 pm, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Nov 26, 1:00 pm, mabshoff <[EMAIL PROTECTED]
>
>
>
> dortmund.de> wrote:
> > On Nov 26, 12:54 pm, fwc <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 26, 8:27 am, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> > > > On Nov 25, 2007 11:51 PM, Zhang Long <[EMAIL PROTECTED]> wrote:
>
> > > > > An error occurred while installing cremona-20071116.p0, see
> > > > > install.log
>
> > > I have a similar problem, except it's cremona-20071124.p2, while
> > > upgrading this morning:
>
> > > Computer: iMac
> > > Processor: 2 GHz Intel Core 2 Duo
> > > Memory: 1 GB
> > > OS: Mac OS X 10.4.11
>
> > > This is what I got:
>
> > > cd procs && make tests progs install
> > > Makefile:93: warning: overriding commands for target `clean'
> > > ../Makefile:66: warning: ignoring old commands for target `clean'
> > > Makefile:96: warning: overriding commands for target `veryclean'
> > > ../Makefile:74: warning: ignoring old commands for target `veryclean'
> > > g++ -c -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -DNTL_ALL -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include vector.cc -o
> > > vector_n.o
> > > g++ -c -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -DNTL_ALL -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include arith.cc -o
> > > arith_n.o
> > > g++ -c -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -DNTL_ALL -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include interface.cc
> > > -o interface_n.o
> > > g++ -c -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -DNTL_ALL -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include -I/Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/include -
> > > DSCALAR_OPTION=1 vectest.cc -o vectest1_n.o
> > > g++ -o ./vectest1 vectest1_n.o vector_n.o arith_n.o interface_n.o -
> > > lpari -L/Users/mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/lib -
> > > L/Users/mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/lib -lntl -
> > > lgmp -lpari -lm
> > > /usr/bin/ld: warning can't open dynamic library: /Users/clarita/
> > > Desktop/sage-2.8.11/local/lib/libgmp.3.dylib referenced from: /Users/
> > > mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/local/lib/libntl.dylib
> > > (checking for undefined symbols may be affected) (No such file or
> > > directory, errno = 2)
> > > /usr/bin/ld: Undefined symbols:
> > > ___gmpn_add_n referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_addmul_1 referenced from libntl expected to be defined in /
> > > Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_divrem_1 referenced from libntl expected to be defined in /
> > > Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_gcd referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_gcdext referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_lshift referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_mod_1 referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_mul referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_mul_1 referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_rshift referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_sqrtrem referenced from libntl expected to be defined in /
> > > Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_sub_n referenced from libntl expected to be defined in /Users/
> > > clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > ___gmpn_tdiv_qr referenced from libntl expected to be defined in /
> > > Users/clarita/Desktop/sage-2.8.11/local/lib/libgmp.3.dylib
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [vectest1] Error 1
> > > make[1]: *** [all] Error 2
> > > Error building cremona
Hello Francis,
this bothered me enough to finally investiagte. So far I found out:
* this is an issue only on OSX 10.4, OSX 10.5 is not effected
* It isn't the gmp's fault, but libntl.dynlib hardcodes the path to
gmp somehow - I don't know why and how yet.
* a solution is to force a rebuild of NTL if one moved the location
of the Sage installation
Francis, could you verify that this fixes the issue for you?
I am currently looking at the NTL build log, maybe I can figure out
what is wrong. Help on this issue from some Machead would be greatly
appreciated. I will also update the ticket on this issue in the near
future.
We should add this issue to the FAQ in a section called "Build Issues"
together with stuff like the gen.pyx compilation issue on OpenSuSE
10.0
Sorry for all the extra traffic on this.
Cheers,
Michael
>
> > > real 0m4.606s
> > > user 0m3.748s
> > > sys 0m0.547s
> > > sage: An error occurred while installing cremona-20071124.p2
> > > Please email sage-develhttp://groups.google.com/group/sage-devel
> > > explaining the problem and send the relevant part of
> > > of /Users/mafwc/sage-2.8.12-intel-osx10.4-i386-Darwin/install.log.
> > > Describe your computer, operating system, etc.
>
> > Hello Francis,
>
> > > There was no install.log, so I can't send that.
>
> > There should be, but the problem is not related to cremona.spkg, so we
> > don't need it [this time :)].
>
> > This is issue #1184, seehttp://www.sagetrac.org/sage_trac/ticket/1184
> > - which is caused by upgrading a Sage installation that has been
> > moved. It is OSX specific (a linker issue) and so far nobody has fixed
> > it. We are working on a fix (this issue effects 17 other spkgs), but
> > as a short term workaround you should compiled Sage 2.8.14 from
> > scratch locally and then upgrade that copy once new releases come out.
>
> One more thing: You could try forcing a gmp rebuild before building
> cremona.spkg via "make" by deleteting spkg/installed/gmp*.spkg - but
> similar issues might pop up down the road with other updates.
>
> Sorry for replying to myself,
>
> Michael
>
> > > Francis Clarke
> > > Swansea University
>
> > Cheers,
>
> > Michael
>
> > > Wales, UK
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---