Nicolas M. Thiery wrote:
On Tue, Mar 16, 2010 at 06:44:57AM -0700, Anne Schilling wrote:
The spkg is now on trac, and the patch is up and unguarded on the
Sage-Combinat patch server. So the following should hopefully get you
started:
sage -f
http://trac.sagemath.org/sage_trac/raw-attachment/ticket/8360/semigroupe-2.0.spkg
I got some error with this:
......
ld: multiple definitions of symbol _NomFichierLaTeX
.libs/Test.o definition of _NomFichierLaTeX in section (__DATA,__common)
.libs/SemigroupeModule.o definition of _NomFichierLaTeX in section
(__DATA,__data)
Thanks for the report! It was indeed linking in one file which it was
not supposed to, and that got uncaught under linux. Please try again
with the new spkg on trac. Incidentally, it (hopefully) also fixes 64
bits support.
Thanks for investigating this! I get the same (similar?) error:
....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -I semigroupe -g -O2 -MT SemigroupeModule.lo -MD -MP -MF .deps/SemigroupeModule.Tpo -c SemigroupeModule.c -fno-common -DPIC -o
.libs/SemigroupeModule.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -pedantic -I semigroupe -g -O2 -MT SemigroupeModule.lo -MD -MP -MF .deps/SemigroupeModule.Tpo -c SemigroupeModule.c -o SemigroupeModule.o
>/dev/null 2>&1
/bin/sh ./libtool --mode=link gcc -Wall -pedantic -I semigroupe -g -O2 -o libSemigroupe.la -rpath /Applications/sage/local/lib Erreurs.lo Initialisation.lo MatricesBooleennes.lo Preferences.lo
SortieLaTeXDclasses.lo TableDeS.lo Varietes.lo Arithmetique.lo Espace.lo InitiauxFinaux.lo Matrices.lo Reduction.lo SortieLaTeXVarietes.lo Test.lo Zero.lo Blocs.lo Exemples.lo InitLaTeX.lo
MatricesMaxPlus.lo Sortie.lo SortieVarietes.lo Transitions.lo Calcul.lo FichierUnix.lo Inverses.lo Memoire.lo SortieDclasses.lo SousSemigroupe.lo TriParTas.lo DclassesIteratif.lo Globales.lo Menu.lo
SortieLaTeX.lo Syntactique.lo Utilitaires.lo SemigroupeModule.lo
libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libSemigroupe.0.dylib .libs/Erreurs.o .libs/Initialisation.o .libs/MatricesBooleennes.o .libs/Preferences.o
.libs/SortieLaTeXDclasses.o .libs/TableDeS.o .libs/Varietes.o .libs/Arithmetique.o .libs/Espace.o .libs/InitiauxFinaux.o .libs/Matrices.o .libs/Reduction.o .libs/SortieLaTeXVarietes.o .libs/Test.o
.libs/Zero.o .libs/Blocs.o .libs/Exemples.o .libs/InitLaTeX.o .libs/MatricesMaxPlus.o .libs/Sortie.o .libs/SortieVarietes.o .libs/Transitions.o .libs/Calcul.o .libs/FichierUnix.o .libs/Inverses.o
.libs/Memoire.o .libs/SortieDclasses.o .libs/SousSemigroupe.o .libs/TriParTas.o .libs/DclassesIteratif.o .libs/Globales.o .libs/Menu.o .libs/SortieLaTeX.o .libs/Syntactique.o .libs/Utilitaires.o
.libs/SemigroupeModule.o -install_name /Applications/sage/local/lib/libSemigroupe.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
ld: multiple definitions of symbol _NomFichierLaTeX
.libs/Test.o definition of _NomFichierLaTeX in section (__DATA,__common)
.libs/SemigroupeModule.o definition of _NomFichierLaTeX in section
(__DATA,__data)
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libSemigroupe.la] Error 1
make: *** [all] Error 2
Error building PACKAGE_NAME.
real 0m42.239s
user 0m14.272s
sys 0m16.865s
sage: An error occurred while installing semigroupe-2.0
Greetings from Osaka,
Anne
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-de...@googlegroups.com.
To unsubscribe from this group, send email to
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sage-combinat-devel?hl=en.