pspp-dev
[Top][All Lists]
Advanced

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

Problem configuring pspp-0.10.0 on Linux Slackware 14.1


From: Frans Houweling
Subject: Problem configuring pspp-0.10.0 on Linux Slackware 14.1
Date: Sat, 2 Apr 2016 17:56:46 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

Trying to configure pspp-0.10.0 on Slackware 14.1 I get:
checking whether <wchar.h> uses 'inline' correctly... no
configure: error: <wchar.h> cannot be used with this compiler (gcc -std=gnu99 -g -O2 -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/pango-1.0 ). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
C99 mode. You have four options:
  - Add the flag -fgnu89-inline to CC and reconfigure, or
  - Fix your include files, using parts of
<http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
  - Use a gcc version older than 4.3, or
  - Don't use the flags -std=c99 or -std=gnu99.

The same issue came up two years ago for pspp-0.8.3: http://lists.gnu.org/archive/html/pspp-dev/2014-04/msg00020.html

pspp-0.10.0$ gcc --version
gcc (GCC) 4.8.2

pspp-0.10.0$ uname -a
Linux bersano 3.10.17 #2 SMP Fri Feb 14 16:45:28 CST 2014 x86_64 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

pspp-0.10.0$ whereis glibc
glibc: /usr/man/man7/glibc.7.gz /usr/share/man/man7/glibc.7.gz /usr/X11/man/man7/glibc.7.gz
pspp-0.10.0$ ls /var/log/packages/ | grep glibc
glibc-2.17-x86_64-11_slack14.1
glibc-i18n-2.17-x86_64-11_slack14.1
glibc-profile-2.17-x86_64-11_slack14.1
glibc-solibs-2.17-x86_64-11_slack14.1
glibc-zoneinfo-2016c-noarch-1_slack14.1
I attach config.log and wchar.h (the latter seems to already have the fixes configure suggests).

Thanks for your help
frans

Attachment: config.log
Description: Text Data

Attachment: wchar.h
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]