sql_yacc.cc never comes back because you do not have enough physical RAM, so you
are probably swapping like crazy, and your CPU is probably not the fastest
either.
As far as the binary is concerned, try this:
/usr/sbin/mysqld --skip-grant &
What is the error?
Bill MacAllister wrote:
>
> Hello,
>
> I have had problems building MySQL from sources. The gcc compiler
> never comes back from compiling sql_yacc.cc. So, after reading the
> list and seeing several suggestions that the binary be installed
> to solve such problems I tried that and am still having problems.
>
> This is a 64 mbyte Multia (Alpha) with Red Hat 6.1 freshly installed.
> Here are the results of the rpm install:
>
> %rpm -i MySQL-3.22.32-1.alpha.rpm
> Creating db table
> Creating host table
> Creating user table
> Creating func table
> Creating tables_priv table
> Creating columns_priv table
> Installation of grant tables failed!
>
> Examine the logs in /var/lib/mysql for more information.
> You can also try to start the mysqld demon with:
> /usr/sbin/mysqld --skip-grant &
> You can use the command line tool
> /usr/bin/mysql to connect to the mysql
> database and look at the grant tables:
>
> shell> /usr/bin/mysql -u root mysql
> mysql> show tables
>
> Try 'mysqld --help' if you have problems with paths. Using --log
> gives you a log in /var/lib/mysql that may be helpful.
>
> The latest information about MySQL is available on the web at
> http://www.mysql.com
> Please consult the MySQL manual section: 'Problems running mysql_install_db',
> and the manual section that describes problems on your OS.
> Another information source is the MySQL email archive.
> Please check all of the above before mailing us!
> And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
> Starting mysqld daemon with databases from /var/lib/mysql
> mysqld daemon ended
>
> -------------------------------------------------------------------
> Here is the only non-zero length file in the log area. And, yes,
> I just noticed the clock is wrong.
>
> %cat /var/lib/mysql/lark.err
> mysqld started on Sun May 14 08:59:43 PDT 2000
> mysqld ended on Sun May 14 08:59:43 PDT 2000
> mysqld started on Sun May 14 09:05:49 PDT 2000
> mysqld ended on Sun May 14 09:05:50 PDT 2000
> mysqld started on Tue May 16 06:34:11 PDT 2000
> mysqld ended on Tue May 16 06:34:11 PDT 2000
>
> -------------------------------------------------------------------
> Here is an attempt to look at the grant tables.
>
> %/usr/bin/mysql -u root mysql
> ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (61)
>
> -------------------------------------------------------------------
> And here is the debug stuff that came up in emacs. Unfortunately
> I cannot directly email from this system to the net.
>
> SEND-PR: -*- send-pr -*-
> SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
> SEND-PR: will all comments (text enclosed in `<' and `>').
> SEND-PR:
> From: mac
> To: mysql@stripped
> Subject: [50 character or so descriptive subject here (for reference)]
>
> >Description:
> <precise description of the problem (multiple lines)>
> >How-To-Repeat:
> <code/input/activities to reproduce the problem (multiple lines)>
> >Fix:
> <how to correct or work around the problem, if known (multiple lines)>
>
> >Submitter-Id: <submitter ID>
> >Originator: Bill MacAllister
> >Organization:
> <organization of PR author (multiple lines)>
> >MySQL support: [none | licence | email support | extended email support ]
> >Synopsis: <synopsis of the problem (one line)>
> >Severity: <[ non-critical | serious | critical ] (one line)>
> >Priority: <[ low | medium | high ] (one line)>
> >Category: mysql
> >Class: <[ sw-bug | doc-bug | change-request | support ] (one
> line)>
> >Release: mysql-3.22.32 (Official MySQL RPM)
>
> >Environment:
> <machine, os, target, libraries (multiple lines)>
> System: Linux lark 2.2.13-0.9 #1 Thu Dec 9 17:03:57 EST 1999 alpha unknown
> Architecture: alpha
>
> Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
> GCC: Reading specs from /usr/lib/gcc-lib/alpha-redhat-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> Compilation info: CC='egcs' CFLAGS=' -O6 -fomit-frame-pointer' CXX='egcs'
> CXXFLAGS=' -O6 -fomit-frame-pointer -felide-constructors -fno-exceptions
> -fno-rtti' LDFLAGS=''
> Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static
> --with-client-ldflags=-all-static --enable-assembler --with-mysqld-user=mysql
> --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ --exec-prefix=/usr
> --libexecdir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
> --localstatedir=/var/lib/mysql --infodir=/usr/info --includedir=/usr/include
> --mandir=/usr/man '--with-comment=Official MySQL RPM'
> Perl: This is perl, version 5.005_03 built for alpha-linux
>
> Any help will be apprecitated.
>
> Thanks,
>
> Bill
>
> +------------------------------------
> | Bill MacAllister
> | 14219 Auburn Road
> | Grass Valley, CA 95949
> | 530-272-8555
>
> --
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread37376@stripped
>
> To unsubscribe, send a message to:
> <mysql-unsubscribe-sasha=mysql.com@stripped>
--
Sasha Pachev
+------------------------------------------------------------------+
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sasha Pachev |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sasha@stripped |
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Provo, Utah, USA |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+------------------------------------------------------------------+