----- Forwarded Message -----
From: Wayne Rogers <address@hidden>
To: "address@hidden" <address@hidden>
Sent: Thursday, September 21, 2017, 7:15:53 PM EDT
Subject: build problem for guile-reader-0.6.2
Greetings!
I have guile-2.0 installed from a package, including guile-2.0-dev. I'm having an issue running the configure script. It complains I don't have guile >= 1.8 but I have 2.0 installed. Any ideas what should be done?
Thx,
Wayne
File Edit Options Buffers Tools Help
configure:13286: checking for Guile version >= 2.0
configure:13307: result: 2.0.11
configure:13312: checking for guild
configure:13330: found /usr/bin/guild
configure:13342: result: /usr/bin/guild
configure:13354: checking for guile-config
configure:13372: found /usr/bin/guile-config
configure:13384: result: /usr/bin/guile-config
configure:13464: checking for ld used by gcc
configure:13531: result: /usr/bin/ld -m elf_x86_64
configure:13538: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:13553: result: yes
configure:13560: checking for shared library run path origin
configure:13573: result: done
configure:13658: checking for GUILE
configure:13665: $PKG_CONFIG --exists --print-errors "guile-$GUILE_EFFECTIVE_VERSION"
configure:13668: $? = 0
configure:13682: $PKG_CONFIG --exists --print-errors "guile-$GUILE_EFFECTIVE_VERSION"
configure:13685: $? = 0
configure:13743: result: yes
configure:13882: checking for guile-snarf
configure:13900: found /usr/bin/guile-snarf
configure:13913: result: /usr/bin/guile-snarf
configure:13928: checking for guild
configure:13958: result: /usr/bin/guild
configure:13970: checking for Guile site directory
configure:13973: result: /usr/share/guile/site/2.0
configure:13989: checking for scm_take_u8vector
configure:13989: gcc -o conftest -g -O2 -pthread -I/usr/include/guile/2.0 -lguile-2.0 -lgc conftest.c >&5
/tmp/cc5o5yIQ.o: In function `main':
/home/wayne/projects/guile-reader-0.6.2/conftest.c:65: undefined reference to `scm_take_u8vector'
collect2: error: ld returned 1 exit status
configure:13989: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Guile-Reader"
| #define PACKAGE_TARNAME "guile-reader"
| #define PACKAGE_VERSION "0.6.2"
| #define PACKAGE_STRING "Guile-Reader 0.6.2"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE_URL "http://nongnu.org/guile-reader/"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_STRINGS_H 1
| #define SIZEOF_VOID_P 8
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define HAVE_STRNCASECMP 1
| /* end confdefs.h. */
| /* Define scm_take_u8vector to an innocuous variant, in case <limits.h> declares scm_take_u8vector.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define scm_take_u8vector innocuous_scm_take_u8vector
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char scm_take_u8vector (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef scm_take_u8vector
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char scm_take_u8vector ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined __stub_scm_take_u8vector || defined __stub___scm_take_u8vector
| choke me
| #endif
|
| int
| main ()
| {
| return scm_take_u8vector ();
| ;
| return 0;
| }
configure:13989: result: no
configure:13997: error: You need Guile 1.8.x or higher.