Guile misbehavior

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Guile misbehavior

Andreas Seidl-3
I firstly encountered this problem with guile-config. Guile works in
my home directory (I should add that my home directory in
C:\cygwin\home is a symbolic link to /cygdrive/d), but not in the /tmp
directory:


$ cd /tmp

$ guile --version
ERROR: In procedure make-struct-layout:
ERROR: Wrong type argument in position 1 (expecting STRINGP): pw

$ cd ~

$ guile --version
Guile 1.6.7
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004 Free
Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.

$ cd /cygdrive/c

$ guile --version
ERROR: In procedure make-struct-layout:
ERROR: Wrong type argument in position 1 (expecting STRINGP): pw

$ cd /cygdrive/d

$ guile --version
Guile 1.6.7
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004 Free
Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.


Guile is up-to-date:

guile                   1.6.7-4
guile-devel             1.6.7-4
guile-doc               1.6.7-4
libguile12              1.6.7-4
libguile12abi13         1.6.4-3
libguile16              1.7.1.20041006-1


Any ideas what causes this?

Best Regards

Andreas
--
http://www.fmi.uni-passau.de/~seidl

Reply | Threaded
Open this post in threaded view
|

Re: Guile misbehavior

Jan Nieuwenhuizen
Andreas Seidl writes:

> $ cd /tmp
> $ guile --version
> ERROR: In procedure make-struct-layout:
> ERROR: Wrong type argument in position 1 (expecting STRINGP): pw

> Any ideas what causes this?

No, it works for me.  What does pwd say in the directories where it
doesn't work?  What does cygcheck /usr/bin/guile.exe say?  You may
have bits of another guile-1.6.x lying around, I have seen the
make-struct-layout bug with guile-1.6.4 library files.

Jan.

--
Jan Nieuwenhuizen <[hidden email]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org
Reply | Threaded
Open this post in threaded view
|

Re: Guile misbehavior

Andreas Seidl-3
Jan Nieuwenhuizen schrieb:

> Andreas Seidl writes:
>
>
>>$ cd /tmp
>>$ guile --version
>>ERROR: In procedure make-struct-layout:
>>ERROR: Wrong type argument in position 1 (expecting STRINGP): pw
>
>
>>Any ideas what causes this?
>
>
> No, it works for me.  What does pwd say in the directories where it
> doesn't work?

$ pwd
/tmp

> What does cygcheck /usr/bin/guile.exe say?  

$ cygcheck /usr/bin/guile.exe
C:/cygwin/bin/guile.exe
   C:/cygwin/bin\cygguile-12.dll
     C:/cygwin/bin\cygcrypt-0.dll
       C:/cygwin/bin\cygwin1.dll
         C:\WINDOWS\system32\ADVAPI32.DLL
           C:\WINDOWS\system32\ntdll.dll
           C:\WINDOWS\system32\KERNEL32.dll
           C:\WINDOWS\system32\RPCRT4.dll
     C:/cygwin/bin\cygguile-ltdl-1.dll

In addition:

$ cygcheck -svr | grep guile
   528k 2005/10/09 C:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
                   "cygguile-12.dll" v0.0 ts=2005/10/9 15:25
   640k 2004/10/12 C:\cygwin\bin\cygguile-16.dll - os=4.0 img=1.0 sys=4.0
                   "cygguile-16.dll" v0.0 ts=2004/10/12 16:42
    18k 2005/10/09 C:\cygwin\bin\cygguile-ltdl-1.dll - os=4.0 img=1.0
sys=4.0
                   "cygguile-ltdl-1.dll" v0.0 ts=2005/10/9 15:24
     5k 2004/10/12 C:\cygwin\bin\cygguile-ltdl-2.dll - os=4.0 img=1.0
sys=4.0
                   "cygguile-ltdl-2.dll" v0.0 ts=2004/10/12 13:02
    11k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-1-v-2-2.dll - os=4.0
img=1.0
sys=4.0
                   "cygguile-srfi-srfi-1-v-2-2.dll" v0.0 ts=2004/10/12 16:42
    68k 2005/10/09 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll -
os=4.0 img=
1.0 sys=4.0
                   "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0
ts=2005/10/9 15:25
     4k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-2-2.dll -
os=4.0 img=
1.0 sys=4.0
                   "cygguile-srfi-srfi-13-14-v-2-2.dll" v0.0
ts=2004/10/12 16:43
    31k 2005/10/09 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0
img=1.0
sys=4.0
                   "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2005/10/9 15:25
    22k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-4-v-2-2.dll - os=4.0
img=1.0
sys=4.0
                   "cygguile-srfi-srfi-4-v-2-2.dll" v0.0 ts=2004/10/12 16:42
    12k 2005/10/09 C:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0
img=1.0 sy
s=4.0
                   "cygguilereadline-v-12-12.dll" v0.0 ts=2005/10/9 15:25
    11k 2004/10/12 C:\cygwin\bin\cygguilereadline-v-16-16.dll - os=4.0
img=1.0 sy
s=4.0
                   "cygguilereadline-v-16-16.dll" v0.0 ts=2004/10/12 16:42
guile                   1.6.7-4
guile-devel             1.6.7-4
guile-doc               1.6.7-4
libguile12              1.6.7-4
libguile12abi13         1.6.4-3
libguile16              1.7.1.20041006-1


Andreas
--
http://www.fmi.uni-passau.de/~seidl