checking for Perl... yes checking for Python... no checking for Lua... no checking for Ruby... yes checking for ruby... /usr/bin/ruby checking Ruby version... 1.8.5 checking for Ruby header files... /usr/lib64/ruby/1.8/x86_64-linux configure: error: Ruby not found !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/elinks-0.11.1/work/elinks-0.11.1/config.log !!! ERROR: www-client/elinks-0.11.1 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile elinks-0.11.1.ebuild, line 66: Called econf '--sysconfdir=/etc/elinks' '--enable-leds' '--enable-256-colors' '--enable-html-highlight' '--with-gpm' '--with-zlib' '--with-bzlib' '--with-openssl' '--with-x' '--without-lua' '--with-guile' '--with-perl' '--with-ruby' '--without-idn' '--with-spidermonkey' '--disable-bittorrent' '--disable-nls' '--enable-ipv6' '--disable-smb' '--enable-ftp' '--disable-gopher' '--disable-nntp' '--disable-finger' '--enable-fastmem' ebuild.sh, line 539: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. $ cat /var/tmp/portage/elinks-0.11.1/work/elinks-0.11.1/config.log | grep --interesting-stuff configure:17354: checking for Ruby configure:17378: result: yes configure:17390: checking for ruby configure:17408: found /usr/bin/ruby configure:17421: result: /usr/bin/ruby configure:17430: checking Ruby version configure:17434: result: 1.8.5 configure:17437: checking for Ruby header files configure:17442: result: /usr/lib64/ruby/1.8/x86_64-linux configure:17496: x86_64-pc-linux-gnu-gcc -o conftest -I/usr/lib64/ruby/1.8/x86_64-linux -march=athlon64 -mtune=athlon64 -m64 -O3 -fmessage-length=0 -pipe -Wall -I/usr/include/js -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I/usr/lib64/ruby/1.8/x86_64-linux -Wl,-export-dynamic -rdynamic conftest.c -Wl\,-R -Wl\,/usr/lib64 -L/usr/lib64 -L/usr/lib64 -lruby18 -lpthread -ldl -lcrypt -lm -rdynamic -L/usr/local/lib64 /usr/lib64/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib64 -lguile -lguile-ltdl -lcrypt -lm -L/usr/lib -ljs -ldl -lgpm -lz -lbz2 -lexpat >&5 cc1: error: unrecognized command line option "-Wl\,-R" cc1: error: unrecognized command line option "-Wl\,/usr/lib64" configure:17502: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "elinks" | #define VERSION "0.11.1" | #define CONFIG_XMLTO 1 | #define MANUAL_XMLTO 1 | #define MAN_XMLTO 1 | #define CONFIG_JW 1 | #define MANUAL_JW 1 | #define CONFIG_POD2HTML 1 | #define CONFIG_DOC 1 | #define CONFIG_UNIX 1 | #define HAVE_DIRENT_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 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_FCNTL_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NETINET_IN_SYSTM_H 1 | #define HAVE_NETINET_IP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_IFADDRS_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SIGNAL_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UTSNAME_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_PWD_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_UN_H 1 | #define CONFIG_INTERLINK 1 | #define HAVE_TYPEOF 1 | #define HAVE_LONG_LONG 1 | #define HAVE_INT32_T 1 | #define HAVE_UINT32_T 1 | #define HAVE_UINT16_T 1 | #define SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define HAVE_VARIADIC_MACROS 1 | #define HAVE_REGEX_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_MMAP 1 | #define HAVE_STRFTIME 1 | #define HAVE_CFMAKERAW 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_HERROR 1 | #define HAVE_STRERROR 1 | #define HAVE_POPEN 1 | #define HAVE_UNAME 1 | #define HAVE_ACCESS 1 | #define HAVE_CHMOD 1 | #define HAVE_ALARM 1 | #define HAVE_TIMEGM 1 | #define HAVE_MREMAP 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRSTR 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMMOVE 1 | #define HAVE_BCOPY 1 | #define HAVE_STPCPY 1 | #define HAVE_STRDUP 1 | #define HAVE_INDEX 1 | #define HAVE_ISDIGIT 1 | #define HAVE_MEMPCPY 1 | #define HAVE_MEMRCHR 1 | #define HAVE_SNPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_ASPRINTF 1 | #define HAVE_VASPRINTF 1 | #define HAVE_GETIFADDRS 1 | #define HAVE_GETPWNAM 1 | #define HAVE_INET_PTON 1 | #define HAVE_INET_NTOP 1 | #define HAVE_FFLUSH 1 | #define HAVE_FSYNC 1 | #define HAVE_FSEEKO 1 | #define HAVE_FTELLO 1 | #define HAVE_SIGACTION 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_SETENV 1 | #define HAVE_PUTENV 1 | #define HAVE_GETUID 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPID 1 | #define HAVE_SETPGID 1 | #define HAVE_GETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETPGRP 1 | #define HAVE_RAISE 1 | #define HAVE_KILL 1 | #define HAVE_VA_COPY 1 | #define HAVE_SC_PAGE_SIZE 1 | #define HAVE_C99_VSNPRINTF 1 | #define HAVE_LIBDL 1 | #define HAVE_GPM_H 1 | #define CONFIG_GPM 1 | #define HAVE_ZLIB_H 1 | #define CONFIG_GZIP 1 | #define HAVE_BZLIB_H 1 | #define CONFIG_BZIP2 1 | #define CONFIG_BOOKMARKS 1 | #define HAVE_EXPAT_H 1 | #define CONFIG_XBEL_BOOKMARKS 1 | #define CONFIG_SPIDERMONKEY 1 | #define CONFIG_ECMASCRIPT 1 | #define CONFIG_GUILE 1 | #define CONFIG_PERL 1 | /* end confdefs.h. */ | #include <ruby.h> | int | main () | { | ruby_init(); | ; | return 0; | } configure:17547: error: Ruby not found I tried compiling the cited C program text by hand with the supplied gcc invocation and it compiled and ran fine. I don't know why cc1 would complain about "-Wl\,-R" and "-Wl\,/usr/lib64" when run from the script when it wouldn't complain if I did it by hand since I have only one cc1 on this system at /usr/libexec/gcc/x86_64-pc-linux-gnu/4.1.1/cc1
Created attachment 94024 [details] elinks config.log
*** This bug has been marked as a duplicate of 139376 ***