Hi all!
I wanted to install snow, but the installation failed. I then remembered that I saw messages about it on the snow user's list and found out that some changes to gambit were made to fix the problem. I then wanted to update my current gambit version (4.2.2) to the newest mercury version. He is what I did:
$ make bootstrap blablabla...
$ hg pull pulling from http://www.iro.umontreal.ca/~gambit/repo/gambit/ searching for changes adding changesets adding manifests adding file changes added 21 changesets with 87 changes to 37 files (run 'hg update' to get a working copy)
$ hg update 37 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ make
It then started the re ./configure gambit so I stopped it and did it manually.
$ ./configure --prefix=/opt/gambit-c --enable-single-host blablabla
$ make making all in include make[1]: Entering directory `/home/dave/sources/gambc-v4_2_2/include' make[1]: Leaving directory `/home/dave/sources/gambc-v4_2_2/include' making all in lib make[1]: Entering directory `/home/dave/sources/gambc-v4_2_2/lib' gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H -D___PRIMAL -D___LIBRARY -D___GAMBCDIR=""/opt/gambit-c//v4.2.4"" -D___SYS_TYPE_CPU=""i686"" -D___SYS_TYPE_VENDOR=""pc"" -D___SYS_TYPE_OS=""linux-gnu"" -c _io.c In file included from _io.c:1247: ../include/gambit.h:19:30: error: gambit-not402004.h: No such file or directory In file included from _io.c:1247: ../include/gambit.h:6609: error: expected specifier-qualifier-list before ‘___SCMOBJ’ ../include/gambit.h:6672: error: expected specifier-qualifier-list before ‘___U32’ ../include/gambit.h:6683: error: expected specifier-qualifier-list before ‘___U32’ ../include/gambit.h:6728: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘___symkey_struct’ ../include/gambit.h:6734: error: expected specifier-qualifier-list before ‘___WORD’ ../include/gambit.h:6741: error: expected specifier-qualifier-list before ‘___WORD’ ../include/gambit.h:6798: error: expected declaration specifiers or ‘...’ before ‘*’ token ../include/gambit.h:6798: error: function definition declared ‘typedef’ ../include/gambit.h:6798: warning: return type defaults to ‘int’ ../include/gambit.h: In function ‘___WORD’: ../include/gambit.h:6798: error: expected declaration specifiers before ‘___P’ ../include/gambit.h:6802: error: expected specifier-qualifier-list before ‘___WORD’ ../include/gambit.h:6806: error: storage class specified for parameter ‘___label_struct’ ../include/gambit.h:6814: error: expected specifier-qualifier-list before ‘___UTF_8STRING’ ../include/gambit.h:6839: error: storage class specified for parameter ‘___module_struct’ ../include/gambit.h:6847: error: expected specifier-qualifier-list before ‘___UTF_8STRING’ ../include/gambit.h:6860: error: storage class specified for parameter ‘___linkfile_struct’ ../include/gambit.h:6866: error: expected specifier-qualifier-list before ‘___module_struct’ ../include/gambit.h:6868: error: storage class specified for parameter ‘___mod_or_lnk’ ../include/gambit.h:6874: error: expected specifier-qualifier-list before ‘___UCS_2STRING’ ../include/gambit.h:6885: error: storage class specified for parameter ‘___program_startup_info_struct’ ../include/gambit.h:6893: error: expected specifier-qualifier-list before ‘___F64’ ../include/gambit.h:7876: error: storage class specified for parameter ‘___global_state_struct’ ../include/gambit.h:7879: error: expected declaration specifiers before ‘___LOCAL’ ../include/gambit.h:7882: error: expected declaration specifiers before ‘___GLO_DECL’ ../include/gambit.h:7914: error: expected declaration specifiers before ‘___setup_params_struct’ ../include/gambit.h:8031: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8034: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8038: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8041: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8044: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8048: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8051: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8055: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8058: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8061: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8065: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8070: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8075: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8080: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8085: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8090: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8095: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8100: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8105: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8110: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8115: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8120: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8125: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8130: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8135: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8140: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8145: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8150: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8155: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8160: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8165: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8170: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8175: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8180: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8185: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8190: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8195: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8200: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8206: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8212: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8218: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8224: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8230: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8236: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8242: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8247: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8254: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8261: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8267: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8272: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8277: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8282: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8287: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8292: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8297: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8302: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8307: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8312: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8317: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8322: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8327: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8332: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8337: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8342: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8347: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8352: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8357: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8362: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8367: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8372: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8377: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8380: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8383: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8386: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8389: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8392: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8395: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8398: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8401: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8404: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8407: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8412: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8417: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8422: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8427: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8432: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8437: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8442: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8447: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8452: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8457: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8462: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8467: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8472: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8477: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8482: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8487: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8492: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8497: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8502: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8507: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8512: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8517: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8522: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8527: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8532: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8537: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8542: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8549: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8556: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8563: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8570: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8577: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8582: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8587: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8592: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8598: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8604: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8610: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8615: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8620: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8625: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8630: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8635: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8640: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8645: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8650: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8655: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8660: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8665: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8670: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8675: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8680: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8685: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8690: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8695: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8700: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8705: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8710: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8715: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8720: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8724: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8727: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8731: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8734: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8738: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8744: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8747: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8750: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8753: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8756: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8760: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8765: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8768: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8773: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8778: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8781: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8784: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8788: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8793: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8800: error: expected declaration specifiers before ‘___GSTATE_DECL’ ../include/gambit.h:8804: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8807: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8810: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8813: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8816: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8819: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8822: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8826: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8830: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8834: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8837: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8840: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8843: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8847: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8853: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8858: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8861: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8864: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8865: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8868: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8869: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8872: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8873: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8876: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8877: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8880: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8884: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8886: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8887: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8890: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8895: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8904: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8907: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8908: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8911: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8914: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8915: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8919: error: expected declaration specifiers before ‘___IMP_FUNC’ ../include/gambit.h:8922: error: expected declaration specifiers before ‘___IMP_FUNC’ _io.c:1249: error: expected declaration specifiers before ‘___NEED_SYM’ _io.c:53404: warning: this decimal constant is unsigned only in ISO C90 _io.c:53433: warning: this decimal constant is unsigned only in ISO C90 ../include/gambit.h:7876: error: declaration for parameter ‘___global_state_struct’ but no such parameter ../include/gambit.h:6885: error: declaration for parameter ‘___program_startup_info_struct’ but no such parameter ../include/gambit.h:6868: error: declaration for parameter ‘___mod_or_lnk’ but no such parameter ../include/gambit.h:6860: error: declaration for parameter ‘___linkfile_struct’ but no such parameter ../include/gambit.h:6839: error: declaration for parameter ‘___module_struct’ but no such parameter ../include/gambit.h:6806: error: declaration for parameter ‘___label_struct’ but no such parameter make[1]: *** [_io.o] Error 1 make[1]: Leaving directory `/home/dave/sources/gambc-v4_2_2/lib' make: *** [all-recursive] Error 1
There I thought that maybe I screwed up something by stopping the 1st build in the middle of the process so, I tried anew:
$ ./make clean $ ./configure --prefix=/opt/gambit-c --enable-single-host $ make
Same thing..
Is it something I forgot or wrongly did, or is this a reproductible problem?
Thanks!
David
Afficher les réponses par date
David St-Hilaire sthilaid@iro.umontreal.ca writes:
[...]
Is it something I forgot or wrongly did, or is this a reproductible problem?
I got the same thing, and I ended up just downloading the latest tarball, updating that source tree and reinstalling (make install just updates the link to current).
I would like to know the explanation, although I thought it was just a matter of the order of the steps.
Joel