Fw: Error when install
----- Original Message -----
From: "Alexander Volk" <volk@specter.khv.ru>
To: <girgen@FreeBSD.org>
Sent: Tuesday, May 17, 2005 11:15 AM
Subject: Error when install
Show quoted text
=========== BACKUP YOUR DATA! =============
As always, backup your data before
upgrading. If the upgrade leads to a higher
minor revision (e.g. 7.3.x -> 7.4), a dump
and restore of all databases is
required. This is *NOT* done by the port!Press ctrl-C *now* if you need to pg_dump.
==============================================> Found saved configuration for postgresql-server-8.0.3
===> Extracting for postgresql-server-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.
=> Checksum OK for postgresql/postgresql-test-8.0.3.tar.bz2.
=> Checksum OK for postgresql/hier-Pg8.0.1-0.5.4.diff.gz.
=> Checksum OK for postgresql/pg-802-icu-2005-05-06.diff.gz.
===> Patching for postgresql-server-8.0.3
===> Applying distribution patches for postgresql-server-8.0.3
===> Applying extra patch
/usr/ports/databases/postgresql80-server/files/regresspatch-src-test-regress-pgregress-sh
===> Applying FreeBSD patches for postgresql-server-8.0.3
===> postgresql-server-8.0.3 depends on executable: gmake - found
===> postgresql-server-8.0.3 depends on file:
/usr/local/bin/autoconf253 -
found
===> postgresql-server-8.0.3 depends on shared library: icudata.32 -
found
===> postgresql-server-8.0.3 depends on shared library: krb5.3 - found
===> postgresql-server-8.0.3 depends on shared library: intl - found
===> postgresql-server-8.0.3 depends on shared library: pq - not found
===> Verifying install for pq in
/usr/ports/databases/postgresql80-client
===> Found saved configuration for postgresql-server-8.0.3
===> 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.4
checking host system type... i386-portbld-freebsd5.4
checking which template to use... freebsd
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... yes
checking for default port number... 5432
checking for i386-portbld-freebsd5.4-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 1Stop in /usr/ports/databases/postgresql80-client.
*** Error code 1Stop in /usr/ports/databases/postgresql80-server.
What can i do?
Best regards, Alexander
Attachments:
Alexander Volk wrote:
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.4
checking host system type... i386-portbld-freebsd5.4
checking which template to use... freebsd
checking whether to build with 64-bit integer date/time support... yes
checking whether NLS is wanted... yes
checking for default port number... 5432
checking for i386-portbld-freebsd5.4-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.
Looks like your system (or your $CC) is busted. Perhaps config.log has
more information; it doesn't seem a PostgreSQL-specific problem.
-Neil