Find the answer to your Linux question:
Results 1 to 8 of 8
Hello Peeps , I'm trying to install MySQL 5.0.0-Alpha (from Source!) on my Linux Ubuntu 10.10 Server. Can't get it done ! This is what I do, please help me ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Location
    Inside my head
    Posts
    13

    MySQL 5.0.0-Alpha > Linux Ubuntu 10.10

    Hello Peeps ,

    I'm trying to install MySQL 5.0.0-Alpha (from Source!) on my Linux Ubuntu 10.10 Server.

    Can't get it done !

    This is what I do, please help me out guys . (Since i'm a Linux noob, just started, i'm giving all my commands =D)

    First i'll download the package from here;
    Code:
    wget linkz to Mysql-5.0.0-alpha.tar.gz
    Then i'll unpack it;
    Code:
    tar -zxvf mysql-5.0.0-alpha.tar.gz
    So far so good, go to that folder;
    Code:
    cd mysql-5.0.0-alpha.tar.gz
    Now, this is where it's getting wrong;
    Code:
    ./configure
    configure: error: no acceptable C compiler found in $PATH
    Oké, no problem. I'll just install gcc;
    Code:
    apt-get install gcc
    And run ./configure again.. But this time i'll get this error;
    checking "LinuxThreads"... "Not found"
    configure: error: This is a linux system and Linuxthreads was not
    found. On linux Linuxthreads should be used. Please install Linuxthreads
    (or a new glibc) and try again. See the Installation chapter in the
    Reference Manual for more information.
    What to do? Can't find good solutions on google for it..
    libc6 is installed by default, right?? Linuxthreads? Can I bypass this? Does I need this?
    Thx !

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    No offence, but building software from source without knowing what you want is probably a bit hard.

    Also, why would anyone want to install mysql 5.0.0 alpha?

    If you are interested in a running mysql server, just use the package manager to install it.
    apt-get install mysql-server

    Or maybe you try to learn how to compile software?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Location
    Inside my head
    Posts
    13
    Thank you for your reply.

    The reason why i'm trying to install 5.0.0-Alpha is a bit 'dark'.
    I'll try to explain it.

    I'm studying at the High School of Leuven, second year; speciality; Networks.
    We are working on security right now and everyone needs to write a Paper about Exploits/Vulns,..

    Now, there is a know vuln in MySQL 4.1 en 5.0, and i'm trying to exploit that. Now, I need to install MySQL-5.0.0 myself to do it right.. (What else do I need to exploit else?)

    So, I was thinking; Just install it on my server! But yeah.. Then the problems come.

    thank you very much.

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Location
    Inside my head
    Posts
    13
    Thank you, I'll have a look at it.
    (I've also installed Backtrack 4 already, maybe that helps)

    but still trying to solve my problem =D.

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    You probably miss a lot of tools and *-devel packages, also the correct ./configure options.
    Which depend on your choices.
    Which then might have consequences on depended packages

    Not saying it´s impossible to explain here, but it might be faster and more direct, if s/o at your highschool already has experience with compiling.
    You must always face the curtain with a bow.

  7. #7
    Just Joined!
    Join Date
    Oct 2010
    Location
    Inside my head
    Posts
    13
    Tried a lot already.
    I've installed an other version (a newer one) of glibc, but then I also get an error..

    Strange! Gonna ask the teacher .
    Will come back to this.

  8. #8
    Just Joined!
    Join Date
    Oct 2010
    Location
    Inside my head
    Posts
    13
    (Sorry for the dubbelpost)

    Is it possible to install a new version of Glibc? I know you can download newer versions, and then --enable-add-ons=linuxthreads, but will conflict this with my libc6 that is currently installed?

    If I remove libc6, my linux is ****ed up, right?

    I've tried it on VMware, unpacked the file, and made a glibc-build directory (that was needed for the install..)

    Then I did; ../glibc-2.9/configure --enable-add-ons=linuxthreads in the map /glibc-2.9/glibc-build.

    The tutorials on the internet told that the make file and other needed files where going to be created in glibc-2.9/glibc-build, but my machine only creates config.log :/ .
    (My linux on VMware is exactly the same as my server)

Posting Permissions

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