From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 16:11: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 2B12F16A41F for ; Sat, 23 Jul 2005 16:11: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 8AFED43D45 for ; Sat, 23 Jul 2005 16:11:39 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: (qmail 29183 invoked by uid 1007); 23 Jul 2005 16:11: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.367266 secs); 23 Jul 2005 16:11:45 -0000 Received: from unknown (HELO jacob.6texans.net) (216.87.134.162) by longbow.arroway.com with SMTP; 23 Jul 2005 16:11:45 -0000 Date: Sat, 23 Jul 2005 11:11:39 -0500 From: Jacob S To: Vinicius Pavanelli Vianna Message-ID: <20050723111139.2c128f11@jacob.6texans.net> In-Reply-To: <42E26711.2030908@hacked.com.br> References: <20050722153540.2a74904b@jacob.6texans.net> <42E26711.2030908@hacked.com.br> 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 Cc: freebsd-questions@freebsd.org 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 16:11:40 -0000 On Sat, 23 Jul 2005 12:49:37 -0300 Vinicius Pavanelli Vianna wrote: > Can u try to compile a program just to check if the compiler is ok? > maybe something with the linker? > > If you had not tried it make a smalll c program like: > > ---------- > #include > #include > > int main() { > printf ("Hello\n"); > return 0; > } > --------- > > and compile it with something like "gcc -o x x.c" where x.c is this > file, from the config.log file there was no erro from the gcc, only > the exit code, so the output of gcc would be nice to check this > strange thing ;) On the problem server, this is all the information it gives: ~# gcc -v -o testc testc.c Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 Abort trap (core dumped) On a working server running the exact same version of FreeBSD (and cvsup'ed and world built at the same time) here's the output: # gcc -v -o testc testc.c Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 /usr/libexec/cc1 -quiet -v -D_LONGLONG testc.c -quiet -dumpbase testc.c -auxbase testc -version -o /var/tmp//ccGOYbxv.s ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/include End of search list. GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd) compiled by GNU C version 3.4.2 [FreeBSD] 20040728. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 /usr/bin/as -v -o /var/tmp//ccJnU5Hg.o /var/tmp//ccGOYbxv.s GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) using BFD version 2.15 [FreeBSD] 2004-05-23 /usr/bin/ld -V -dynamic-linker /libexec/ld-elf.so.1 -o testc /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /var/tmp//ccJnU5Hg.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o GNU ld version 2.15 [FreeBSD] 2004-05-23 Supported emulations: elf_i386_fbsd Unfortunately it didn't give any kind of error number and that is as verbose as I was able to get it. Feel free to tell me more things to try if you think it will help. The problem server has cPanel installed, the good server does not. (I'm sure there's a lesson to be learned there...) Thanks, Jacob