Problem with specification of libdir
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone, I tried to package Gambit-C in rpm. I use the configuration as: ./configure --enable-single-host --enable-gcc-opts - --enable-multiple-versions --bindir=/usr/bin - --includedir=/usr/include/gambit-c --docdir=/usr/share/doc/gambit-c - --infodir=/usr/share/info --datadir=/usr/share/gambit-c - --libdir=/usr/lib/gambit-c make make install DESTDIR=$RPM_BUILD_ROOT However, the result file, when tried to (include "~~/syntax-case.scm"), still says that "Cannot find file /usr/local/Gambit-C/v.4.5.3/syntax-case.scm", which is weird. I have changed the configure argument, with - --prefix=/usr/share/gambit-c, and omit the libdir, so things work right now. Still, the above phenomenon is weird. Can someone please have a look at this! Thank you, Lam Luu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkr6uVsACgkQwnXdyzbwLCX4XQCfe9AZV325fcoAh6wfU15fWhpU w44AoKeSm5QcRAY23dHWhmHCXAFXxmKb =zA6T -----END PGP SIGNATURE-----
Afficher les réponses par date
On 2009-11-11, at 8:17 AM, Lam Luu wrote:
Hello everyone,
I tried to package Gambit-C in rpm. I use the configuration as:
./configure --enable-single-host --enable-gcc-opts - --enable-multiple-versions --bindir=/usr/bin - --includedir=/usr/include/gambit-c --docdir=/usr/share/doc/gambit-c - --infodir=/usr/share/info --datadir=/usr/share/gambit-c - --libdir=/usr/lib/gambit-c
make
make install DESTDIR=$RPM_BUILD_ROOT
However, the result file, when tried to (include "~~/syntax- case.scm"), still says that "Cannot find file /usr/local/Gambit-C/v.4.5.3/syntax-case.scm", which is weird.
I have changed the configure argument, with - --prefix=/usr/share/gambit-c, and omit the libdir, so things work right now. Still, the above phenomenon is weird.
Can someone please have a look at this! Thank you, Lam Luu
No this is correct behavior. However, you should use (include "~~lib/ syntax-case.scm") . Marc
participants (2)
-
Lam Luu -
Marc Feeley