[Top][All Lists]

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

RE: Solaris 9: Progress and new issue for pspp 0.4.0rc3

From: DeBerry, Marshall
Subject: RE: Solaris 9: Progress and new issue for pspp 0.4.0rc3
Date: Mon, 25 Jul 2005 11:11:36 -0400

Ok, an update on compiling under Solaris:

Doing a ./configure CFLAGS=-ansi takes care of the union/structure that
was present in casefile.c issue.  Thanks for that tip, John.

A new issue pops up with cmdline.c, namely the use of <getopt.h>.
Solaris doesn't have the GNU getopt.h "package"--so, I had to set up the
GNU libgetop and "getopt.h" in this file for this to compile ok.

I've gotten a executable pspp file now, but when I do a  make check  I
now get the following for each of the tests:

Making check in tests
make[1]: Entering directory `/export/home/mdb/srcfiles/pspp-0.4.0/tests'
  /usr/local/bin/make  check-TESTS
make[2]: Entering directory `/export/home/mdb/srcfiles/pspp-0.4.0/tests'
STAT_CONFIG_PATH=/export/home/mdb/srcfiles/pspp-0.4.0/config: is not an
FAIL: command/


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of address@hidden
Sent: Sunday, July 24, 2005 8:19 PM
To: address@hidden
Cc: address@hidden
Subject: Re: Solaris 9: Progress and new issue for pspp 0.4.0rc3
Importance: Low

On second thoughts it might be the __STDC__ that's the problem.  Try 
compiling without the -ansi flag.

On Sat, Jul 23, 2005 at 09:48:13PM +0800, John Darrington wrote:

          #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)
          typedef long long               longlong_t;
          typedef unsigned long long      u_longlong_t;
          /* used to reserve space and generate alignment */
          typedef union {
                  double  _d;
                  int32_t _l[2];
          } longlong_t;
          typedef union {
                  double          _d;
                  uint32_t        _l[2];
          } u_longlong_t;
          #endif  /* __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) */
     So it looks like _NO_LONGLONG is getting defined somewhere, when it
shouldn't be.
     Try #undefing it and see what happens.

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

reply via email to

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