Re: Re: configure error libgc x86_64
Incorporating the patch was not as smooth as I hoped. The main reason for this was the fact that there's no "autogen.sh" in the inkscape tarball. SO I took that from CVS.
However, the patch seems to work. Compiling went ok.
I'll send the RPM to the file list in a couple of minutes.
Thanks Kees!
Hendrik-Jan
Thanks for the log. Looks like a "fix" for linking libgc on BSD broke x86_64. :(
Try the attached patch for configure.ac (and re-run autogen.sh). Hopefully that will make it work again.
-- Kees Cook @outflux.net --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="conf.diff" --- configure.ac 2005-07-24 14:17:54.000000000 -0700 +++ /scratch/src/inkscape/inkscape/configure.ac 2005-07-27 07:07:37.291474392 -0700 @@ -76,6 +76,20 @@ AC_MSG_ERROR([libpng >= 1.2 is needed to compile inkscape]) fi +dnl Handle possible dlopen requirement for libgc +AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + ]) + ]) + ]) + ]) + AC_CHECK_HEADERS([gc.h gc/gc.h], [ # To test for the different required libs, I have to @@ -114,9 +128,11 @@ #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; }]])],
On Wed, Jul 27, 2005 at 11:21:01PM +0200, Hendrik-Jan Heins wrote:
The main reason for this was the fact that there's no "autogen.sh" in the inkscape tarball.
Yeah, I was just noticing this too. Other devs, is there a reason autogen.sh and it's scripts aren't included in the tar ball?
participants (2)
-
Hendrik-Jan Heins
-
Kees Cook