Ulf Kuehn on Tue, 07 Mar 2017 23:33:47 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

gp2c on OSX El Capitan , no.2


dear bill,

thanks for your hint,  to be sure of using the correct pari.cfg i reinstalled pari from git , but unfortunally still the same error occurs.

pluto:gp2c ulf$ ./configure --prefix=/Users/ulf/pari
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for perl... /opt/local/bin/perl
checking for multiarch system...
checking for PARI configuration... ./pari.cfg
checking for PARI configuration (debugging)... "not found"
checking for PARI version... 2.10.0 (DEVELOPMENT VERSION)
checking for PARI module build... /usr/bin/gcc -c -o %s.o -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -fPIC -I\"/Users/ulf/pari/include\" %s.c && /usr/bin/gcc -o %s.so -bundle -undefined dynamic_lookup -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -fPIC %s.o
checking for GP path... /Users/ulf/pari/bin/gp
checking for PARI data directory... /Users/ulf/pari/share/pari
checking for PARI description database... /Users/ulf/pari/share/pari/pari.desc
checking for RUNTEST (if needed)...
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for vprintf... yes
checking for _doprnt... no
checking for strdup... yes
checking for strtol... yes
checking for getopt... yes
checking for strcmp... yes
checking for memccpy... yes
checking for strrchr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating desc/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating test2/Makefile
config.status: creating test3/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/822_desc.pl
config.status: creating scripts/runtest
config.status: creating scripts/dotest
config.status: creating scripts/gp2c-run
config.status: creating scripts/gp2c-dbg
config.status: creating doc/gp2c-run.1
config.status: creating doc/gp2c-dbg.1
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
pluto:gp2c ulf$ make clean
Making clean in src
test -z "gp2c" || rm -f gp2c
rm -f *.o
Making clean in desc
test -z "func.dsc" || rm -f func.dsc
Making clean in scripts
make[1]: Nothing to be done for `clean'.
Making clean in doc
make[1]: Nothing to be done for `clean'.
Making clean in test
rm -f *.gp *.gp.[co] *.gp.so *.res
Making clean in test2
rm -f *.gp *.gp.[co] *.gp.so *.res
Making clean in test3
rm -f *.gp *.gp.[co] *.gp.so *.res
test -z "scripts/runtest.log" || rm -f scripts/runtest.log
test -z "scripts/runtest.trs" || rm -f scripts/runtest.trs
test -z "test-suite.log" || rm -f test-suite.log


pluto:gp2c ulf$ make check
Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-am
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT gp2c.o -MD -MP -MF .deps/gp2c.Tpo -c -o gp2c.o gp2c.c
mv -f .deps/gp2c.Tpo .deps/gp2c.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT context.o -MD -MP -MF .deps/context.Tpo -c -o context.o context.c
mv -f .deps/context.Tpo .deps/context.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT funcdesc.o -MD -MP -MF .deps/funcdesc.Tpo -c -o funcdesc.o funcdesc.c
mv -f .deps/funcdesc.Tpo .deps/funcdesc.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT funcspec.o -MD -MP -MF .deps/funcspec.Tpo -c -o funcspec.o funcspec.c
mv -f .deps/funcspec.Tpo .deps/funcspec.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT genblock.o -MD -MP -MF .deps/genblock.Tpo -c -o genblock.o genblock.c
mv -f .deps/genblock.Tpo .deps/genblock.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT gencast.o -MD -MP -MF .deps/gencast.Tpo -c -o gencast.o gencast.c
mv -f .deps/gencast.Tpo .deps/gencast.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT gencode.o -MD -MP -MF .deps/gencode.Tpo -c -o gencode.o gencode.c
mv -f .deps/gencode.Tpo .deps/gencode.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT genfunc.o -MD -MP -MF .deps/genfunc.Tpo -c -o genfunc.o genfunc.c
mv -f .deps/genfunc.Tpo .deps/genfunc.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT gentype.o -MD -MP -MF .deps/gentype.Tpo -c -o gentype.o gentype.c
mv -f .deps/gentype.Tpo .deps/gentype.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT gerepile.o -MD -MP -MF .deps/gerepile.Tpo -c -o gerepile.o gerepile.c
mv -f .deps/gerepile.Tpo .deps/gerepile.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT lang.o -MD -MP -MF .deps/lang.Tpo -c -o lang.o lang.c
mv -f .deps/lang.Tpo .deps/lang.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT moveblock.o -MD -MP -MF .deps/moveblock.Tpo -c -o moveblock.o moveblock.c
mv -f .deps/moveblock.Tpo .deps/moveblock.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT node.o -MD -MP -MF .deps/node.Tpo -c -o node.o node.c
mv -f .deps/node.Tpo .deps/node.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c
mv -f .deps/parse.Tpo .deps/parse.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT printnode.o -MD -MP -MF .deps/printnode.Tpo -c -o printnode.o printnode.c
printnode.c:48:10: warning: enumeration value 'Fnorange' not handled in switch [-Wswitch]
  switch(tree[n].f)
         ^
1 warning generated.
mv -f .deps/printnode.Tpo .deps/printnode.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT toplevel.o -MD -MP -MF .deps/toplevel.Tpo -c -o toplevel.o toplevel.c
mv -f .deps/toplevel.Tpo .deps/toplevel.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT topfunc.o -MD -MP -MF .deps/topfunc.Tpo -c -o topfunc.o topfunc.c
mv -f .deps/topfunc.Tpo .deps/topfunc.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT varlist.o -MD -MP -MF .deps/varlist.Tpo -c -o varlist.o varlist.c
mv -f .deps/varlist.Tpo .deps/varlist.Po
gcc -DHAVE_CONFIG_H -I.    -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2 -MT stack.o -MD -MP -MF .deps/stack.Tpo -c -o stack.o stack.c
mv -f .deps/stack.Tpo .deps/stack.Po
gcc -DFUNCDSC_PATH=\"/Users/ulf/pari/share/gp2c/func.dsc\" -g -O2   -o gp2c gp2c.o context.o funcdesc.o funcspec.o genblock.o gencast.o gencode.o genfunc.o gentype.o gerepile.o lang.o moveblock.o node.o parse.o printnode.o toplevel.o topfunc.o util.o varlist.o stack.o  
Making check in desc
Description recompiled
Making check in scripts
make[1]: Nothing to be done for `check'.
Making check in doc
make[1]: Nothing to be done for `check'.
Making check in test
make[1]: Nothing to be done for `check'.
Making check in test2
make[1]: Nothing to be done for `check'.
Making check in test3
make[1]: Nothing to be done for `check'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
FAIL: scripts/runtest
============================================================================
Testsuite summary for gp2c 0.0.10
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
make[3]: *** [test-suite.log] Error 1
make[2]: *** [check-TESTS] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1


best regards,
ulf