FreeBSD mysql50-server error

05/06/2010 16:01 chowder93#1
hi ,
When I want to install mysql50-server i receive an error :rtfm: when i type
"make install clean"

Makefile:34: *** missing separator. Stop.

the code is here :

PORTNAME?= mysql
PORTVERSION= 5.0.90
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQL-5.0
PKGNAMESUFFIX?= -server

MAINTAINER= [Only registered and activated users can see links. Click Here To Register...]
COMMENT?= Multithreaded SQL database (server)

SLAVEDIRS= databases/mysql50-client databases/mysql50-scripts
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes

CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
--without-libedit \
--without-bench \
--without-extra-tools \
--with-libwrap \
--with-low-memory \
--with-comment='FreeBSD port: ${PKGNAME}' \
--enable-thread-safe-client

.ifdef USE_MYSQL
.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif

.if defined(WITH_CHARSET) && ${WITH_CHARSET} != ""
CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET}
.endif
.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != ""
CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET}
.endif
.if defined(WITH_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
.endif
.if defined(BUILD_STATIC)
CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.endif
.if defined(WITHOUT_INNODB)
CONFIGURE_ARGS+=--without-innodb
.endif
.if defined(WITH_ARCHIVE)
CONFIGURE_ARGS+=--with-archive-storage-engine
.endif
.if defined(WITH_CSV)
CONFIGURE_ARGS+=--with-csv-storage-engine
.endif
.if defined(WITH_FEDERATED)
CONFIGURE_ARGS+=--with-federated-storage-engine
.endif
.if defined(WITH_NDB)
CONFIGURE_ARGS+=--with-ndbcluster
.endif
.if defined(WITH_COLLATION) && ${WITH_COLLATION} != ""
CONFIGURE_ARGS+=--with-collation=${WITH_COLLATION}
.endif

the error is somewhere here :

.ifdef USE_MYSQL
.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif

anyone can help ?
05/06/2010 16:02 .FreKČ#2
[Only registered and activated users can see links. Click Here To Register...]
05/06/2010 16:06 chowder93#3
i read it nothing useful for me !

when i type this make install clean WITH_XCHARSET = all i get the error
05/06/2010 16:11 .BritainAndy#4
you must type
PHP Code:
portsnap fetch extract 
bevor you install mysql50
05/06/2010 16:12 HighLvleR#5
Quote:
Originally Posted by chowder93 View Post
i read it nothing useful for me !

when i type this make install clean WITH_XCHARSET = all i get the error
Wrong code ...

PHP Code:
make WITH_XCHARSET=all install clean 
05/06/2010 16:14 chowder93#6
Quote:
Originally Posted by °Quakmire° View Post
you must type
PHP Code:
portsnap fetch extract 
bevor you install mysql50
portsnap: command not found :rtfm:
05/06/2010 16:15 chowder93#7
Quote:
Originally Posted by HighLvleR View Post
Wrong code ...

PHP Code:
make WITH_XCHARSET=all install clean 
the same thing Makefile:34: *** missing separator. Stop.
05/06/2010 16:35 HighLvleR#8
Quote:
Originally Posted by chowder93 View Post
the same thing Makefile:34: *** missing separator. Stop.
Rootdatas?

32Bit or 64Bit?

make first

PHP Code:
portsnap fetch extract 
It will download portsnap/Ports!

then

for MySQL
PHP Code:
cd /usr/ports/databases/mysql50-server  
make WITH_XCHARSET
=all install clean 
05/06/2010 18:11 chowder93#9
root@server3:~# portsnap fetch extract
portsnap: command not found
root@server3:~# cd /usr/ports/databases/mysql50-server
root@server3:/usr/ports/databases/mysql50-server# make WITH_XCHARSET=all install clean
Makefile:34: *** missing separator. Stop.
root@server3:/usr/ports/databases/mysql50-server#

when i write "fetch" it said command not found and it said if you want to write "sfetch" or "afetch"