FreeBSD Port: mysql-server-5.0.41

Zavam, Vinícius egypcio at gmail.com
Fri Jun 29 00:48:16 UTC 2007


2007/6/28, Leandro Conde Trombini <leandro.trombini at itelefonica.com.br>:
> Hi, I took the file with right MD5 but I received the following error
> messages:
>
> ngnsvr02# make install clean
> ===>  Building for mysql-server-5.0.41
> make  all-recursive
> Making all in include
> make  all-am
> Making all in Docs
> Making all in strings
> Making all in mysys
> Making all in dbug
> Making all in extra
> make  all-recursive
> Making all in regex
> Making all in bdb
> cd build_unix && make all
> /bin/sh ./libtool --mode=compile cc -c -I. -I../.././bdb/dist/..
> -I../.././bdb/dist/../dbinc  -D_THREAD_SAFE  -DDBUG_OFF -O2
> -fno-strict-aliasing -pipe ../.././bdb/dist/../rep/rep_record.c
> cc -c -I. -I../.././bdb/dist/.. -I../.././bdb/dist/../dbinc -D_THREAD_SAFE
> -DDBUG_OFF -O2 -fno-strict-aliasing -pipe
> ../.././bdb/dist/../rep/rep_record.c -o rep_record.o
> ../.././bdb/dist/../rep/rep_record.c: In function `__rep_process_message':
> ../.././bdb/dist/../rep/rep_record.c:143: error: stray '\25' in program
> ../.././bdb/dist/../rep/rep_record.c:143: error: syntax error before
> "log_compare"
> ../.././bdb/dist/../rep/rep_record.c:143:41: invalid suffix "p-" on integer
> constant
> ../.././bdb/dist/../rep/rep_record.c:144: error: `dBlp' undeclared (first
> use in this function)
> ../.././bdb/dist/../rep/rep_record.c:144: error: (Each undeclared identifier
> is reported only once
> ../.././bdb/dist/../rep/rep_record.c:144: error: for each function it
> appears in.)
> ../.././bdb/dist/../rep/rep_record.c:148: error: `RAP_VOTE1' undeclared
> (first use in this function)
> *** Error code 1
>
> Stop in
> /usr/ports/databases/mysql50-server/work/mysql-5.0.41/bdb/build_unix.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.41/bdb.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.41.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.41.
> *** Error code 1
>
> Stop in /usr/ports/databases/mysql50-server.
>
> Any help I´ll be thankful.
> Regards.
>
> Leandro Conde Trombini.

I've installed without problems.

dv6130us# make MASTER_SITE_OVERRIDE=ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
install clean
(...)
test -z "/usr/local/share/mysql" ||
/usr/ports/databases/mysql50-server/work/mysql-5.0.41/install-sh -d
"/usr/local/share/mysql"
 install  -o root -g wheel -m 555 'mysql.server'
'/usr/local/share/mysql/mysql.server'
Added group "mysql".
Added user "mysql".
************************************************************************

Remember to run mysql_upgrade (with the optional --datadir=<dbdir> flag)
the first time you start the MySQL server after an upgrade from an
earlier version.

************************************************************************
install-info --quiet /usr/local/info/mysql.info /usr/local/info/dir
===> Installing rc.d startup script(s)
===>   Compressing manual pages for mysql-server-5.0.41
===>   Registering installation for mysql-server-5.0.41
===> SECURITY REPORT:
      This port has installed the following files, which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/mysqld

      This port has installed the following startup scripts, which may cause
      these network services to be started at boot time.
/usr/local/etc/rc.d/mysql-server

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.mysql.com/
===>  Cleaning for mysql-server-5.0.41
dv6130us# rehash
dv6130us# mysq
mysql                       mysql_upgrade               mysqlbug
             mysqlshow
mysql_config                mysql_upgrade_shell         mysqlcheck
             mysqltest
mysql_fix_privilege_tables  mysql_waitpid               mysqld_safe
             mysqltestmanager-pwgen
mysql_install_db            mysqladmin                  mysqldump
             mysqltestmanagerc
mysql_tzinfo_to_sql         mysqlbinlog                 mysqlimport
dv6130us# mysql

[]'s


-- 
Zavam, Vinícius


More information about the freebsd-ports mailing list