Volevo installare un programma che si chiama Geomview (http://www.geomview.org/). Sono su Slackware 10.1.
L'errore che ottengo è
e ho notato che, nonostante il ./configure vada avanti liscio (mi avverte solo che mi manca un pacchetto non strettamente necessario), il file config.log è pieno di errori... (scusate la lunghezza)gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/Geomview -I../../../../include -g -O2 -c glob.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/Geomview -I../../../../include -g -O2 -c mallocp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/Geomview -I../../../../include -g -O2 -c porting.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/Geomview -I../../../../include -g -O2 -c ppopen.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/Geomview -I../../../../include -g -O2 -c vvec.c
c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/usr/local/Geomview -I../../../../include -g -O2 -c glibglue.C
In file included from /usr/include/c++/3.3.4/backward/streambuf.h:31,
from glibglue.C:1:
/usr/include/c++/3.3.4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
glibglue.C:2:23: strstream.h: No such file or directory
glibglue.C:3:25: stdiostream.h: No such file or directory
glibglue.C:11: error: syntax error before `*' token
glibglue.C:12: error: syntax error before `*' token
glibglue.C:15: error: syntax error before `*' token
glibglue.C: In function `stdio_mark* CC_stdio_setmark(stdio_mark*, FILE*)':
glibglue.C:24: error: 'struct stdio_mark' has no member named 'm'
glibglue.C:26: error: 'struct stdio_mark' has no member named 'instream'
glibglue.C:26: error: parse error before `(' token
glibglue.C:27: error: 'struct stdio_mark' has no member named 'm'
glibglue.C:27: error: parse error before `(' token
glibglue.C: In function `int CC_stdio_seekmark(stdio_mark*)':
glibglue.C:34: error: 'struct stdio_mark' has no member named 'instream'
glibglue.C:34: error: 'struct stdio_mark' has no member named 'm'
glibglue.C: In function `void CC_stdio_freemark(stdio_mark*)':
glibglue.C:40: error: 'struct stdio_mark' has no member named 'm'
glibglue.C:41: error: 'struct stdio_mark' has no member named 'instream'
make[5]: *** [glibglue.o] Error 1
make[5]: Leaving directory `/tmp/geomview-1.8.1/src/lib/oogl/util'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/geomview-1.8.1/src/lib/oogl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/geomview-1.8.1/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/geomview-1.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/geomview-1.8.1'
make: *** [all-recursive-am] Error 2
Solo che di questi errori non riesco a capire molto... Potete aiutarmi?This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:593: checking host system type
configure:614: checking target system type
configure:632: checking build system type
configure:686: checking for a BSD compatible install
configure:739: checking whether build environment is sane
configure:796: checking whether make sets ${MAKE}
configure:842: checking for working aclocal
configure:855: checking for working autoconf
configure:868: checking for working automake
configure:881: checking for working autoheader
configure:894: checking for working makeinfo
configure:932: checking for gcc
configurechecking whether the C compiler (gcc ) works
configuregcc -o conftest conftest.c 1>&5
configurechecking whether the C compiler (gcc ) is a cross-compiler
configurechecking whether we are using GNU C
configuregcc -E conftest.c
configurechecking whether gcc accepts -g
configurechecking for c++
configurechecking whether the C++ compiler (c++ ) works
configurec++ -o conftest conftest.C 1>&5
configurechecking whether the C++ compiler (c++ ) is a cross-compiler
configurechecking whether we are using GNU C++
configurec++ -E conftest.C
configurechecking whether c++ accepts -g
configurechecking how to run the C preprocessor
configuregcc -E conftest.c >/dev/null 2>conftest.out
configurechecking for flex
configurechecking for flex
configurechecking for yywrap in -lfl
configuregcc -o conftest -g -O2 conftest.c -lfl 1>&5
configurechecking lex output file root
configurechecking whether yytext is a pointer
configuregcc -o conftest -g -O2 conftest.c -lfl 1>&5
configurechecking for bison
configurechecking for ranlib
configurechecking for a BSD compatible install
configurechecking for dvipdf
configurechecking for X
configurechecking for dnet_ntoa in -ldnet
configuregcc -o conftest -g -O2 conftest.c -ldnet 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2111 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configurechecking for dnet_ntoa in -ldnet_stub
configuregcc -o conftest -g -O2 conftest.c -ldnet_stub 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2152 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configurechecking for gethostbyname
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking for connect
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking for remove
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking for shmat
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking for IceConnectionNumber in -lICE
configuregcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>&5
configurechecking for Xmu
configurechecking for XmuLookupStandardColormap with
configuregcc -o conftest -g -O2 conftest.c -lXmu -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 1>&5
configurechecking for motif
configurechecking for Xm/Xm.h with
configuregcc -E conftest.c >/dev/null 2>conftest.out
configure21: Xm/Xm.h: No such file or directory
configure: failed program was:
#line 2719 "configure"
#include "confdefs.h"
#include <Xm/Xm.h>
configurechecking for Xm/Xm.h with
configuregcc -E conftest.c >/dev/null 2>conftest.out
configure21: Xm/Xm.h: No such file or directory
configure: failed program was:
#line 2719 "configure"
#include "confdefs.h"
#include <Xm/Xm.h>
configurechecking for Xm/Xm.h with -I/usr/X11R6/include
configuregcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configurechecking for XmCreateForm with
configuregcc -o conftest -g -O2 conftest.c -lXm -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 1>&5
configurechecking for opengl
configurechecking for GL/gl.h with
configuregcc -E conftest.c >/dev/null 2>conftest.out
configurechecking for glBegin with
configuregcc -o conftest -g -O2 conftest.c -lGL -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 -lm 1>&5
configurechecking for gluBeginPolygon with
configuregcc -o conftest -g -O2 conftest.c -lGLU -lGL -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 -lm 1>&5
configurechecking for xforms
configurechecking for forms.h with
configuregcc -E conftest.c >/dev/null 2>conftest.out
configure21: forms.h: No such file or directory
configure: failed program was:
#line 3066 "configure"
#include "confdefs.h"
#include <forms.h>
configurechecking for forms.h with
configuregcc -E conftest.c >/dev/null 2>conftest.out
configure21: forms.h: No such file or directory
configure: failed program was:
#line 3066 "configure"
#include "confdefs.h"
#include <forms.h>
configurechecking for forms.h with -I/usr/X11R6/include
configuregcc -E -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out
configure21: forms.h: No such file or directory
configure: failed program was:
#line 3066 "configure"
#include "confdefs.h"
#include <forms.h>
configurechecking for forms.h with -I/usr/X11R6/include/X11
configuregcc -E -I/usr/X11R6/include/X11 conftest.c >/dev/null 2>conftest.out
configure21: forms.h: No such file or directory
configure: failed program was:
#line 3066 "configure"
#include "confdefs.h"
#include <forms.h>
configurechecking for forms.h with -I/usr/local/include
configuregcc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure21: forms.h: No such file or directory
configure: failed program was:
#line 3066 "configure"
#include "confdefs.h"
#include <forms.h>
configurechecking for fl_initialize with
configuregcc -o conftest -g -O2 conftest.c -lforms -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 -lm 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lforms
collect2: ld returned 1 exit status
configure: failed program was:
#line 3114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize();
int main() {
fl_initialize()
; return 0; }
configurechecking for fl_initialize with
configuregcc -o conftest -g -O2 conftest.c -lforms -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 -lm 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lforms
collect2: ld returned 1 exit status
configure: failed program was:
#line 3114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize();
int main() {
fl_initialize()
; return 0; }
configurechecking for fl_initialize with -L/usr/X11R6/lib
configuregcc -o conftest -g -O2 conftest.c -L/usr/X11R6/lib -lforms -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 -lm 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lforms
collect2: ld returned 1 exit status
configure: failed program was:
#line 3114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize();
int main() {
fl_initialize()
; return 0; }
configurechecking for fl_initialize with -L/usr/local/lib
configuregcc -o conftest -g -O2 conftest.c -L/usr/local/lib -lforms -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 -lm 1>&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lforms
collect2: ld returned 1 exit status
configure: failed program was:
#line 3114 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fl_initialize();
int main() {
fl_initialize()
; return 0; }
configurec++ -o conftest -g -O2 conftest.C 1>&5
In file included from /usr/include/c++/3.3.4/backward/streambuf.h:31,
from configure
/usr/include/c++/3.3.4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
configure47: strstream.h: No such file or directory
configure49: stdiostream.h: No such file or directory
configure: In function `int main()':
configureerror: parse error before `(' token
configure: failed program was:
#line 3304 "configure"
#include "confdefs.h"
#include <streambuf.h>
#include <strstream.h>
#include <stdiostream.h>
#include <iostream.h>
int main() {
char *mem = 0;
int len = 0;
new strstreambuf(mem, len);
; return 0; }
configurechecking whether we need to link -lm to get math functions
configuregcc -o conftest -g -O2 conftest.c 1>&5
/tmp/ccIjxkuZ.o(.text+0x14): In function `main':
/tmp/geomview-1.8.1/configureundefined reference to `sin'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3436 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
double s = sin(1.5);
; return 0; }
configurechecking whether we need to link -lsocket to get socket()
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking whether setpgrp takes no argument
configuregcc -o conftest -g -O2 conftest.c 1>&5
configure: failed program was:
#line 3496 "configure"
#include "confdefs.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/*
* If this system has a BSD-style setpgrp, which takes arguments, exit
* successfully.
*/
main()
{
if (setpgrp(1,1) == -1)
exit(0);
else
exit(1);
}
configurechecking for fmemopen
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking for __setfpucw
configuregcc -o conftest -g -O2 conftest.c 1>&5
/tmp/ccuX0W4R.o(.text+0xa): In function `main':
/tmp/geomview-1.8.1/configureundefined reference to `__setfpucw'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3547 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __setfpucw(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __setfpucw();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub___setfpucw) || defined (__stub_____setfpucw)
choke me
#else
__setfpucw();
#endif
; return 0; }
configurechecking for ANSI C header files
configuregcc -E conftest.c >/dev/null 2>conftest.out
configuregcc -o conftest -g -O2 conftest.c 1>&5
configurechecking for size_t
configurechecking whether byte ordering is bigendian
configuregcc -c -g -O2 conftest.c 1>&5
configuregcc -c -g -O2 conftest.c 1>&5
configure: In function `main':
configureerror: `not' undeclared (first use in this function)
configureerror: (Each undeclared identifier is reported only once
configureerror: for each function it appears in.)
configureerror: parse error before "big"
configure: failed program was:
#line 3757 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
; return 0; }
configurechecking for fpu_control.h
configuregcc -E conftest.c >/dev/null 2>conftest.out
configurechecking for i386/fpu_control.h
configuregcc -E conftest.c >/dev/null 2>conftest.out
configure30: i386/fpu_control.h: No such file or directory
configure: failed program was:
#line 3834 "configure"
#include "confdefs.h"
#include <i386/fpu_control.h>
configurechecking for netinet/in.h
configuregcc -E conftest.c >/dev/null 2>conftest.out
configurechecking whether ln -s works
configure:4106: checking whether sources have a lib directory
