LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [ask] problem when compiling mariadb 10.0.17 (https://www.linuxquestions.org/questions/slackware-14/%5Bask%5D-problem-when-compiling-mariadb-10-0-17-a-4175541538/)

kelaskakap 05-03-2015 08:40 PM

[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 :)

Didier Spaier 05-03-2015 09:03 PM

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?

willysr 05-03-2015 09:26 PM

Quote:

using slackware 14.1 64bit with multilib alien current 4.9.2
You are mixing between -stable and -current?

mancha 05-03-2015 10:58 PM

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

--mancha

kelaskakap 05-03-2015 11:13 PM

oh just found the answer, I just upgrade pcre to version 8.36 and works.

kelaskakap 05-03-2015 11:15 PM

Quote:

Originally Posted by willysr (Post 5357438)
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?

kelaskakap 05-03-2015 11:16 PM

Quote:

Originally Posted by mancha (Post 5357468)
Install pcre 8.35 or newer (8.37 is the most recent) and you should be OK.

--mancha

yes it works, thank you.

willysr 05-04-2015 01:24 AM

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.


All times are GMT -5. The time now is 02:40 PM.