asir

nemo-henry% pwd
/local/henry/pari-2.2
nemo-henry% diff src/basemath/galconj.c.ori src/basemath/galconj.c
725,726c725
<     err(warner,"Combinatorics too hard : would need %Z tests!\n
<       I will skip it,but it may induce galoisinit to loop",NN);
---
>     err(warner,"Combinatorics too hard : would need %Z tests!\n I will skip it,but it may induce galoisinit to loop",NN);

nemo-henry% ./do_work.sh | & tee WORK.LOG
(voir aussi WORK.LOG.0)
nemo-henry% make install | & tee INSTALL.LOG
nemo-henry% make install-lib-sta | & tee INSTALL_LIB_STA.LOG

La librairie est /local/henry/logiciels/lib/libpari-2.2.a.2.2

nemo-henry% cd asir2000/
/local/henry/asir2000

problèmes:

if [ ! -f ./.gc_fetch_done ]; then \
                if [ ! -f /local/henry/logiciels/../OpenXM_dist/gc6.5.tar.gz ]; then \
                        /local/henry/logiciels/bin/oxfetch.sh ftp://ftp.math.kobe-u.ac.jp/pub/OpenXM/misc/gc6.5.tar.gz /local/henry/logiciels/../OpenXM_dist; \
                fi ; \
                touch ./.gc_fetch_done ; \
        fi
/bin/bash: line 2: /local/henry/logiciels/bin/oxfetch.sh: No such file or directory
if [ ! -f ./.gc_risa_done ]; then \
            (cd .; tar xzvf /local/henry/logiciels/../OpenXM_dist/gc6.5.tar.gz; patch -p0 < gc6.5-risa.diff) ; \
            touch ./.gc_risa_done ; \
        fi
tar: Failed open to read on /local/henry/logiciels/../OpenXM_dist/gc6.5.tar.gz (No such file or directory)
tar: Unexpected EOF on archive file
  Looks like a unified context diff.
File to patch: File to patch:

on va essayer de compiler manuellement:

nemo-henry% cd parse/
/local/henry/asir2000/parse
nemo-henry% make  gc_risa.o
source='gc_risa.c' object='gc_risa.o' libtool=no \
        depfile='.deps/gc_risa.Po' tmpdepfile='.deps/gc_risa.TPo' \
        depmode=gcc3 /bin/bash ../depcomp \
        gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"asir\" -DVERSION=\"20030307\" -DHMEXT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DSIZEOF_LONG=4 -DLONG_IS_32BIT=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1  -DASIR_LIBDIR=\"/usr/local/lib/asir\" -I. -I. -I../include -I../parse -I../io -I../gc/include -I/usr/openwin/include    -g -O -c `test -f gc_risa.c || echo './'`gc_risa.c
nemo-henry% file gc_risa.o
gc_risa.o:      ELF 32-bit LSB relocatable 80386 Version 1
nemo-henry% cp ~/logiciels/lib/libgc.a libasir-gc.a
nemo-henry% ar q libasir-gc.a parse/gc_risa.o
nemo-henry% ranlib parse/libparse.a

nemo-henry%

autre problèmes:

Undefined                       first referenced
 symbol                             in file
sched_yield                         libasir-gc.a(pthread_support.o)
sem_destroy                         libasir-gc.a(pthread_support.o)
...

cela vient de l'oubli des librairies suivantes: -lpthread -lrt

  • asir.txt
  • Dernière modification : 2017/08/25 09:56
  • de 127.0.0.1