[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] depreciating CHICKEN_HOME
From: |
Goetz Isenmann |
Subject: |
Re: [Chicken-users] depreciating CHICKEN_HOME |
Date: |
Mon, 12 Jun 2006 08:26:40 +0200 |
User-agent: |
Mutt/1.4.2.1i |
> Hm... This *might* work by setting CHICKEN_HOME, LD_LIBRARY_PATH
> and CHICKEN_REPOSITORY, but will always be a bit of a hack.
> What specific problems do you currently have? What you intend to do
> makes certainly sense, so perhaps we should try to address this.
There are a few places, where the autoconf value is used, like
(define translator "%bindir%/chicken")
(define default-library-files '("%libdir%/libchicken.a"))
and
[else '("-L%libdir% -Wl,-R%libdir%")] ) )
in csc.scm.in.
Also
(define *install-bin-path*
(or (foreign-value "C_INSTALL_BIN_HOME" c-string)
(getenv "CHICKEN_HOME") ) )
in chicken-setup.scm looks suspect.
The other problem seems to be, that values derived from CHICKEN_HOME
do not always show the expected results:
After
$ ./configure --prefix=/var/tmp/chicken-2.315 && gmake && gmake install
both
$ /var/tmp/chicken-2.315/bin/csc -home
/var/tmp/chicken-2.315/share/chicken
$ env CHICKEN_HOME=/tmp/home /var/tmp/chicken-2.315/bin/csc -home
/tmp/home
and
$ /var/tmp/chicken-2.315/bin/chicken-setup -R
/var/tmp/chicken-2.315/lib/chicken/1
$ env CHICKEN_HOME=/tmp/home /var/tmp/chicken-2.315/bin/chicken-setup -R
/tmp/home
do not use the corresponding subdir of CHICKEN_HOME.
I will play with some modifications (but not within the next days).
--
Goetz Isenmann science + computing ag
scVENUS Software-Entwicklung Hagellocher Weg 71-75
phone +49(0)7071 9457-290 72070 Tuebingen, Germany
teamline +49(0)7071 9457-200 address@hidden