PDA

View Full Version : Possible to install mysql 5.1 on Fedora 16?



JohnRock
29th April 2012, 05:01 AM
For testing purposes I would like to install MySql 5.1.42 on my F16 system. Is there a reliable way to install this older version into /usr/local ? I usually do not install applications from source so I don't have experience with that and wanted to see if this could be done.

Thanks.

george_toolan
30th April 2012, 12:00 PM
If you install from the source code the default seems to be /usr/local


Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

JohnRock
30th April 2012, 12:51 PM
My concern was whether there will be dependency issues like there are when trying to install the rpm

nonamedotc
30th April 2012, 03:40 PM
This is what I see from yum ..



yum deplist mysql.x86_64
Loaded plugins: langpacks, presto, refresh-packagekit
package: mysql.x86_64 5.5.22-1.fc16
dependency: /bin/sh
provider: bash.x86_64 4.2.24-1.fc16
dependency: /usr/bin/perl
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: bash
provider: bash.x86_64 4.2.24-1.fc16
dependency: fileutils
provider: coreutils.x86_64 8.12-7.fc16
dependency: grep
provider: grep.x86_64 2.9-3.fc16
dependency: libc.so.6()(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.11)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.14)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.15)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.3)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.3.4)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libc.so.6(GLIBC_2.4)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libcrypto.so.10()(64bit)
provider: openssl.x86_64 1.0.0i-1.fc16
dependency: libdl.so.2()(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libdl.so.2(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libgcc_s.so.1()(64bit)
provider: libgcc.x86_64 4.6.3-2.fc16
dependency: libm.so.6()(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libm.so.6(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libncurses.so.5()(64bit)
provider: ncurses-libs.x86_64 5.9-2.20110716.fc16
dependency: libpthread.so.0()(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libpthread.so.0(GLIBC_2.3.2)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: librt.so.1()(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: librt.so.1(GLIBC_2.2.5)(64bit)
provider: glibc.x86_64 2.14.90-24.fc16.6
dependency: libssl.so.10()(64bit)
provider: openssl.x86_64 1.0.0i-1.fc16
dependency: libstdc++.so.6()(64bit)
provider: libstdc++.x86_64 4.6.3-2.fc16
dependency: libstdc++.so.6(CXXABI_1.3)(64bit)
provider: libstdc++.x86_64 4.6.3-2.fc16
dependency: libstdc++.so.6(GLIBCXX_3.4)(64bit)
provider: libstdc++.x86_64 4.6.3-2.fc16
dependency: libtinfo.so.5()(64bit)
provider: ncurses-libs.x86_64 5.9-2.20110716.fc16
dependency: libz.so.1()(64bit)
provider: zlib.x86_64 1.2.5-6.fc16
dependency: mysql-libs(x86-64) = 5.5.22-1.fc16
provider: mysql-libs.x86_64 5.5.22-1.fc16
dependency: perl(Exporter)
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: perl(Fcntl)
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: perl(File::Temp)
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: perl(Getopt::Long)
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: perl(IPC::Open3)
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: perl(Sys::Hostname)
provider: perl.x86_64 4:5.14.2-197.fc16
dependency: rtld(GNU_HASH)
provider: glibc.x86_64 2.14.90-24.fc16.6
provider: glibc.i686 2.14.90-24.fc16.6


Considering that it has such dependencies, there might be issues. However, I do not know it could be locally installed with all dependencies from source. I doubt it though ..