Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 497520

Summary: Inkscape build failed with boehm-gc == 7.4.0
Product: Gentoo Linux Reporter: pavel <rw_iw>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description pavel 2014-01-08 13:04:19 UTC
checking libgc version 6.4+... no
configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc



Reproducible: Always




./configure

  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

                        #ifdef HAVE_GC_GC_H
                        # include <gc/gc.h>
                        #else
                        # include <gc.h>
                        #endif
                        #include <stdio.h>
                        extern unsigned GC_version;
                        int main(void){
                                unsigned min = ((6 << 16) | (4 << 8) | 0);
                                printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF);
                                if (GC_version>=min) return 0;
                                return 1;
                        }
_ACEOF

-extern unsigned GC_version;
+unsigned GC_version=GC_get_version();
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-01-08 13:10:48 UTC

*** This bug has been marked as a duplicate of bug 495210 ***