Re: MySQL unsuccesfully installed. Need help!

2003-07-11 Thread Richard Grubb
Type the command
echo $PATH
You will see a set of semicolon delimited directory path names. Perhaps 
something like 
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin
The configure script is looking in each of these locations for an 
acceptable C compiler. Either you do not have a C compiler at all in one 
of these locations, or the compiler it found was not acceptable for some 
reason. Typical compiler names are cc or gcc. You might try and type the 
command
type cc
or
type gcc
or
whereis cc
to see if you have a C compiler installed. It all depends on what 
operating system you are using. I know you said linux, but I don't use 
linux, and am not familiar with how it might be configured. But it would 
sound very strange to me if you do not have a C compiler installed.

On Friday, July 11, 2003, at 04:20 AM, root wrote:

hi there,

I've tried to install mysql-3.23.55.tar.gz but failed. Firstly, I've
created directory /home/users/mysql and add group for mysql. Those are the
command that I've used previously:
shellgroupadd mtsqlid
shellmkdir /home/users
shelluseradd -d /home/users/mysql -s /bin/false -g mysqlid mysqlid
Then i decompressed mysql-3.23.55.tar.gz into /home/users/mysql and one 
new
directory called mysql-3.23.55 created.

According to www.mysql.com, mysql installation, i need to run ./configure
--prefix=/usr/mysql but this is the message i've got.
configure:error: no acceptable C compiler found in $PATH

then when i tried to run this command

shellscripts/mqsql_install_db

it also give me an error that is no such file or directory. I really don'
t
know what to do. Please do help me.
Frankly speaking, i'm still new to linux and mySQL.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: MySQL unsuccesfully installed. Need help!

2003-07-11 Thread gerald_clark
Compiling MySQL from the source tarball is not for linux newbies.
Get the RPMs.
root wrote:

hi there,

I've tried to install mysql-3.23.55.tar.gz but failed. Firstly, I've
created directory /home/users/mysql and add group for mysql. Those are the
command that I've used previously:
shellgroupadd mtsqlid
shellmkdir /home/users
shelluseradd -d /home/users/mysql -s /bin/false -g mysqlid mysqlid
Then i decompressed mysql-3.23.55.tar.gz into /home/users/mysql and one new
directory called mysql-3.23.55 created.
According to www.mysql.com, mysql installation, i need to run ./configure
--prefix=/usr/mysql but this is the message i've got.
configure:error: no acceptable C compiler found in $PATH

then when i tried to run this command 

shellscripts/mqsql_install_db

it also give me an error that is no such file or directory. I really don't
know what to do. Please do help me.
Frankly speaking, i'm still new to linux and mySQL. 

 



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: MySQL unsuccesfully installed. Need help!

2003-07-11 Thread Emile State
I disagree, even though I had my own share of problems in compiling 4.0.13.

The clue is in the error message

 configure:error: no acceptable C compiler found in $PATH

It is very likely that if he typed

which cc   or  which gcc

the reply would come back

No cc (gcc) in ... (a list of directories).

Either gcc is not installed or the PATH variable is set incorrectly. To
check how the path variable is set, type

echo $PATH

Take care of that problem and try the install again.

Emile State


on 7/11/03 09:09 AM, gerald_clark at [EMAIL PROTECTED] wrote:

 Compiling MySQL from the source tarball is not for linux newbies.
 Get the RPMs.
 
 root wrote:
 
 hi there,
 
 I've tried to install mysql-3.23.55.tar.gz but failed. Firstly, I've
 created directory /home/users/mysql and add group for mysql. Those are the
 command that I've used previously:
 
 configure:error: no acceptable C compiler found in $PATH
 
 then when i tried to run this command
 
 shellscripts/mqsql_install_db
 
 it also give me an error that is no such file or directory. I really don't
 know what to do. Please do help me.
 
 
 Frankly speaking, i'm still new to linux and mySQL. 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]