chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] egg directory in my HOME


From: Brandon J. Van Every
Subject: [Chicken-users] egg directory in my HOME
Date: Mon, 07 Aug 2006 22:30:39 -0700
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Yesterday I did "chicken-setup opengl" with my CMake Cygwin installation, and it worked. But unfortunately, it created a directory in my HOME, ~/opengl.egg.dir . All the Cygwin stuff got built there. So now when I use my MinGW CMake build, it is copying the Cygwin dlls.
E:\devel>chicken-setup opengl
copy gl.dll "E:\Program Files\Chicken\lib\gl.dll"
      1 file(s) copied.
copy glu.dll "E:\Program Files\Chicken\lib\glu.dll"
      1 file(s) copied.
copy glut.dll "E:\Program Files\Chicken\lib\glut.dll"
      1 file(s) copied.

When I try to (require-extension gl glut) they of course fail, saying they need cygwin1.dll.

Questions:
- is this problem specific to the OpenGL egg?
- is the problem specific to how "-feature cygwin" is handled in that egg?
- is this a general problem of namespace collision between MinGW, Cygwin, and/or VC++ ?

I don't understand why opengl.egg.dir got created in my HOME directory. On Cygwin, it should have gone into /usr/local/lib/chicken/1. On MinGW, it should have gone into E:\Program Files\Chicken\lib\chicken\1. I don't have any Chicken-related variables set in my environment. In fact it is pretty minimal and I've listed it below. So, a bad default is being utilized. I will guess that it's some kind of variation on "flat directory" behavior, like the old VC++ build relying on CHICKEN_HOME. Although, I am still puzzled why *any* Cygwin installation would have created an egg directory in a user's HOME. Maybe I'd be less puzzled if I perused the code.


Cheers,
Brandon Van Every


E:\devel>set
ALLUSERSPROFILE=E:\Documents and Settings\All Users.WINNT
APPDATA=E:\Documents and Settings\Brandon J. Van Every\Application Data
CommonProgramFiles=E:\Program Files\Common Files
COMPUTERNAME=KAHLO
ComSpec=E:\WINNT\system32\cmd.exe
HOME=E:\devel
HOMEDRIVE=E:
HOMEPATH=\Documents and Settings\Brandon J. Van Every
LOGONSERVER=\\KAHLO
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=E:\WINNT\system32\os2\dll;
Path=E:\Program Files\Chicken\bin;E:\WINNT\system32;E:\WINNT;E:\WINNT\System32\W
bem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0806
ProgramFiles=E:\Program Files
PROMPT=$P$G
PS5ROOT=E:\Program Files\Roxio\PhotoSuite\
SystemDrive=E:
SystemRoot=E:\WINNT
TEMP=E:\DOCUME~1\BRANDO~1.VAN\LOCALS~1\Temp
TMP=E:\DOCUME~1\BRANDO~1.VAN\LOCALS~1\Temp
USERDOMAIN=KAHLO
USERNAME=Brandon J. Van Every
USERPROFILE=E:\Documents and Settings\Brandon J. Van Every
windir=E:\WINNT




reply via email to

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