rpms/inkscape/devel inkscape-0.42-GC-check.patch, 1.1, 1.2 inkscape.spec, 1.20, 1.21

Michael Schwendt bugs.michael at gmx.net
Fri Aug 19 14:06:15 UTC 2005


On Fri, 19 Aug 2005 08:21:32 -0500, Rex Dieter wrote:

> Michael Schwendt (mschwendt) wrote:
> 
> > Index: inkscape-0.42-GC-check.patch
> > ===================================================================
> > RCS file: /cvs/extras/rpms/inkscape/devel/inkscape-0.42-GC-check.patch,v
> > retrieving revision 1.1
> > retrieving revision 1.2
> > diff -u -r1.1 -r1.2
> > --- inkscape-0.42-GC-check.patch	18 Aug 2005 21:39:18 -0000	1.1
> > +++ inkscape-0.42-GC-check.patch	18 Aug 2005 21:56:51 -0000	1.2
> > @@ -1,12 +1,12 @@
> >  diff -Nur inkscape-0.42-orig/configure inkscape-0.42/configure
> >  --- inkscape-0.42-orig/configure	2005-07-25 07:25:35.000000000 +0200
> > -+++ inkscape-0.42/configure	2005-08-18 23:31:12.000000000 +0200
> > ++++ inkscape-0.42/configure	2005-08-18 23:55:52.000000000 +0200
> >  @@ -22931,7 +22931,7 @@
> >   		    # desired function name.  They're all in libgc.
> >   		    # The "break" will exit from the top level
> >                       # AC_CHECK_HEADERS.
> >  -		    gc_libs=""
> > -+		    gc_libs="-lpthread $lt_cv_dlopen_libs"
> > ++		    gc_libs="-lpthread -ldl"
> 
> FYI, Extras gc is patched (gc*opendl.patch) to not need -lpthread -ldl 
> (it's linked in the shared lib so there are no undefinted symbols, and 
> help prelink), so you could probably leave those out altogether, if 
> you're already testing things.

Well, I didn't patch it without reason. Inkscape gtk/cairo rebuild request
failed after 10 seconds on x86_64, which made me insert "cat config.log"
to get a better picture:
 
checking for gc.h... yes
checking for GC_init in -lgc... no
checking for GC_malloc in -lgc... no
checking for GC_realloc in -lgc... no
checking for GC_free in -lgc... no
configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
+ :
+ cat config.log
[...]
configure:22935: checking for GC_init in -lgc
configure:22965: g++ -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=nocona   conftest.cc -lgc   >&5
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_create'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `sem_destroy'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `sem_wait'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `sem_post'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_detach'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `sem_init'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_kill'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `dlopen'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_sigmask'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `sem_getvalue'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_mutex_trylock'
/usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libgc.so: undefined reference to `pthread_join'
collect2: ld returned 1 exit status




More information about the fedora-extras-list mailing list