chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] chicken & MinGW - path issue and work-around


From: Claude Marinier
Subject: [Chicken-users] chicken & MinGW - path issue and work-around
Date: Tue, 12 Jul 2011 17:27:25 -0400

Hi,

Wanted to see how easy it is to build on Windows. Found a problem and a work around but no solution.

--
Claude Marinier


MS Windows Vista Home Basic SP2 and MS Windows 7 SP1 (both 32-bit)
MinGW 5.1.6 (many packages marked 20110530) installed fresh on 8 July 2011

$ tar zxf chicken-4.7.0.tar.gz
$ cd chicken-4.7.0
$ make PLATFORM=mingw-msys PREFIX=/usr/local

OK.

$ make PLATFORM=mingw-msys PREFIX=/usr/local install

OK except for this:

/usr/local/bin/chicken-install -update-db
Error: (directory) cannot open directory - No such file or directory: "/usr/local/lib/chicken/6"

From DOS-box (run as administrator):

mklink /d \usr \MinGW\msys\1.0
symbolic link created for \usr <<===>> \MinGW\msys\1.0

Try again.

/usr/local/bin/chicken-install -l http://code.call-cc.org/cgi-bin/henrietta.cgi -update-db
loading import libraries ...
generating database
 srfi-69 srfi-4 srfi-18 srfi-14 setup-download tcp setup-api srfi-13 srfi-1 utils scheme posix ports
 lolevel irregex foreign files extras data-structures csi chicken
  copy "C:\Users\Claude\AppData\Local\Temp\tempe46c\modules.db" "\usr\local\lib\chicken\6\modules.db"
        1 file(s) copied.

OK. Test it.

/usr/local/bin/chicken-install -l http://code.call-cc.org/cgi-bin/henrietta.cgi numbers

$ csi

CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.7.0
windows-mingw32-x86 [ manyargs dload ptables ]
compiled 2011-07-12 on lizard (MINGW32_NT-6.0)

#;1> (require-extension numbers)
; loading /usr/local/lib/chicken/6/numbers.import.so ...
; loading /usr/local/lib/chicken/6/scheme.import.so ...
; loading /usr/local/lib/chicken/6/chicken.import.so ...
; loading /usr/local/lib/chicken/6/foreign.import.so ...
; loading /usr/local/lib/chicken/6/regex.import.so ...
; loading /usr/local/lib/chicken/6/irregex.import.so ...
; loading /usr/local/lib/chicken/6/numbers.so ...
; loading /usr/local/lib/chicken/6/regex.so ...
#;2> (* 111111111 111111111)
12345678987654321


reply via email to

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