Re: pspp-0.8.0 install problem under Cygwin

2013-09-22 Thread John Darrington
Coincidently I tried building on Cygwin just a few days ago and didn't run into 
this problem.
However I have seen that error message before.  Usually is means that between 
gnulib and autoconf
the  wrong definition of _GL_INLINE has been assumed.

What do you see  on line 547 of gl/unistd.h ?

And what version of gcc do you have?

J'

On Sat, Sep 21, 2013 at 05:46:18PM +0200, Przemek Powalko wrote:
 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

 ___
 Pspp-users mailing list
 Pspp-users@gnu.org
 https://lists.gnu.org/mailman/listinfo/pspp-users


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.



signature.asc
Description: Digital signature
___
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users


Re: pspp-0.8.0 install problem under Cygwin

2013-09-22 Thread Przemek Powalko
Hi, thank you for a reply.

Here's the line 547 of gl/unistd.h:

_GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1)));

And gcc --version shows 4.7.3.

pp


2013/9/22 John Darrington 

> Coincidently I tried building on Cygwin just a few days ago and didn't run
> into this problem.
> However I have seen that error message before.  Usually is means that
> between gnulib and autoconf
> the  wrong definition of _GL_INLINE has been assumed.
>
> What do you see  on line 547 of gl/unistd.h ?
>
> And what version of gcc do you have?
>
> J'
>
> On Sat, Sep 21, 2013 at 05:46:18PM +0200, Przemek Powalko wrote:
>  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
>
>  ___
>  Pspp-users mailing list
>  Pspp-users@gnu.org
>  https://lists.gnu.org/mailman/listinfo/pspp-users
>
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://sks-keyservers.net or any PGP keyserver for public key.
>
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAlI/RSUACgkQimdxnC3oJ7NU8ACeOkNDlHNORG4MKUgxa8FOoERp
> zpMAnjAgmf51VyEkXh1CWRJ7luCJD7xp
> =Wt6M
> -END PGP SIGNATURE-
>
>
___
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users