[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling pspp on linux redhat 7.2
From: |
jimd |
Subject: |
compiling pspp on linux redhat 7.2 |
Date: |
Thu, 13 Feb 2003 07:39:51 +1100 |
Hi,
I don't have debian, so un-ar'ing the .deb version is not simple.
So I downloaded the source and ran ./configure.
Then I ran make, which crashed with:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../lib -I../intl
-D_GNU_SOURCE=1 -g -Wall -W -Wno-uninitialized -Wwrite-strings
-Wstrict-prototypes -Wpointer-arith -c glob.c
In file included from /usr/include/readline/history.h:34,
from glob.c:47:
/usr/include/readline/rltypedefs.h:73: parse error before `*'
make[2]: *** [glob.o] Error 1
make[2]: Leaving directory `/home/jimd/pspp-compile/pspp-0.3.0.orig/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jimd/pspp-compile/pspp-0.3.0.orig'
make: *** [all-recursive-am] Error 2
/usr/include/readline/rltypedefs.h contains:
1 /* rltypedefs.h -- Type declarations for readline functions. */
2
3 /* Copyright (C) 2000 Free Software Foundation, Inc.
4
5 This file is part of the GNU Readline Library, a library for
6 reading lines of text with interactive input and history editing.
7
8 The GNU Readline Library is free software; you can redistribute it
9 and/or modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2, or
11 (at your option) any later version.
12
13 The GNU Readline Library is distributed in the hope that it will be
14 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 The GNU General Public License is often shipped with GNU software,
and
19 is generally kept in a file called COPYING or LICENSE. If you do
not 20 have a copy of the license, write to the Free Software Foundation,
21 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
22
23 #ifndef _RL_TYPEDEFS_H_
24 #define _RL_TYPEDEFS_H_
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 /* __P may include 'throw()' which is not valid for typedefs. */
30 #if !defined (__TP)
31 # if defined (__STDC__) || defined(__GNUC__) || defined(__cplusplus)
32 # define __TP(protos) protos
33 # else
34 # define _TP(protos) ()
35 # endif
36 #endif
37
38 /* Old-style */
39
40 #if !defined (_FUNCTION_DEF)
41 # define _FUNCTION_DEF
42
43 typedef int Function ();
44 typedef void VFunction ();
45 typedef char *CPFunction ();
46 typedef char **CPPFunction ();
47
48 #endif /* _FUNCTION_DEF */
49
50 /* New style. */
51
52 #if !defined (_RL_FUNCTION_TYPEDEF)
53 # define _RL_FUNCTION_TYPEDEF
54
55 /* Bindable functions */
56 typedef int rl_command_func_t __TP((int, int));
57
58 /* Typedefs for the completion system */
59 typedef char *rl_compentry_func_t __TP((const char *, int));
60 typedef char **rl_completion_func_t __TP((const char *, int, int));
61
62 typedef char *rl_quote_func_t __TP((char *, int, char *));
63 typedef char *rl_dequote_func_t __TP((char *, int));
64
65 typedef int rl_compignore_func_t __TP((char **));
66
67 typedef void rl_compdisp_func_t __TP((char **, int, int));
68
69 /* Type for input and pre-read hook functions like rl_event_hook */
70 typedef int rl_hook_func_t __TP((void));
71
72 /* Input function type */
73 typedef int rl_getc_func_t __TP((FILE *));
74
75 /* Generic function that takes a character buffer (which could be the
readline
76 line buffer) and an index into it (which could be rl_point) and
returns
77 an int. */
78 typedef int rl_linebuf_func_t __TP((char *, int));
79
80 /* `Generic' function pointer typedefs */
81 typedef int rl_intfunc_t __TP((int));
82 #define rl_ivoidfunc_t rl_hook_func_t
83 typedef int rl_icpfunc_t __TP((char *));
84 typedef int rl_icppfunc_t __TP((char **));
85
86 typedef void rl_voidfunc_t __TP((void));
87 typedef void rl_vintfunc_t __TP((int));
88 typedef void rl_vcpfunc_t __TP((char *));
89 typedef void rl_vcppfunc_t __TP((char **));
90 #endif /* _RL_FUNCTION_TYPEDEF */
91
92 #ifdef __cplusplus
93 }
94 #endif
95
96 #endif /* _RL_TYPEDEFS_H_ */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- compiling pspp on linux redhat 7.2,
jimd <=