Apache 2.0.53 / SSL, PHP 5.0.3, MySQL 4.1.10 on Linux

Article moved to: hulan.info.

Komentáře 52

  1. #1 Seth Buntin

    The new installtaion guide for the MySQL gamma doesn't work correctly. I get a folder /usr/local/mysql-test instead of /usr/local/mysql even when I declare the prefix to be /usr/local/mysql. I thought I might let you know. Keep up the wonderful work...

  2. #2 Radek Hulán autor webu ▲10 ▼0

    [1] Seth, it works just fine for me, properly installed in /usr/local/mysql, did you have any version of MySQL installed before? Binary form from your distro? If so, have you removed it first? What distro are you running?

  3. #3 pop

    [1] I have the same problem but i ran MySQL release 4.0.21
    How can i see if i already had another realese installed? and if so how do i remove it/correxct it?

  4. #4 Radek Hulán autor webu ▲10 ▼0

    [3] execute this to see if package is installed: rpm -qa | grep mysql ... that will show you full name and version of package installed, next : execute: rpm -e full-package-name and finally, execute: rpm --rebuilddb ...

  5. #5 Seth Buntin

    I have installed (by the guide above) MySQL and still get the same problem. If I install the 4.0.21 I don't (but 4.0.21 doesn't accept the charset declaration). The server was blank (accept for the standard install of gnome, editors, and development tools. BTW I am using Fedora Core 2). I don't know where to go from here. I guess I will just use 4.0.21.

  6. #6 Seth Buntin

    How do I clear the information from the MySQL-gamma? I deleted the folder /usr/local/mysql-test/ (which was created from above) and then installed the 4.0.21 version and now that gives me the /usr/local/mysql-test folder. I tried all of this on a brand new (fresh) machine.

    I don't know what to do now.

  7. #7 pop

    i am using feodora core 2 to... i didnt find any with rpm -qa | grep mysql... can i just delete the folders and start all over?

  8. #8 Radek Hulán autor webu ▲10 ▼0

    [7] try rpmi, or use Fedora graphical "RPM package tool / Program Installation Tool", called "YaST" under SUSE Linux, to remove any MYSQL, Apache, PHP you may have...

  9. #9 Radek Hulán autor webu ▲10 ▼0

    [7] you may also try these: /sbin/chkconfig --del httpd and /sbin/chkconfig --del mysql on Fedora Core 2

  10. #10 Emanuele Bergamini

    [1] I got the same error. But I solved it. 🙂

    The problem is caused by an error in configure parameter for mysql. You must use --prefix=/usr/local/mysql and NOT --with-prefix=usr/local/mysql. (in 4.1.6gamma) the latter is ignored, and mysql is installed in /usr/local.

    If you want to delete the wrong installation, you have to delete manually any mysql-related files into every folder in /usr/local.
    (you can do a "good" installation and then see what files are created inside /usr/local/mysql, and then delete allo the file with the same name relative to /usr/local.

  11. #11 Radek Hulán autor webu ▲10 ▼0

    [10] oh, you're right, my small typo. Fixed now. Thanks!!

  12. #12 Seth Buntin

    I got everything to work correctly except the libjpeg source package. It will not create the a|so. At least that is what the php build tells me. I just took it out. Is that important?

  13. #13 Radek Hulán autor webu ▲10 ▼0

    [12] guess you haven't compiled it correctly, doesn't really matter if you are not using scripts like Coppermine Photo Gallery, which require GD2 with JPEG support

  14. #14 Seth Buntin

    [13] I did just as explained above...

  15. #15 Radek Hulán autor webu ▲10 ▼0

    [14] I double-tried to compile it again, with no problem.. Guess some distro, tool-related, problem.

  16. #16 Seth Buntin

    I am still getting this error:

    configure: error: libjpeg.(a|so) not found.
    I don't know what to do.

  17. #17 Andrew J. Leer

    When compiling mysql4.1 Gamma in Debian I always get this error, when running ./config What can I do about this?

    checking for tgetent in -lncurses... no
    checking for tgetent in -lcurses... no
    checking for tgetent in -ltermcap... no
    checking for termcap functions library... configure: error: No curses/termcap library found

    What does this mean and how can I get around it?

  18. #18 Andrew J. Leer

    Okay I figured it out...
    I went on IRC and some guy told me to install libncurses-dev with apt-get. This cleared up my problem on Debian, thanks! And do post this for all the Debian users who might be wondering about this, thanks!

  19. #19 Andrew J. Leer

    Also when installing Apache2 on Debian I found that I need to apt-get install zlib1g-dev because they don't call the zlib package the same thing.

  20. #20 Dinh Quang Dan

    [16] just do one of the following commands, the error will be tripped.

    #ln -s /usr/local/src/jpeg-6b/libjpeg.a /usr/lib/libjpeg.a
    or
    #cp /usr/local/src/jpeg-6b/libjpeg.a /usr/lib

    refer to: /etc/ld.so.conf