Re: Mysql40-server installation problem
On Fri, 22 Jul 2005 21:07:56 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: --On July 22, 2005 3:35:40 PM -0500 Jacob S [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql40-server installation problem
--On July 23, 2005 7:00:38 AM -0500 Jacob S [EMAIL PROTECTED] wrote: On Fri, 22 Jul 2005 21:07:56 -0500 Paul Schmehl [EMAIL PROTECTED] wrote: --On July 22, 2005 3:35:40 PM -0500 Jacob S [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [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? Not from me. You just exceeded my level of expertise. I have no idea what might cause a problem that major. Sorry I can't help further. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql40-server installation problem
On Sat, 23 Jul 2005 12:49:37 -0300 Vinicius Pavanelli Vianna [EMAIL PROTECTED] 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 stdio.h #include stdlib.h 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql40-server installation problem
On Fri, 22 Jul 2005 15:35:40 -0500 Jacob S [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [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 finally cracked this one. And as cPanel problems often go, it was similar to a problem I had to fix during the make buildworld a couple days ago. For some reason cPanel has /dev/md0c mounted as /tmp and then /tmp is mounted as /var/tmp. /var/tmp was mounted noexec, but /tmp was not. And evidently /var/tmp had been mounted before /tmp, so even though ls -ld /var/tmp would show it's permissions and I could cd into it, when I tried to do an ls on anything inside of it it would tell me that /var/tmp did not exist. Gcc is now able to compile code again and ports are installing fine. I really need to find a better open source control panel so we can replace cPanel... :-) Thanks, Jacob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mysql40-server installation problem
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 [EMAIL PROTECTED] [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? Thanks, Jacob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql40-server installation problem
--On July 22, 2005 3:35:40 PM -0500 Jacob S [EMAIL PROTECTED] 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 [EMAIL PROTECTED] [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. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]