From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 12:00:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9729F16A429 for ; Sat, 23 Jul 2005 12:00:40 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from longbow.arroway.com (mymortgageforeclosures.com [66.252.139.194]) by mx1.FreeBSD.org (Postfix) with SMTP id DBB9C43D49 for ; Sat, 23 Jul 2005 12:00:39 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: (qmail 18896 invoked by uid 1007); 23 Jul 2005 12:00:45 -0000 Received: from stormspotter@6Texans.net by longbow by uid 1004 with qmail-scanner-1.22-st-qms (clamdscan: 0.81. spamassassin: 3.0.3. Clear:RC:1(216.87.134.162):. Processed in 0.545466 secs); 23 Jul 2005 12:00:45 -0000 Received: from unknown (HELO jacob.6texans.net) (216.87.134.162) by longbow.arroway.com with SMTP; 23 Jul 2005 12:00:44 -0000 Date: Sat, 23 Jul 2005 07:00:38 -0500 From: Jacob S To: freebsd-questions@freebsd.org Message-ID: <20050723070038.7150c4c7@jacob.6texans.net> In-Reply-To: References: <20050722153540.2a74904b@jacob.6texans.net> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Mysql40-server installation problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 12:00:40 -0000 On Fri, 22 Jul 2005 21:07:56 -0500 Paul Schmehl wrote: > --On July 22, 2005 3:35:40 PM -0500 Jacob S > > wrote: > > > Hello list, > > > > I'm having some trouble getting mysql installed on a FreeBSD 5.4 > > server. When I cd to /usr/ports/databases/mysql40-server and run > > "make install", I get the following error: > > > > checking for gcc... cc > > checking for C compiler default output file name... Abort trap (core > > dumped) configure: error: C compiler cannot create executables > > See `config.log' for more details. > > ===> Script "configure" failed unexpectedly. > > Please report the problem to ale@FreeBSD.org [maintainer] and attach > > the > > "/usr/ports/databases/mysql40-server/work/mysql-4.0.25/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 > > > > You can see the full config.log at > > http://www.6texans.net/codesamples/config.log and the list of > > packages installed on the server is available at > > http://www.6texans.net/codesamples/pkg_log.txt . > > > > I've googled the problem but can't seem to find it. Make buildworld > > and make buildkernel have worked, so I don't know why the make > > install shouldn't for mysql40-server. Does anyone have any hints? > > > I had no problem building mysql40-server on FBSD 5.4. Did you cvsup > your ports before attempting the install? If not, you should do that > first. I did a full make buildworld and make buildkernel this past Tuesday and everything worked great. Just to make sure though, I did a cvsup yesterday to see if it would fix the problem as well. Still no go. I've also since found out that trying to install *any* port fails with a similar error. The key seems to be this part: "configure: error: C compiler cannot create executables". This machine has cPanel on it, so I thought maybe the compiler had been turned off in WHM, but playing with those settings didn't change anything, either. Any more tips or suggestions? TIA, Jacob