LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-16-2008, 10:42 AM   #1
properganda
Member
 
Registered: Jan 2008
Posts: 43

Rep: Reputation: 15
Installing mysql-5.0.51.tar.gz on Slackware


I got to the "./configure --prefix=/usr/local/mysql .." stage and ran into this error:

Quote:
checking for nl_langinfo and CODESET... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found
I looked on the MySQL website and found these two entries:

Quote:

[13 May 2006 4:05] Miguel Solorzano

Thank you for the bug report. The issue is that the ncurses stuff isn't
instaled for to find which name Ubuntu uses for that library I did:

apt-cache search ncurses

and I found:

libncurses5-dev - Developer's libraries and docs for ncurses

and installed it with:

apt-get install libncurses5-dev

On my side also I needed to do the same with OpenSSL stuff:
apt-cache search openssl
apt-get install libssl-dev

[9 Feb 2007 20:58] Andrzej Krecijasz

I tried to install on Debian SARGE and I get the same problem.
apt-get install libncurses5-dev solved problem.

Thanks

[5 Jul 2007 14:57] mohamed guechbar

I had the same problem on Debian etch and : apt-get install libncurses5-dev solved it

[9 Sep 2007 19:35] Atli Jónsson

Had this error on Fedora 7.
Fixed it by doing: yum install ncurses-devel
Does anyone know how these solutions translate into Slackware?
 
Old 01-16-2008, 10:51 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
run pkgtool ans check if you have ncurses installed
 
Old 01-16-2008, 11:32 AM   #3
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
I did so, and I don't. But I don't know where I might find it... looking on the Slackware site I could find no "search for package" type feature. Anybody got a clue?
 
Old 01-16-2008, 11:35 AM   #4
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
Okay, so I just found this: ncurses-5.6.tar.gz, I'll shove this in the box and see if smoke comes out.
 
Old 01-16-2008, 11:45 AM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Why are you using Slackware if you haven't bothered to read the provided documentation for it?
Have a look at http://slackbook.org - you'll (hopefully) realize that you're doing two things that are not necessary; both mysql and ncurses are included with Slackware.
 
Old 01-16-2008, 12:03 PM   #6
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rworkman View Post
Why are you using Slackware if you haven't bothered to read the provided documentation for it?
Have a look at http://slackbook.org - you'll (hopefully) realize that you're doing two things that are not necessary; both mysql and ncurses are included with Slackware.
Not in my installation they're not. I took a "basic" installation of Slackware specifically because I wanted to have to install and configure this stuff, probably coming out not much more linux-literate but with a deeper grasp of what I don't know.

I felt I might get constructive input via this forum while I was at it, so far for the most part that has held true.
 
Old 01-16-2008, 07:54 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
if you are looking for 5.0.51, you can grab the SlackBuild from Slackware's repository and use it to compile the 5.0.51 source and you will have Slackware's tgz format of MySQL 5.0.51

of course it has been available, but for -Current users only and not for production machine
 
Old 01-17-2008, 05:00 AM   #8
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by willysr View Post
if you are looking for 5.0.51, you can grab the SlackBuild from Slackware's repository and use it to compile the 5.0.51 source and you will have Slackware's tgz format of MySQL 5.0.51

of course it has been available, but for -Current users only and not for production machine
Thanks for the advice, got it, installed it- now the error message has changed slightly.
 
Old 01-17-2008, 05:27 PM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Can you tell us what the error message has changed to, please?
 
Old 01-18-2008, 03:11 AM   #10
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
No, :- (

Slackware seemed riddled with these dependacy issues, installing anything seemed to get bogged down with searching for fiddly little files all the time that even when you do install them it still complains as if on a whim. I decided to install Gentoo instead for now, so I can actually get some things done. I will return to Slackware another time. I suppose there is alot you can learn from it, but mainly (it seems to me) about dependancy issues.
 
Old 01-18-2008, 05:56 AM   #11
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
You install a minimal Slackware install and then complain about missing dependencies? Surely you know that on Slackware resolving dependencies is your problem, not the computers?

I think it would help if you read the Slackware Book, the SlackWiki and some other general Linux resources, like "Linux in a Nutshell" and "The RUTE Users Guide". You seem to have a misunderstanding about how Slackware works.

Last edited by Eternal_Newbie; 01-18-2008 at 06:10 AM. Reason: No need to bite the newbies
 
Old 01-18-2008, 06:28 AM   #12
properganda
Member
 
Registered: Jan 2008
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Eternal_Newbie View Post
You install a minimal Slackware install and then complain about missing dependencies? Surely you know that on Slackware resolving dependencies is your problem, not the computers?

I think it would help if you read the Slackware Book, the SlackWiki and some other general Linux resources, like "Linux in a Nutshell" and "The RUTE Users Guide". You seem to have a misunderstanding about how Slackware works.
Let me re-phrase that, I expected the dependancy issues, almost like a kind of tour around Linux, what things need to go. Installing Torrent software? Oh then you'll need this, and this, and that... but I got abit fed up when after installing this, and this, and that the things still didn't work, as in complaining about not having the same package that pkgtool agrees I just installed.

It's at that point I realised I may have bitten of more than I have time to chew with a basic installation of Slackware. Still it's been a valuable experience so far in terms of how much trouble a decent installation tool (like rpm or apt-get) can save you.

And don't get me wrong, I do want to play with Slackware some more, but will have to wait for now.

Long Live Struggle! afterall.

Last edited by properganda; 01-18-2008 at 06:31 AM.
 
  


Reply



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
Installing MySQL on Slackware properganda Linux - Newbie 5 01-16-2008 12:55 PM
installing Slackware 12.0 and installpkg incorrectly report corrupted tar archive randyepperson Slackware - Installation 6 10-14-2007 05:14 AM
Installing ruby with rails+mysql+apache on Slackware 10.2 from source paultoytoy Slackware 1 09-08-2006 12:01 PM
How to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 01:54 AM
Error in installing MySQL on Slackware linux kernelvn Slackware 1 08-14-2004 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration