chicken-users
[Top][All Lists]
Advanced

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

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


From: Claude Marinier
Subject: Re: [Chicken-users] chicken & MinGW - path issue and work-around
Date: Wed, 13 Jul 2011 10:46:07 -0400 (EDT)
User-agent: Alpine 2.00 (GSO 1167 2008-08-23)


On Wed, 13 Jul 2011, Felix wrote:
In this environment, things like "/usr/local" work normally (from a
Unix point of view). Most of the build process worked flawlessly using
Unix style commands and paths.

MinGW and MSYS translate things in the background. The one error
appears to be caused by a failure to use this translation
process. When chicken- install tried to access the library directory,
instead of going through this translation

  /usr/local/lib/chicken/6  ->  C:\MinGW\msys\1.0\local\lib\chicken\6

it tried to access this

  /usr/local/lib/chicken/6

which Windows interpreted as

  C:\usr\local\lib\chicken\6

This is why the work-around works.

The translation only takes place through the MSYS shell, file-system operations inside chicken, which end up in win32 operating-system functions are not translated. So the PREFIX given at build-time must be a valid Windows path.

Well, I completely misunderstood the comment from John Cowan.

So chicken is a hybrid. Interesting that everything else works as expected from inside MSYS/MinGW.

Rebuilt with a Windows path as PREFIX and chicken-install works without complaining.

Installed the tk egg but the simple hello program cannot find wish.

I will have to spend more time on this at home.

Thanks.

--
Claude Marinier
Contractor, Information Technology | Entrepreneur, Technologies de l'information
Corporate Services / Services corporatifs
Defence R&D Canada - Ottawa | R & D pour la défense Canada - Ottawa
3701 Carling Avenue, Ottawa, Ontario, Canada  K1A 0Z4
address@hidden
Telephone | Téléphone 613-998-4901 / Facsimile | Télécopieur 613-998-2675
Government of Canada | Gouvernement du Canada

reply via email to

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