Help need with installing posgtresql 7.3.6 from src.rpm - reg.
От | Shanmugasundaram Doraisamy |
---|---|
Тема | Help need with installing posgtresql 7.3.6 from src.rpm - reg. |
Дата | |
Msg-id | 4098C638.9070901@ceedees.com обсуждение исходный текст |
Ответы |
Re: Help need with installing posgtresql 7.3.6 from src.rpm - reg.
|
Список | pgsql-admin |
Dear Group, I am trying to install postgresql 7.3.6 on a Redhat7.3 machine. I have downloaded the src.rpm from the site and issued the rpm -bb postgresql.spec command and following is the output I received. Any help would be verymuch appreciated. Thanking you, Yours sincerely, Shan. Output: rpm -bb postgresql.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.32763 + umask 022 + cd /usr/src/redhat/BUILD + cd /usr/src/redhat/BUILD + rm -rf postgresql-7.3.6 + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/postgresql-7.3.6.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd postgresql-7.3.6 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,g-w,o-w . + echo 'Patch #1 (rpm-pgsql-7.3.6.patch):' Patch #1 (rpm-pgsql-7.3.6.patch): + patch -p1 -s + echo 'Patch #2 (rpm-multilib-7.3.6.patch):' Patch #2 (rpm-multilib-7.3.6.patch): + patch -p1 -s + echo 'Patch #3 (postgresql-7.3.6-tighten.patch):' Patch #3 (postgresql-7.3.6-tighten.patch): + patch -p1 -s + echo 'Patch #4 (postgresql-ppc64.patch):' Patch #4 (postgresql-ppc64.patch): + patch -p1 -s + autoconf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.79395 + umask 022 + cd /usr/src/redhat/BUILD + cd postgresql-7.3.6 + CFLAGS=-O2 -march=i386 -mcpu=i686 + export CFLAGS + CXXFLAGS=-O2 -march=i386 -mcpu=i686 + export CXXFLAGS ++ echo -O2 -march=i386 -mcpu=i686 ++ xargs -n 1 ++ grep -v ffast-math ++ xargs -n 100 + CFLAGS=-O2 -march=i386 -mcpu=i686 + export LIBNAME=lib + LIBNAME=lib + CFLAGS=-O2 -march=i386 -mcpu=i686 + export CFLAGS + CXXFLAGS=-O2 -march=i386 -mcpu=i686 + export CXXFLAGS + FFLAGS=-O2 -march=i386 -mcpu=i686 + export FFLAGS + ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --with-perl --with-tcl --with-tclconfig=/usr/lib --without-tk --with-python --with-openssl --with-pam configure: WARNING: you should use --build, --host, --target checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking which template to use... linux checking whether to build with 64-bit integer date/time support... no checking whether to build with recode support... no checking whether NLS is wanted... no checking for default port number... 5432 checking for default soft limit on number of connections... 32 checking for i386-redhat-linux-gcc... i386-redhat-linux-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i386-redhat-linux-gcc accepts -g... yes checking how to turn off strict aliasing in i386-redhat-linux-gcc... -fno-strict-aliasing configure: using CFLAGS=-O2 -march=i386 -mcpu=i686 -fno-strict-aliasing checking whether the C compiler still works... yes checking how to run the C preprocessor... i386-redhat-linux-gcc -E checking whether to build with Tcl... yes checking whether to build with Tk... no checking whether to build Perl modules... yes checking whether to build Python modules... yes checking whether to build Java/JDBC tools... no checking whether to build with Kerberos 4 support... no checking whether to build with Kerberos 5 support... no checking whether to build with PAM support... yes building with OpenSSL support configure: using CPPFLAGS= configure: using LDFLAGS= checking for gawk... gawk checking for flex... /usr/bin/flex checking whether ln -s works... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for i386-redhat-linux-ranlib... no checking for ranlib... ranlib checking for lorder... no checking for tar... /bin/tar checking for i386-redhat-linux-strip... no checking for strip... strip checking whether it is possible to strip libraries... yes checking for bison... bison -y checking for perl... /usr/bin/perl checking for Perl archlibexp... /usr/lib/perl5/5.6.1/i386-linux checking for Perl privlibexp... /usr/lib/perl5/5.6.1 checking for Perl useshrplib... false checking for flags to link embedded Perl... -L/usr/local/lib /usr/lib/perl5/5.6.1/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.6.1/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil checking for python... /usr/bin/python checking Python installation directories... /usr/lib/python1.5/ checking how to link an embedded Python application... -L/usr/lib/python1.5//config -lieee -ldl -lpthread -lm -lpython1.5 checking for main in -lbsd... yes checking for setproctitle in -lutil... no checking for main in -lm... yes checking for main in -ldl... yes checking for main in -lnsl... yes checking for main in -lsocket... no 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 -lld... no checking for main in -lcompat... no checking for main in -lBSD... no checking for main in -lgen... no checking for main in -lPW... no checking for main in -lresolv... yes checking for library containing getopt_long... none required checking for main in -lunix... no checking for library containing crypt... -lcrypt checking for __inet_ntoa in -lbind... no checking for library containing fdatasync... none required checking for shmget in -lcygipc... no checking for readline... yes (-lreadline -ltermcap) checking for inflate in -lz... yes checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for pam_start in -lpam... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking kernel/OS.h usability... no checking kernel/OS.h presence... no checking for kernel/OS.h... no checking kernel/image.h usability... no checking kernel/image.h presence... no checking for kernel/image.h... no checking SupportDefs.h usability... no checking SupportDefs.h presence... no checking for SupportDefs.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for preprocessor stringizing operator... yes checking for signed types... yes checking for working volatile... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for union semun... no checking for struct sockaddr_un... yes checking for struct cmsgcred... no checking for struct fcred... no checking for struct sockcred... no checking for z_streamp... yes checking for int timezone... yes checking types of arguments for accept()... int, struct sockaddr *, size_t * checking whether gettimeofday takes only one argument... no checking for working memcmp... yes checking for cbrt... yes checking for fcvt... yes checking for getopt_long... yes checking for memmove... yes checking for pstat... no checking for setproctitle... no checking for setsid... yes checking for sigprocmask... yes checking for sysconf... yes checking for waitpid... yes checking for dlopen... yes checking for fdatasync... yes checking whether fdatasync is declared... yes checking for PS_STRINGS... no checking for snprintf... yes checking for vsnprintf... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for isinf... yes checking for fseeko... yes checking for gethostname... yes checking for getrusage... yes checking for inet_aton... yes checking for random... yes checking for srandom... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for rint... yes checking for rl_completion_append_character... yes checking for rl_completion_matches... yes checking for rl_filename_completion_function... yes checking for finite... yes checking for sigsetjmp... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for optreset... no checking for strtoll... yes checking for strtoull... yes checking for atexit... yes checking for _LARGEFILE_SOURCE value needed for large files... 1 checking for fseeko... (cached) yes checking test program... ok 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 for unsigned long... yes checking size of unsigned long... 4 checking for short... yes checking alignment of short... 2 checking for int... yes checking alignment of int... 4 checking for long... yes checking alignment of long... 4 checking for long long int... yes checking alignment of long long int... 4 checking for double... yes checking alignment of double... 4 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for sig_atomic_t... yes checking for POSIX signal interface... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking for tclsh... /usr/bin/tclsh checking for tclConfig.sh... /usr/lib/tclConfig.sh checking for onsgmls... onsgmls checking for openjade... openjade checking for DocBook V3.1... yes checking for DocBook stylesheets... /usr/share/sgml/docbook/dsssl-stylesheets checking for collateindex.pl... /usr/bin/collateindex.pl checking for sgmlspl... sgmlspl configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking ./src/backend/port/dynloader/linux.c to src/backend/port/dynloader.c config.status: linking ./src/backend/port/sysv_sema.c to src/backend/port/pg_sema.c config.status: linking ./src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking ./src/backend/port/dynloader/linux.h to src/include/dynloader.h config.status: linking ./src/include/port/linux.h to src/include/pg_config_os.h config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port + --sysconfdir=/etc/sysconfig/pgsql --datadir=/usr/share/pgsql --with-docdir=/usr/share/doc /var/tmp/rpm-tmp.79395: --sysconfdir=/etc/sysconfig/pgsql: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.79395 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.79395 (%build)
В списке pgsql-admin по дате отправления:
Следующее
От: Tom LaneДата:
Сообщение: Re: Help need with installing posgtresql 7.3.6 from src.rpm - reg.