SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error When Installing MySQL on Red Hat 7.2

    I had MySQL working on my server until I upgraded Apache to 1.3.26 today. I deleted the files in the /usr/local/mysql directory and whenever I run the configure it comes up with an error and I can't figure out how to get it to work. Here is what I've entered and the error that I'm getting after it runs for about 3 minutes:

    [root@username mysql-3.23.51]# ./configure --prefix=/usr/local/mysql --with-low-memory
    checking for fchmod... yes
    checking for getpass... yes
    checking for getpassphrase... no
    checking for initgroups... yes
    checking for mlockall... yes
    checking for fseeko... yes
    checking for dlopen... yes
    checking for dlerror... yes
    checking style of gethost* routines... other
    checking style of gethostname_r routines... glibc2
    checking 3 argument to gethostname_r routines... char
    checking "args to pthread_getspecific"... POSIX
    checking "args to pthread_mutex_init"... POSIX
    checking "args to readdir_r"... POSIX
    checking "style of sigwait"... POSIX
    checking "for pthread_attr_setscope"... yes
    checking "can netinet files be included"... "yes"
    checking "character sets"... default: latin1; compiled in: latin1
    checking for BerkeleyDB... no
    Not using Berkeley DB
    checking for Innodb... Not using Innodb
    checking for Gemini DB... Not using Gemini DB
    configure: creating ./config.status
    mkdir: cannot create directory `/tmp/cs19229-3476': No such file or directory
    : cannot create a temporary directory in /tmp



    Any ideas?

    John
    Last edited by JohnSaunders; Jul 13, 2002 at 22:04.

  2. #2
    morphine for a wooden leg randem's Avatar
    Join Date
    Jun 2002
    Location
    .chicago.il.us
    Posts
    957
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps you need to be root to make the directory /tmp/cs19229-3476 ?

    Just a suggestion, not sure if it will help.

  3. #3
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, I was logged in as 'root' when I tried to compile MySQL.

    Any other ideas?


    John

  4. #4
    morphine for a wooden leg randem's Avatar
    Join Date
    Jun 2002
    Location
    .chicago.il.us
    Posts
    957
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does /tmp exist?

    It might be a little difficult to create a directory inside /tmp if /tmp isn't there....

  5. #5
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually, I think that may be the answer. Yesterday, I deleted the tmp directory since nothing was in it. I'm sure that will fix the problem!

    Thanks for your help.


    John

  6. #6
    morphine for a wooden leg randem's Avatar
    Join Date
    Jun 2002
    Location
    .chicago.il.us
    Posts
    957
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not a problem.

    Let me know if that worked.

  7. #7
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep it worked! And all the problems have been fixed that I had before I even updated Apache.


    John


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •