Hello,
I'm under Windows XP Proffesional SP3 (Polish). Trying to install the newest pspp-0.8.0, configure is succesfull, please, look at the last lines of the output:
./configure --without-gui --without-cairo
...
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: WARNING: The following optional prerequisites are not installed.
You may wish to install them to obtain additional functionality:
libxml2
zlib
zlib
libreadline (which may itself require libncurses or libtermcap)
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gl/Makefile
config.status: creating po/Makefile
config.status: creating tests/atlocal
config.status: creating perl-module/lib/PSPP.pm
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
PSPP configured successfully.
Then I try to "make" and at the end I get:
make
...
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -I. -I.. -I../intl -g -O2 -Wdeclaration-after-statement -MT secure_getenv.lo -MD -MP -MF .deps/secure_getenv.Tpo -c secure_getenv.c -DDLL_EXPORT -DPIC -o .libs/secure_getenv.o
In file included from ./stdlib.h:96:0,
from secure_getenv.c:18:
./unistd.h:547:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
In file included from secure_getenv.c:18:0:
./stdlib.h:518:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
Makefile:2386: recipe for target `secure_getenv.lo' failed
make[4]: *** [secure_getenv.lo] Error 1
make[4]: Opuszczenie katalogu `/home/User/bin/pspp-0.8.0/gl'
Makefile:2413: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Opuszczenie katalogu `/home/User/bin/pspp-0.8.0/gl'
Makefile:1834: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Opuszczenie katalogu `/home/User/bin/pspp-0.8.0/gl'
Makefile:10879: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Opuszczenie katalogu `/home/User/bin/pspp-0.8.0'
Makefile:4074: recipe for target `all' failed
make: *** [all] Error 2
Could anybody help, please?
Thanks in advance!
pp