LinuxQuestions.org
Visit Jeremy's Blog.
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-01-2015, 09:31 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Compiling valgrind in current


Hi, I am trying to compile valgrind for current but it is incompatible with glibc 2.21. After googling for a bit I've found this patch. I've got the valgrind 3.10.1 tarball, got the Slackbuild from Slackbuilds.org, modified the SlackBuild and I still can't compile it.

My SlackBuild:

Code:
$ diff valgrind.SlackBuild valgrind_old.SlackBuild 
9c9
< VERSION=${VERSION:-3.10.1}
---
> VERSION=${VERSION:-3.10.0}
54,55d53
< 
< patch -Np1 < $CWD/valgrind-3.10.1-glibc_2.21-1.patch | exit

Last edited by moisespedro; 05-01-2015 at 09:33 PM.
 
Old 05-02-2015, 01:11 AM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by moisespedro View Post
Hi, I am trying to compile valgrind for current but it is incompatible with glibc 2.21. After googling for a bit I've found this patch. I've got the valgrind 3.10.1 tarball, got the Slackbuild from Slackbuilds.org, modified the SlackBuild and I still can't compile it.

My SlackBuild:

Code:
$ diff valgrind.SlackBuild valgrind_old.SlackBuild 
9c9
< VERSION=${VERSION:-3.10.1}
---
> VERSION=${VERSION:-3.10.0}
54,55d53
< 
< patch -Np1 < $CWD/valgrind-3.10.1-glibc_2.21-1.patch | exit
I know this is not much help in itself but I have same patch and 3.10.1 builds fine on 64bit -current (as did 3.10.0). Is your machine setup pretty normally? Is multilib involved? Where does the compile break?

chris
 
Old 05-02-2015, 01:13 AM   #3
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by moisespedro View Post
I've got the valgrind 3.10.1 tarball, got the Slackbuild from Slackbuilds.org, modified the SlackBuild and I still can't compile it.
1) Are you on a fully updated current?

2) Can you post the actually error-message when you try to compile your modified Slackbuild. Otherwise it is stabbing in the dark.

btw) This doesn't affect this issue, but I assume you are aware that Ponce maintains an unofficial slackbuild repo for current?, which I think is the one to use if you run current.
 
Old 05-02-2015, 10:47 AM   #4
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Sorry for the lack of information, my bad.

Code:
checking for unistd.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking the GLIBC_VERSION version... unsupported version 2.21
configure: error: Valgrind requires glibc version 2.2 - 2.19
The SlackBuild I am using.

@moesasji those are the SlackBuilds I am using, the valgrind's one is equal on both.

It is fully up-to-date and no multilib.

Last edited by moisespedro; 05-02-2015 at 10:48 AM.
 
Old 05-02-2015, 10:51 AM   #5
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by moisespedro View Post
The SlackBuild I am using.
Looks like a typo in the patch-line as I think the | before the exit should be || in the line below

Code:
patch -Np1 < $CWD/valgrind-3.10.1-glibc_2.21-1.patch | exit
 
1 members found this post helpful.
Old 05-02-2015, 12:12 PM   #6
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
I can't believe it was a typo, thanks.
 
  


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
[SOLVED] Compiling seamonkey 2.26 on -current gengisdave Slackware 5 05-18-2014 04:55 PM
[SOLVED] compiling parcellite on current Habitual Slackware 4 09-02-2012 10:47 AM
[SOLVED] Compiling FTLK-1.x on Slackware64-Current tpreitzel Slackware 3 08-13-2012 02:26 AM
Compiling Valgrind on an older distro tthtlc Linux - General 2 08-01-2009 07:50 PM
Compiling freetype for Slackware-current slaxnoob Slackware 1 06-14-2004 03:39 AM

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

All times are GMT -5. The time now is 12:04 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