Re: libffi problems when compiling glib-2.31.0
- From: Victor Ananjevsky <ananasik gmail com>
- To: gtk-list gnome org
- Subject: Re: libffi problems when compiling glib-2.31.0
- Date: Tue, 1 Nov 2011 06:01:57 +0200
On Mon, 31 Oct 2011 18:35:18 -0700
Jonathan Greenberg <jgrn illinois edu> wrote:
> gtk'ers:
> 
> I'm having some problems getting glib-2.31.0 installed because I can't
> seem to resolve the libffi dependency.  I installed libffi 3.0.10
> using ./configure --prefix=/mypath/; make; make install
> 
> Initially, doing ./configure --prefix=/mypath/ failed with glib until I set
> LIBFFI_LIBS=/mypath/lib
> LIBFFI_CFLAGS=/mypath/include
> 
> This made it pass the configure check, but doing a "make" led to the
> failure below. I next noticed that ffi.h and ffitarget.h are installed
> in a weird location (/mypath/lib/libffi-3.0.10/include/ffi.h and
> /mypath/lib/libffi-3.0.10/include/ffitarget.h so I tried to help out
> with a ln -s:
> 
> ln -s /mypath/lib/libffi-3.0.10/include/ffi.h /mypath/include/
> ln -s /mypath/lib/libffi-3.0.10/include/ffitarget.h /mypath/include/
> 
> This also didn't work (the error below was identical).  Any ideas on
> how to fix this?
> 
simply add "/mypath/lib/pkgconfig" to PKG_CONFIG_PATH shell variable 
> 
> -- 
> Jonathan A. Greenberg, PhD
> Assistant Professor
> Department of Geography
> University of Illinois at Urbana-Champaign
> 607 South Mathews Avenue, MC 150
> Urbana, IL 61801
> Phone: 415-763-5476
> AIM: jgrn307, MSN: jgrn307 hotmail com, Gchat: jgrn307, Skype: jgrn3007
> http://www.geog.illinois.edu/people/JonathanGreenberg.html
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
-- 
Victor Ananjevsky <ananasik gmail com>
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]