Date: Sat, 21 May 2005 21:19:37 -0700 (PDT) From: Jack Cheung <jack_csk@yahoo.com> To: freebsd-questions@freebsd.org Subject: postgresql-client-8.0.3 compile failure Message-ID: <20050522041937.78859.qmail@web30807.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
--0-1330263352-1116735577=:78798 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline I could not successful upgrade my postgresql-client-8.0.2 to 8.0.3 (ya, I know that I've to do manual work with psql for the vulnerabilities, but still...). The upgrade would fail at the configure portion of compilation and I could not figure out what went wrong because I did not see any report for other FreeBSD user. I've attached the error messages and my system info to this e-mail. Thanks, Jack Cheung __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1330263352-1116735577=:78798 Content-Type: text/plain; charset=US-ASCII; name="uname.txt" Content-Description: pat814045213 Content-Disposition: attachment; filename="uname.txt" FreeBSD bsd.jackcheung.com 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Sat May 7 07:34:31 UTC 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 --0-1330263352-1116735577=:78798 Content-Type: text/plain; charset=US-ASCII; name="postgresql_client_output.txt" Content-Description: pat265956433 Content-Disposition: attachment; filename="postgresql_client_output.txt" ---> Upgrading 'postgresql-client-8.0.2' to 'postgresql-client-8.0.3' (database s/postgresql80-client) ---> Building '/usr/ports/databases/postgresql80-client' ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for gettext-0.14.4 ===> Cleaning for gmake-3.80_2 ===> Cleaning for libtool-1.5.10_1 ===> Cleaning for m4-1.4.3 ===> Cleaning for perl-5.8.6_2 ===> Cleaning for krb5-1.4.1 ===> Cleaning for postgresql-client-8.0.3 ===> Vulnerability check disabled, database not found ===> Found saved configuration for postgresql-server-8.0.1_2 ===> Extracting for postgresql-client-8.0.3 => Checksum OK for postgresql/postgresql-base-8.0.3.tar.bz2. => Checksum OK for postgresql/postgresql-opt-8.0.3.tar.bz2. ===> Patching for postgresql-client-8.0.3 ===> Applying FreeBSD patches for postgresql-client-8.0.3 ===> postgresql-client-8.0.3 depends on executable: gmake - found ===> postgresql-client-8.0.3 depends on shared library: krb5.3 - found ===> postgresql-client-8.0.3 depends on shared library: intl - found ===> Configuring for postgresql-client-8.0.3 configure: WARNING: you should use --build, --host, --target checking build system type... i386-portbld-freebsd5.3 checking host system type... i386-portbld-freebsd5.3 checking which template to use... freebsd checking whether to build with 64-bit integer date/time support... no checking whether NLS is wanted... yes checking for default port number... 5432 checking for i386-portbld-freebsd5.3-gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. ===> Script "configure" failed unexpectedly. Please report the problem to girgen@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/postgresql80-client/work/postgresql-8.0.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/postgresql80-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade36727.43 ma ke ** Fix the problem and try again. --0-1330263352-1116735577=:78798 Content-Type: text/plain; charset=US-ASCII; name="pkg_list.txt" Content-Description: pat63993717 Content-Disposition: attachment; filename="pkg_list.txt" Hermes-1.3.3_1 ORBit2-2.12.2 OpenEXR-1.2.1_1 a2ps-letter-4.13b_3 apache-2.0.54 arj-3.10.21 artswrapper-1.2.1_1 aspell-0.60.2 atk-1.9.1 autoconf-2.13.000227_5 autoconf-2.53_3 autoconf-2.59_2 automake-1.4.6_1 automake-1.5_2,1 awstats-6.4 bash-2.05b.007_4 bison-1.75_2 bitstream-vera-1.10_1 bsdiff-4.2 cclient-2004c1_1,1 cdparanoia-3.9.8_7 compat4x-i386-5.3 cscope-15.5_1 cups-base-1.1.23.0_4 curl-7.13.1_1 cvsup-without-gui-16.1h_2 djbfft-0.76_2 docbook-1.3 docbook-241_2 docbook-3.0_2 docbook-3.1_2 docbook-4.0_2 docbook-4.1_2 docbook-sk-4.1.2_3 docbook-xml-4.2_1 docbook-xsl-1.68.1 elinks-0.10.3 esound-0.2.35_2 ettercap-gtk2-0.7.2_1,1 expat-1.95.8_1 ezm3-1.2 fam-2.6.9_6 flac-1.1.2 fontconfig-2.2.3,1 freebsd-update-1.6_1 freetds-msdblib-0.63 freetype2-2.1.9 fribidi-0.10.4_1 gdbm-1.8.3_1 gengetopt-2.11 gettext-0.14.4 ghostscript-gnu-nox11-7.07_12 glib-1.2.10_11 glib-2.6.4 gmake-3.80_2 gnupg-1.4.1 gnutls-1.0.24_1 gsfonts-8.11_2 gsm-1.0.10 gtk-2.6.7 help2man-1.35.1 hicolor-icon-theme-0.5 icecast-1.3.12_2 imake-6.8.2 intltool-0.33 iso8879-1986_2 ispell-3.2.06_13 jade-1.2.1_9 jasper-1.701.0 jbigkit-1.6 jpeg-6b_3 kdehier-1.0_6 krb5-1.4.1 lcms-1.14,1 libIDL-0.8.5_1 libXft-2.1.6_1 liba52-0.7.4_1 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libbonobo-2.8.1_1 libcroco-0.6.0_1 libdvdcss-1.2.8_1 libdvdread-0.9.4_1 libexif-0.6.12_1 libfame-0.9.1_1 libfpx-1.2.0.12 libgcrypt-1.2.1_1 libgmp-4.1.4 libgpg-error-1.0_1 libgphoto2-2.1.5_1 libgsf-1.11.1 libiconv-1.9.2_1 libid3tag-0.15.0b_2 libidn-0.5.16 libltdl-1.5.10 libmad-0.15.1b_1 libmcrypt-2.5.7_1 libmng-1.0.8 libmusicbrainz-2.1.1 libnet-devel-1.1.2.1 libogg-1.1.2_1,3 librep-0.16.2_4 libtool-1.3.5_2 libtool-1.5.10_1 libtunepimp-0.3.0_2 libusb-0.1.10a libvorbis-1.1.0_1,3 libxml2-2.6.19 libxslt-1.1.14 linc-1.0.3_3 linux_base-rh-7.3 linuxdoc-1.1_1 logrotate-3.7_3 lsof-4.74.2 lynx-2.8.5 m4-1.4.3 mime-support-3.33.1 mod_security-1.8.7 mutt-1.4.2.1_2 mysql-client-4.1.11_1 nano-1.2.4 nasm-0.98.39,1 nessus-gtk2-2.2.4_1 nessus-libnasl-2.2.4 nessus-libraries-2.2.4 nessus-plugins-2.2.4 net-snmp-5.2.1_2 nmap-3.81 noip-2.1.1 nspr-4.4.1_1 openldap-client-2.2.26 p5-Authen-PAM-0.14 p5-Digest-SHA1-2.10 p5-Net-SSLeay-1.25 p5-Net-XWhois-0.90_2 p5-XML-Parser-2.34_1 p5-gettext-1.03 p7zip-4.18 pango-1.8.1 pcre-5.0 pdksh-5.2.14p2 pecl-zip-1.0 perl-5.8.6_2 php5-5.0.4_1 php5-bcmath-5.0.4_1 php5-bz2-5.0.4_1 php5-ctype-5.0.4_1 php5-curl-5.0.4_1 php5-dbase-5.0.4_1 php5-dom-5.0.4_1 php5-exif-5.0.4_1 php5-extensions-1.0 php5-ftp-5.0.4_1 php5-gd-5.0.4_1 php5-gettext-5.0.4_1 php5-iconv-5.0.4_1 php5-imap-5.0.4_1 php5-ldap-5.0.4_1 php5-mcrypt-5.0.4_1 php5-mssql-5.0.4_1 php5-mysqli-5.0.4_1 php5-odbc-5.0.4_1 php5-openssl-5.0.4_1 php5-pcre-5.0.4_1 php5-pgsql-5.0.4_1 php5-posix-5.0.4_1 php5-session-5.0.4_1 php5-simplexml-5.0.4_1 php5-soap-5.0.4_1 php5-sqlite-5.0.4_1 php5-tokenizer-5.0.4_1 php5-xml-5.0.4_1 php5-xmlrpc-5.0.4_1 php5-xsl-5.0.4_1 php5-zlib-5.0.4_1 pine-4.62 pkg_tree-1.1_1 pkgconfig-0.17.2 pkgdb.db png-1.2.8_1 popt-1.7 portupgrade-20041226_2 postgresql-client-8.0.2 postgresql-server-8.0.2 psutils-letter-1.17_1 python-2.4.1_1 qmake-3.3.4 rkhunter-1.1.9 rplay-3.3.2_2 rpm-3.0.6_9 rssh-2.2.3 rsync-2.6.3_1 ruby-1.8.2_3 ruby18-bdb1-0.2.2 samba-3.0.14a,1 samba-libsmbclient-3.0.14a_2 scponly-4.1 screen-4.0.2_1 sdocbook-xml-4.1.2.5_2 sendmail-8.13.4 sgmlformat-1.7_2 shared-mime-info-0.16_1 smartmontools-5.33 speex-1.0.5,1 sudo-1.6.8.8 svgalib-1.4.3_4 t1lib-5.0.1,1 taglib-1.3.1 tcl-8.4.7,1 tiff-3.7.2 unixODBC-2.2.11 unzip-5.52_1 webmin-1.200 wget-1.8.2_7 xemacs-packages-13.0 xmlcatmgr-2.2 xorg-clients-6.8.2 xorg-fonts-encodings-6.8.2 xorg-fonts-truetype-6.8.2 xorg-libraries-6.8.2 xterm-202 zip-2.3_2 zsh-4.2.5 zziplib-0.10.82 --0-1330263352-1116735577=:78798 Content-Type: text/plain; charset=US-ASCII; name="config.log" Content-Description: pat96061160 Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by PostgreSQL configure 8.0.3, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --with-libraries=/usr/local/lib --with-includes=/usr/local/include --with-docdir=/usr/local/share/doc/postgresql --with-openssl --enable-nls --with-krb5 --prefix=/usr/local i386-portbld-freebsd5.3 ## --------- ## ## Platform. ## ## --------- ## hostname = bsd.jackcheung.com uname -m = i386 uname -r = 5.3-SECURITY uname -s = FreeBSD uname -v = FreeBSD 5.3-SECURITY #0: Sat May 7 07:34:31 UTC 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /home/jack/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1298: checking build system type configure:1316: result: i386-portbld-freebsd5.3 configure:1324: checking host system type configure:1338: result: i386-portbld-freebsd5.3 configure:1348: checking which template to use configure:1449: result: freebsd configure:1587: checking whether to build with 64-bit integer date/time support configure:1618: result: no configure:1625: checking whether NLS is wanted configure:1659: result: yes configure:1667: checking for default port number configure:1696: result: 5432 configure:1879: checking for i386-portbld-freebsd5.3-gcc configure:1905: result: cc configure:1966: checking for C compiler version configure:1969: cc --version </dev/null >&5 cc (GCC) 3.4.2 [FreeBSD] 20040728 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1972: $? = 0 configure:1974: cc -v </dev/null >&5 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 configure:1977: $? = 0 configure:1979: cc -V </dev/null >&5 cc: `-V' option must have argument configure:1982: $? = 1 configure:2008: checking for C compiler default output configure:2011: cc -O -pipe -O3 -funroll-loops -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lkrb5 -lk5crypto -lkrb5support -lcom_err conftest.c >&5 /usr/local/lib/libkrb5.so: warning: warning: mktemp() possibly used unsafely; consider using mkstemp() configure:2014: $? = 0 configure:2047: result: a.out configure:2052: checking whether the C compiler works configure:2058: ./a.out /libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_error_table_r" configure:2061: $? = 1 configure:2068: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_LDFLAGS_SL_value= ac_cv_env_LDFLAGS_set=set ac_cv_exeext= ac_cv_env_CFLAGS_set=set lt_cv_sys_max_cmd_len=65536 ac_cv_env_CPP_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_host_alias_set=set ac_cv_prog_CC=cc ac_cv_env_build_alias_set=set ac_cv_env_LDFLAGS_value=' -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -lkrb5 -lk5crypto -lkrb5support -lcom_err' ac_cv_env_target_alias_set=set ac_cv_host_alias=i386-portbld-freebsd5.3 ac_cv_env_DOCBOOKSTYLE_set= ac_cv_env_CFLAGS_value='-O -pipe -O3 -funroll-loops' ac_cv_env_CC_set=set ac_cv_build_alias=i386-portbld-freebsd5.3 ac_cv_env_CPPFLAGS_value= ac_cv_env_LDFLAGS_SL_set= ac_cv_host=i386-portbld-freebsd5.3 ac_cv_env_host_alias_value=i386-portbld-freebsd5.3 ac_cv_build=i386-portbld-freebsd5.3 ac_cv_env_build_alias_value=i386-portbld-freebsd5.3 ac_cv_env_target_alias_value=i386-portbld-freebsd5.3 ac_cv_env_DOCBOOKSTYLE_value= ac_cv_env_CC_value=cc ac_cv_env_CPP_set= ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "PostgreSQL" #define PACKAGE_TARNAME "postgresql" #define PACKAGE_VERSION "8.0.3" #define PACKAGE_STRING "PostgreSQL 8.0.3" #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" #define PG_VERSION "8.0.3" #define ENABLE_NLS 1 #define DEF_PGPORT 5432 #define DEF_PGPORT_STR "5432" configure: exit 1 --0-1330263352-1116735577=:78798--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050522041937.78859.qmail>