chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Changing chicken-setup install directory?


From: felix winkelmann
Subject: Re: [Chicken-users] Changing chicken-setup install directory?
Date: Mon, 4 Apr 2005 23:15:56 +0200

> Hi!
> 
> I would like to create a package from a Chicken egg. Therefore I want to tell
> chicken-setup to use a different installation directory. But neither
> -repository <path> nor -program-path <path> seems to have the desired effect.
> Is there a way to specify some kind of directory prefix?
> 

-repository should normally work (perhaps you specify it _after_ the egg-name?):

% chicken-setup -verbose -repository ~/tmp/foobar iconv

The extension iconv does not exist.

Do you want to download it ? (yes/no/abort) [yes] 
downloading catalog ...
downloading catalog from www.call-with-current-continuation.org ...
HTTP/1.1 200 OK
Date: Mon, 04 Apr 2005 21:12:49 GMT
Server: Apache/1.3.33
Last-Modified: Thu, 31 Mar 2005 19:14:13 GMT
ETag: "3068d3-ade-424c4c05"
Accept-Ranges: bytes
Content-Length: 2782
Connection: close
Content-Type: text/plain

downloading iconv.scm from (www.call-with-current-continuation.org eggs 80) ...
  /usr/local/bin/csc -feature compiling-extension -v -O2 -d0 -vs iconv.scm
/usr/local/bin/chicken iconv.scm -output-file iconv.c -dynamic
-feature chicken-compile-shared -quiet -feature compiling-extension
-optimize-level 2 -debug-level 0
Warning: `foreign-callback-lambda*' is deprecated, use
`foreign-safe-lambda*' instead
Warning: global variable `iconv_build_result' is never used
gcc iconv.c -o iconv.o -Wall -g -Wno-unused -Wno-undefined
-DC_STACK_GROWS_DOWNWARD=1
"-DC_INSTALL_LIB_HOME=\"/usr/local/lib/chicken\""
"-DC_INSTALL_HOME=\"/usr/local/share/chicken\"" -DC_USE_C_DEFAULTS
-fPIC -DPIC -DC_SHARED -c -DC_NO_PIC_NO_DLL
rm iconv.c
gcc -o iconv.so iconv.o -lchicken -lsrfi-chicken -lstuffed-chicken
-fPIC -shared -L/usr/local/lib -Wl,-R/usr/local/lib -ldl -lpcre -lffi
-lm  -ldl -lpcre -lffi
rm iconv.o
  cp iconv.so /home/felix/tmp/foobar
writing info iconv -> () ...
% ls -l foobar
total 88
-rw-r--r--    1 felix    users          44 2005-04-04 23:25 iconv.setup
-rwxr-xr-x    1 felix    users       83061 2005-04-04 23:25 iconv.so*
% CHICKEN_REPOSITORY=~/tmp/foobar csi -no-init
 ______ __     __        __                
|      |  |--.|__|.----.|  |--.-----.-----.
|   ---|     ||  ||  __||    <|  -__|     |
|______|__|__||__||____||__|__|_____|__|__|

Version 1, Build 932 - linux-unix-gnu-x86
(c)2000-2005 Felix L. Winkelmann
#;1> (use iconv)
#;1> ; loading /home/felix/tmp/foobar/iconv.so ...
#;2> ,q
#;2> 


cheers,
felix




reply via email to

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