LinuxQuestions.org
Help answer threads with 0 replies.
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 05-03-2015, 08:40 PM   #1
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Rep: Reputation: Disabled
[ask] problem when compiling mariadb 10.0.17


hi guys,
so I'm trying to compile mariadb 10.0.17 on my machine. here are the resources :while compiling, it stop with the following messages :
Code:
--- cut
-- Looking for vidattr in /usr/lib64/libcurses.so - found
-- Performing Test NEW_READLINE_INTERFACE
-- Performing Test NEW_READLINE_INTERFACE - Success
-- Performing Test READLINE_V5
-- Performing Test READLINE_V5 - Success
-- Performing Test HAVE_HIST_ENTRY
-- Performing Test HAVE_HIST_ENTRY - Failed
-- Looking for pcre_stack_guard in pcre
-- Looking for pcre_stack_guard in pcre - not found
CMake Error at cmake/pcre.cmake:10 (MESSAGE):
  system pcre is not found or unusable
Call Stack (most recent call first):
  CMakeLists.txt:363 (CHECK_PCRE)


-- Configuring incomplete, errors occurred!
See also "/tmp/mariadb-10.0.17/CMakeFiles/CMakeOutput.log".
See also "/tmp/mariadb-10.0.17/CMakeFiles/CMakeError.log".
--- cut
then I check if pcre is installed :
Code:
bash-4.2# ls /var/log/packages/|grep pcre
pcre-8.33-x86_64-1
does anyone ever facing the same problem? how to solve it? please share your experience,

thank you
 
Old 05-03-2015, 09:03 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
This is the version in Slackware-current at time of writing.

I just tried to re-build it in Slackware 14.1 with the genuine Slackbuild from Slackware-current, that failed with another error.

If you really need that version, running it in Slackware-current would be the simplest thing to do, I think.

PS But if you have no really compelling reason to use that version and want to save you some hassle (running -current is not so easy for a Slackware newcomer), just use mariadb-5.5.40-x86_64-1_slack14.1.txz which is the last version shipped in /patches for Slackware64-14.1, until the next Slackware version is officially released. In any case why use an alien Slackbuild when there is a genuine one?

Last edited by Didier Spaier; 05-03-2015 at 09:15 PM.
 
Old 05-03-2015, 09:26 PM   #3
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
Quote:
using slackware 14.1 64bit with multilib alien current 4.9.2
You are mixing between -stable and -current?
 
Old 05-03-2015, 10:58 PM   #4
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Install pcre 8.35 or newer (8.37 is the most recent) and you should be OK.

--mancha
 
1 members found this post helpful.
Old 05-03-2015, 11:13 PM   #5
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
oh just found the answer, I just upgrade pcre to version 8.36 and works.
 
Old 05-03-2015, 11:15 PM   #6
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr View Post
You are mixing between -stable and -current?
yes mr.willy, yesterday I need it (multilib 4.9.2) to compile php 5.6. is it danger to mix it?

Last edited by kelaskakap; 05-03-2015 at 11:17 PM.
 
Old 05-03-2015, 11:16 PM   #7
kelaskakap
Member
 
Registered: Dec 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mancha View Post
Install pcre 8.35 or newer (8.37 is the most recent) and you should be OK.

--mancha
yes it works, thank you.
 
Old 05-04-2015, 01:24 AM   #8
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
It's not really recommended to mix between -stable and -current since packages in -current are built against different set of libraries compared to -stable.

Either stay at -stable and totally migrate to -current OR build your own packages using SlackBuild script in -current. This is the recommended way if you don't want to migrate.
 
  


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
MariaDB ? dmchess Linux - Software 1 04-04-2015 11:06 AM
[SOLVED] Compiling MariaDB 5.5.40 and 10.0.14 from source mats_b_tegner Slackware 2 10-12-2014 06:13 PM
Keep using MySQL instead of MariaDB kelaskakap Slackware 17 12-13-2013 06:43 PM
Any issues seen with MariaDB 10.0.2 here? tallship Slackware 1 05-29-2013 04:12 AM

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

All times are GMT -5. The time now is 12:11 PM.

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