In the last episode (Dec 05), Ron Klinkien said:
> Hi,
> 
> After cvsupping and a make kernel/world I decided to update my pkg's,
> all goes well until a make in /usr/ports/database/mysql322-server.
> 
> It hangs half way the compile on...
> --- cut ---
> c++ -DMYSQL_SERVER                      -DDEFAULT_MYSQL_HOME="\"/usr/local\""  -
> DDATADIR="\"/var/db/mysql\""                    -DSHAREDIR="\"/usr/local/share/m
> ysql\""                         -DHAVE_CONFIG_H -I./../include                 -
> I./../regex                     -I. -I../include -I.. -I.    -D_LARGEFILE_SOURCE
>  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -DDBUG_OFF  -O -pipe  -fno-implic
> it-templates  -c sql_yacc.cc
> --- cut ---

sql_yacc.cc is the parser for all of mysqld, and is a 400K c++ file. 
It just takes a LONG time to compile.
 
> top showed:
>  
>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 29974 root      59   0   156M 84064K RUN      4:21 92.63% 92.63% cc1plus
> 
> any idea what is wrong?

nothing's wrong; you just need to let it finish :)  Add
"--with-low-memory" to the CONFIGURE_ARGS line in the port Makefile if
you run out of swap during the compile.

-- 
        Dan Nelson
        [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to