Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 20:28:04 -0700 (PDT)
From:      Edwin Culp <eculp@encontacto.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41074: mysql323-server doesn't compile on i386 current.
Message-ID:  <200207280328.g6S3S4Et073545@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         41074
>Category:       ports
>Synopsis:       mysql323-server doesn't compile on i386 current.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 27 20:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Culp
>Release:        5.0-Current
>Organization:
N/A
>Environment:
FreeBSD encontacto.net 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Jul 22 06:38:33 PDT 2002     root@encontacto.net:/usr/obj/usr/src/sys/PIII850N  i386
>Description:
I have attempted compiling mysql323-server several different ways and always end with the following

cc -DMYSQL_SERVER                       -DDEFAULT_MYSQL_HOME="\"/usr/local\""                   -DDATADIR="\"/var/db/mysql\""                   -DSHAREDIR="\"/usr/local/share/mysql\""                  -DHAVE_CONFIG_H -I../bdb/build_unix -I../innobase/include                       -I./../include                  -I./../regex            -I. -I../include -I.. -I.    -DDBUG_OFF -O -pipe  -felide-constructors -fno-rtti -fno-exceptions  -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -c mysqld.cc
/usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)':
/usr/include/tcpd.h:137: too many arguments to function `void sock_host()'
mysqld.cc:2428: at this point in file
/usr/include/tcpd.h:75: too many arguments to function `int hosts_access()'
mysqld.cc:2429: at this point in file
/usr/include/tcpd.h:130: too many arguments to function `char* eval_client()'
mysqld.cc:2437: at this point in file
*** Error code 1

Stop in /usr/ports/databases/mysql323-server/work/mysql-3.23.51/sql.
*** Error code 1

>How-To-Repeat:
# cd /usr/ports/databases/mysql323-server
# make   
>Fix:
I read that the problem was the 
    CXX="${CC}"
line in the make file.  I have tried with gcc and c++ with the same results.

It does seem that removing 

 --with-libwrap

does allow it to compile but after installing I get intermittent hangs with mysql.  I don't really know if it is related.  I didn't have this
problem with 3.23.49.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207280328.g6S3S4Et073545>