bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12021: Nevermind, my fault


From: Taylan Ulrich B.
Subject: bug#12021: Nevermind, my fault
Date: Fri, 03 Aug 2012 23:45:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (berkeley-unix)

Sorry for the false alert.
First of all, the files it couldn't find were probably .so files (note
that it doesn't explicitly mention .la files, it was a wrong assumption
on my side).
That is because the build process wouldn't generate any .so files, due
to mysterious reasons.
After exporting a good set of build flags (CPPFLAGS, LDFLAGS, etc.),
everything builds fine and all tests are passed.
Here's the exact set of environment variables (directly put in my
~/.profile so i never have to re-remember them again):

export 
PKG_CONFIG_PATH="$HOME/usr/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
export LD_LIBRARY_PATH="$HOME/usr/lib:/usr/lib:/usr/local/lib"
export CPPFLAGS="-I$HOME/usr/include -I/usr/include -I/usr/local/include"
export LDFLAGS="-L$HOME/usr/lib -L/usr/lib -L/usr/local/lib"
export LIBS="-lpthread -lffi"
export LIBFFI_CFLAGS="$CPPFLAGS"
export LIBFFI_LIBS="$LDFLAGS $LIBS"

Note that these are partly tied to my own home directory layout.

What's unusual is that LIBFFI_(CFLAGS|LIBS) need to be defined
explicitly for guile to build.

Regards,
Taylan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]