Bug #677 configure error: --with-mysql-user=
Submitted: 18 Jun 2003 17:28 Modified: 19 Jun 2003 6:48
Reporter: Douglas Jones Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.0.13 OS:Other (Tru64 5.1)
Assigned to: CPU Architecture:Any

[18 Jun 2003 17:28] Douglas Jones
Description:
My configure/compilation script is:
------------------
#!/usr/bin/ksh
D=mysql-4.0.13
#PORT=3306
PORT=3406
H=/usr/local/mysql-4-test
CC="cc -pthread"
export CC
CXX="cxx -pthread -O"
export CXX
cd $D
./configure \
        --prefix=$H
        --with-mysqld-user=mysql\
        --with-tcp-port=$PORT\
        --with-unix-socket-path=$H/var/mysql.sock\
        --with-named-thread-libs="-lpthread -lmach -lexc -lc"\
        --enable-thread-safe-client   
gmake
------------------
I get this error in the output of the configure, but it goes on and
compiles with user as root instead of mysql as I specified in my script.
------------------
Remember to check the platform specific part of the reference manual for
hints about installing MySQL on your platform. Also have a look at the
files in the Docs directory.

Thank you for choosing MySQL!

./do4[14]: --with-mysqld-user=mysql:  not found
cd libmysql; gmake link_sources
gmake[1]: Entering directory `/src/net/db/mysql/mysql-4.0.13/libmysql'
------------------

As you can see, I only copied part of it.

Thanks,
Douglas

How to repeat:
This happens each time I run the above mentioned script.
[19 Jun 2003 2:07] Alexander Keremidarski
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem is not the result of a bug.
For a list of more appropriate places to ask for help using MySQL
products, please visit http://www.mysql.com/support/

Thank you for your interest in MySQL.
[19 Jun 2003 4:22] Douglas Jones
I couldn't find where else to put this. It looked like a bug in the
configure section, since it did not assign the correct owner for the
mysql daemon process like it id in 3.x. Since I did not see a section
for configuring, where would I post this? Thanks - Douglas
[19 Jun 2003 6:48] Lenz Grimmer
Just take a closer look at your compilation script - it obviously misses a backslash after 
the "--prefix=$H" line...