compilation error - Mailing list pgsql-novice

From Daniel A. Melo
Subject compilation error
Date
Msg-id 3AAF7406.B3D0D073@codata.com.br
Whole thread Raw
List pgsql-novice
Hi ALL,

My Configure

"./configure --with-perl --with-odbc"

generated this messages:

creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking echo setting...
checking setting template to... linux_i386
checking whether to support locale... disabled
checking whether to support cyrillic recode... disabled
checking whether to support multibyte... disabled
checking setting DEF_PGPORT... 5432
checking setting DEF_MAXBACKENDS... 32
checking setting USE_TCL... disabled
checking setting USE_PERL... enabled
checking setting USE_ODBC... enabled
checking setproctitle... disabled
checking setting ODBCINST...
checking setting ASSERT CHECKING... disabled
checking for gcc... gcc
checking whether the C compiler (gcc -O2 ) works... yes
checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
- setting CPPFLAGS=
- setting LDFLAGS=
checking setting debug compiler flag... using default
checking for c++... c++
checking whether the C++ compiler (c++   ) works... yes
checking whether the C++ compiler (c++   ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for include <string> in C++... no
checking for class string in C++... no
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... flex
checking for yywrap in -lfl... yes
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for find... /usr/bin/find
checking for tar... /bin/tar
checking for split... /usr/bin/split
checking for etags... /usr/bin/etags
checking for xargs... /usr/bin/xargs
checking for gzcat... no
checking for zcat... /bin/zcat
checking for perl... perl
checking for bison... /usr/bin/bison
- Using /usr/bin/bison -y -d
checking for main in -lsfio... no
checking for main in -lncurses... yes
checking for main in -ltermcap... yes
checking for main in -lreadline... yes
checking for using_history in -lreadline... yes
checking for main in -lbsd... yes
checking for main in -lutil... yes
checking for main in -lm... yes
checking for main in -ldl... yes
checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -ldld... no
checking for main in -lln... no
checking for main in -lld... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lcrypt... yes
checking for main in -lgen... no
checking for main in -lPW... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... no
checking for crypt.h... yes
checking for dld.h... no
checking for endian.h... yes
checking for float.h... yes
checking for fp_class.h... no
checking for getopt.h... yes
checking for history.h... no
checking for ieeefp.h... no
checking for limits.h... no
checking for netdb.h... no
checking for netinet/in.h... no
checking for readline.h... no
checking for readline/history.h... yes
checking for readline/readline.h... yes
checking for sys/select.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for values.h... no
checking for sys/param.h... no
checking for pwd.h... yes
checking for working const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for signed types... yes
checking for volatile... yes
checking for type of last arg to accept... int
checking for int timezone... yes
checking for gettimeofday args... 2 args
checking for union semun... no
checking for fcntl(F_SETLK)... no
checking for 8-bit clean memcmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for memmove... yes
checking for sysconf... yes
checking for sigprocmask... yes
checking for waitpid... yes
checking for setsid... yes
checking for fcvt... yes
checking for fpclass... no
checking for fp_class... no
checking for fp_class_d... no
checking for class... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for isinf... yes
checking for getrusage... yes
checking for srandom... yes
checking for gethostname... yes
checking for random... yes
checking for inet_aton... yes
checking for strerror... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoul... yes
checking for strcasecmp... yes
checking for cbrt... yes
checking for rint... yes
checking for filename_completion_function... yes
checking for getopt_long... yes
checking for finite... yes
checking for sigsetjmp... yes
checking whether 'long int' is 64 bits... no
checking whether 'long long int' is 64 bits... yes
checking whether snprintf handles 'long long int' as %lld... yes
checking alignment of short... 2
checking alignment of int... 4
checking alignment of long... 4
checking alignment of long long int... 4
checking alignment of double... 4
checking for POSIX signal interface... yes
checking for tclsh... /usr/bin/tclsh
checking for pwd.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating GNUmakefile
creating Makefile.global
creating backend/port/Makefile
creating backend/catalog/genbki.sh
creating backend/utils/Gen_fmgrtab.sh
creating bin/pg_dump/Makefile
creating bin/pg_version/Makefile
creating bin/pgtclsh/mkMakefile.tcldefs.sh
creating bin/pgtclsh/mkMakefile.tkdefs.sh
creating bin/psql/Makefile
creating include/version.h
creating interfaces/libpq/Makefile
creating interfaces/ecpg/lib/Makefile
creating interfaces/ecpg/preproc/Makefile
creating interfaces/libpq++/Makefile
creating interfaces/libpgeasy/Makefile
creating interfaces/libpgtcl/Makefile
creating interfaces/odbc/GNUmakefile
creating interfaces/odbc/Makefile.global
creating pl/plpgsql/src/Makefile
creating pl/plpgsql/src/mklang.sql
creating pl/tcl/mkMakefile.tcldefs.sh
creating test/regress/GNUmakefile
creating include/config.h
linking ./backend/port/dynloader/linux.c to backend/port/dynloader.c
linking ./backend/port/dynloader/linux.h to include/dynloader.h
linking ./include/port/linux.h to include/os.h
linking ./makefiles/Makefile.linux to Makefile.port
linking ./backend/port/tas/dummy.s to backend/port/tas.s
linking ./include/port to interfaces/odbc/port
linking ./makefiles to interfaces/odbc/makefiles
linking ./template to interfaces/odbc/template
linking ./include/config.h to interfaces/odbc/config.h


...and my  make generated these:

In file included from
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/include/limits.h:11,
                 from ../../../include/utils/timestamp.h:18,
                 from ../../../include/utils/nabstime.h:18,
                 from ../../../include/access/xact.h:18,
                 from ../../../include/utils/tqual.h:19,
                 from ../../../include/access/relscan.h:17,
                 from ../../../include/access/heapam.h:19,
                 from heaptuple.c:23:
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/include/limits.h:117:
limits.h: Arquivo ou diretório não encontrado
make[3]: *** [heaptuple.o] Error 1
make[2]: *** [submake] Error 2
make[1]: *** [access.dir] Error 2
make: *** [all] Error 2

The line 117 from limits.h has:

#ifndef _GCC_NEXT_LIMITS.H
#include_next <limits.h>...

What should i do???????


[]´s

Daniel A.




pgsql-novice by date:

Previous
From: Thomas Heinis
Date:
Subject: Memory exhausted in AllocSetAlloc()
Next
From: "Mike Hammonds"
Date:
Subject: How do I unsubscribe from this group?