-----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
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