From owner-freebsd-current@FreeBSD.ORG Wed Jul 4 07:55:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B0D916A41F; Wed, 4 Jul 2007 07:55:21 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from publicd.ub.mng.net (publicd.ub.mng.net [202.179.0.88]) by mx1.freebsd.org (Postfix) with ESMTP id 88B0313C46A; Wed, 4 Jul 2007 07:55:20 +0000 (UTC) (envelope-from ganbold@micom.mng.net) Received: from [202.179.0.164] (helo=daemon.micom.mng.net) by publicd.ub.mng.net with esmtpa (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I5zOy-0006Ja-3V; Wed, 04 Jul 2007 15:35:52 +0800 Message-ID: <468B4DD7.6050101@micom.mng.net> Date: Wed, 04 Jul 2007 15:35:51 +0800 From: Ganbold User-Agent: Thunderbird 2.0.0.0 (X11/20070425) MIME-Version: 1.0 To: "freebsd-current@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: gnome@FreeBSD.org, mezz@FreeBSD.org Subject: glib compile problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 07:55:21 -0000 Hi, When I'm trying to install mc from ports in today's CURRENT machine I've got following errors: It fails in glib20 configure script. Also I saw a lot of "sh: environment corrupt; missing value for" messages. ... checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... sh: environment corrupt; missing value for LC_TIME sh: environment corrupt; missing value for LC_MONETARY sh: environment corrupt; missing value for LC_CTYPE sh: environment corrupt; missing value for LC_COLLATE sh: environment corrupt; missing value for LANG sh: environment corrupt; missing value for LC_ALL sh: environment corrupt; missing value for LC_NUMERIC i486-portbld-freebsd7.0 checking host system type... i486-portbld-freebsd7.0 checking for the BeOS... no checking for Win32... no checking whether to enable garbage collector friendliness... no checking whether to disable memory pools... no checking for gcc... cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please run the gnomelogalyzer, available from "http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at gnome@FreeBSD.org, and attach (a) "/usr/ports/devel/glib20/work/glib-2.12.12/config.log", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. *** Error code 1 Stop in /usr/ports/devel/glib20. *** Error code 1 Stop in /usr/ports/devel/glib20. And the config.log says: configure:3499: $? = 0 configure:3506: cc -V >&5 cc: '-V' option must have argument configure:3509: $? = 1 configure:3532: checking for C compiler default output file name configure:3559: cc -O1 -pipe -I/usr/local/include -L/usr/local/lib -lintl conftest.c >&5 /usr/bin/ld: cannot find -lintl configure:3562: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "glib" | #define PACKAGE_TARNAME "glib" | #define PACKAGE_VERSION "2.12.12" | #define PACKAGE_STRING "glib 2.12.12" | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=glib" | #define GLIB_MAJOR_VERSION 2 | #define GLIB_MINOR_VERSION 12 | #define GLIB_MICRO_VERSION 12 | #define GLIB_INTERFACE_AGE 12 | #define GLIB_BINARY_AGE 1212 | #define G_COMPILED_WITH_DEBUGGING "minimum" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3600: error: C compiler cannot create executables See `config.log' for more details. Anybody has solved this issue before? thanks, Ganbold -- Sodd's Second Law: Sooner or later, the worst possible set of circumstances is bound to occur.