Quote:
Originally Posted by leeeoooooo
I have built and installed libffi, libunistring and libgc according to their install instructions, but Guile's configure script can't find them.
|
Their corresponding .pc files should be found in /usr/lib/pkgconfig . Nonetheless, I just completed an installation yesterday and will describe what I did.
Install libffi using the
12.2 slackbuild from slackbuilds.org .
Install gc (Guile calls this bdw-gc) using the
13.37 slackbuild from slackbuilds.org .
For libunistring, I did the following:
Code:
wget http://ftp.wayne.edu/pub/gnu/libunistring/libunistring-0.9.3.tar.gz
tar zxf libunistring-0.9.3.tar.gz
cd libunistring-0.9.3
./configure --prefix=/usr
make
mkdir /tmp/package-unistring
DESTDIR=/tmp/package-unistring make install
Now log in as root and perform the following:
Code:
cd /tmp/package-unistring
makepkg -l y -c y ../libunistring-0.9.3-i486-1_sg.tgz
cd ..
installpkg libunistring-0.9.3-i486-1_sg.tgz
For Guile, I originally edited
Mr Volkerding's slackbuild but encountered a bug in the Guile code which precluded using the 2.0.1 Guile tarball. After many hours in IRC with the (wonderfully patient and helpful) Guile developers, the problem was resolved and corrected in the stable-2.0 GIT branch. The problem is only exhibited on certain 32-bit processors so you may wish to try updating the official slackbuild and use the 2.0.1 tarball (I don't think a newer tarball has been released yet); if the problem exists for your processor then your compile will fail.
I won't describe how I edited the slackbuild (because I never successfully compiled the guile package that way), however, here is what I did to build a package from GIT.
Code:
git clone git://git.sv.gnu.org/guile.git
cd guile
git checkout stable-2.0
./autogen.sh --prefix=/usr
./configure --prefix=/usr
make
mkdir /tmp/package-guile
DESTDIR=/tmp/package-guile make install
Now log in as root and perform the following:
Code:
cd /tmp/package-guile
makepkg -l y -c y ../guile-2.0.1-1-i486-1_sg.tgz
cd ..
upgradepkg guile-2.0.1-1-i486-1_sg.tgz
You may need to adjust these steps for your architecture, but hopefully these instructions are of some use -- despite the fact that the result is not a "proper" Slackware package.