LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-15-2006, 11:34 AM   #1
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

Rep: Reputation: 30
problem installing Mysql from rpm.


My access to internet is limited. Downloading mysql binary tgz isn't feasible.
However, I have mysql binary rpm and source tar.gz from my local linux magz bonus dvd.
I want to install from binary rpm as best as I could. Because it's MySQL AB's recommendation.
But I guess slackware folks hate rpm. Hmmm, now i have dillema.
Neway,
I Did this first:
Code:
ln -s /etc/rc.d /etc/init.d
because:
Quote:
from mysql 5.0 ref manual:
...
if you want to install the MySQL RPM on older Linux distributions that do not support initialization scripts in /etc/init.d (directly or via a symlink), you should create a symbolic link that points to the location where your initialization scripts actually are installed.
...
and then:
Code:
rpm -iv MySql-..-i386.rpm
Dissapointing result.
messages scrolled stated that mysql needs this and that(glibc,perl,etc.).
What's wrong? glibc, perl are exist in my system.
Now i still haven't install mysql.

In this mysql case, I avoid install from source.
The mysql 5.0 ref manual scares me about installing from source and it always recommends "try binary first"
And adding to that: hassle, too many prerequisites, prone to newbie-error(me!)
and...
Quote:
from mysql 5.0 ref manual:
...
if you are using gcc 3.0 and above to compile MySQL, you must install the libstdc++v3 library before compiling MySQL; if you don't do this, you get an error about a missing __cxa_pure_virtual symbol during linking.
Gosh!:
this is complicated, mind-boggling!
help....

should I install rpm2tgz and use it?
or any other suggestions?

tnx.

ps:I've installed apache binary tgz. Download size is quite small.
 
Old 06-15-2006, 12:01 PM   #2
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
Slackware comes with MySQL on the same CD you installed it from.

Last edited by AxeZ; 06-15-2006 at 12:02 PM.
 
Old 06-21-2006, 12:50 AM   #3
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
Slackware comes with MySQL on the same CD you installed it from.
I want to use as latest version of mysql as i can get.
Is that wrong?
 
Old 06-21-2006, 01:08 AM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Well, yes, when you are trying to install it from a package that is not supported on your distribution anyway.

If you want the latest and greatest, you have to do it the Slackware way, build it from source, and package it up yourself.
 
Old 06-21-2006, 08:29 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,574

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
wait for several days and the latets package will be available for SLackware-current. Less pain to upgrade rather than from RPM packages
 
Old 06-22-2006, 09:09 AM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Distribution: (Home)Opensolaris, Ubuntu, CentOS, (Work - AIX, HP-UX, Red Hat)
Posts: 2,056

Rep: Reputation: 94
What do you not like about the one that comes from the cd? If I remember correctly it was 4.x ( can't remember the exact version.) which was pretty stable. Course I am a little biased against mysql 5.0. That was because I had problems installing it and then once I got it installed I had on tough time getting it to run right.
 
Old 06-22-2006, 07:58 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,574

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
i used 4.x from the CD and then upgrade it to 5.x when it comes in slackware-current and no problem at all. MySQL does have a problem at first, since it didn't install any default database, so you will have to run mysql_install_db as mysql user or if you want to run as root, you will have to change the owner to mysql later on
 
Old 06-24-2006, 06:11 AM   #8
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by MS3FGX
If you want the latest and greatest, you have to do it the Slackware way, build it from source, and package it up yourself.
Well, I don't mind as long as I'm being guided along the way

The only thing that holds me from compiling is about that
libstdc++v3 thing. How do I know if my gcc is using libstdc++v3 or not?
there's no libstdc++ in linuxpackages.net
 
Old 06-24-2006, 09:54 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,574

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
try looking for cxxlibs packages
Quote:
cxxlibs (C++ shared library compatibility package)

This package contains the shared libraries needed to run dynamically
linked C++ binaries linked with older versions of libstdc++.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing c++ rpm Da_riPPer Linux - Newbie 1 08-12-2005 06:18 AM
Installing php-mysql RPM on RH9 stephen_e Red Hat 7 09-26-2004 09:10 AM
Installing MySQL in RedHat Linux 9.0 RPM mkrishnanand Linux - Software 1 03-19-2004 06:36 AM
problem installing rpm gschrade Linux - Newbie 3 12-02-2003 08:44 PM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 02:02 PM


All times are GMT -5. The time now is 07:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration