What directory are you in when you 'unpack' the source distribution ?

What directory are you in when you issue the 'make' command ?

What directory are you in when you issue the 'scripts/mysql_install_db'
command ?  (I usually go to the 'installed' directory "/usr/local/mysql" and
type "./bin/mysql_install_db",  AFTER creating the "var" subdirectory)

I would suspect that if the system is complaining that no "Makefile" exists,
that you either have a bad distribution (your should be using 3.23.39
anyway),  you have unpacked it somewhere other than where you are now,  or
your Linux installation is still missing a 'development' type package....

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 8:25 AM
Subject: installing source code on corel linux


> I am a newbie to linux and mysql and would like some advice re
> installing mysql source code on corel linux.
>
> I have successfully installed a binary version of Mysql (now
> deleted) but need to compile and install a source version, as I want
> to next install PHP.which I understand needs the source code
> distribuion of Mysql.
>
> The mysql version is 3-23-38
> I have followed the instructions from the Mysql documentation as
> follows-
> shell> groupadd mysql
> shell> useradd -g mysql mysql
> shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
> shell> cd mysql-VERSION
> shell> ./configure --prefix=/usr/local/mysql
> shell> make
> shell> make install
> shell> scripts/mysql_install_db
> shell> chown -R mysql /usr/local/mysql
> shell> chgrp -R mysql /usr/local/mysql
> shell> /usr/local/mysql/bin/safe_mysqld --ser=mysql &
>
> Everything is OK up to and including line 5, the config command.
>
> The make command results in an error message which is because
> the makefile file does not exist.
>
> I have installed autoconf and automake and rerun the config file OK
> which recognises autoconf and automake
>
> I then run automake ( instead of the make command) and
> processing takes place for a few seconds without any messages.
>
> However no mysql/bin folders  or files have been created that I
> would expect from the compile/install process.
>
> Can anyone tell me what I have missed pls.
>
> Cheers Barrie Lees
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to