
Hi, This morning I have committed a patch which removes the need to have subversion installed when building Yhc. If you don't have subversion it will detect this and download a snapshot of ctypes, if you do have subversion then nothing will change. This should fix bug #107. For those that have subversion but don't want to use it, pass ctypes=snapshot to scons. Maybe we should consider using the snapshot as the default method of getting ctypes, but since subversion works at the moment I didn't want to break things by changing it. Please let me know if this causes anyone any problems! Regards, Andrew

"Andrew Wilkinson"
This morning I have committed a patch which removes the need to have subversion installed when building Yhc. If you don't have subversion it will detect this and download a snapshot of ctypes, if you do have subversion then nothing will change. This should fix bug #107.
Thanks for this, but it doesn't seem to work for me (Python 2.3.3, scons 0.96.1, MacOS 10.3.9) Downloading Ctypes snapshot... Downloaded. AttributeError: 'TarFile' object has no attribute 'extractall': File "SConstruct", line 69: depends(env, ARGUMENTS, True) File "/Users/malcolm/Haskell/yhc/build/depends.py", line 44: tarfile.open("depends/ctypes-snapshot-20070206.tar.gz", "r:gz").extractall("depends") Regards, Malcolm

Hi
http://docs.python.org/lib/tarfile-objects.html
extractall is new in Python 2.5.
The extractall function is implemented as:
https://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=104534&aid=1043890
Could we copy that in somewhere, and use that one instead?
Thanks
Neil
On 2/9/07, Malcolm Wallace
"Andrew Wilkinson"
writes: This morning I have committed a patch which removes the need to have subversion installed when building Yhc. If you don't have subversion it will detect this and download a snapshot of ctypes, if you do have subversion then nothing will change. This should fix bug #107.
Thanks for this, but it doesn't seem to work for me (Python 2.3.3, scons 0.96.1, MacOS 10.3.9)
Downloading Ctypes snapshot... Downloaded. AttributeError: 'TarFile' object has no attribute 'extractall': File "SConstruct", line 69: depends(env, ARGUMENTS, True) File "/Users/malcolm/Haskell/yhc/build/depends.py", line 44: tarfile.open("depends/ctypes-snapshot-20070206.tar.gz", "r:gz").extractall("depends")
Regards, Malcolm _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc

I've commit a patch which should make it work now.
Cheers,
Andrew
On 2/9/07, Neil Mitchell
Hi
http://docs.python.org/lib/tarfile-objects.html
extractall is new in Python 2.5.
The extractall function is implemented as:
https://sourceforge.net/tracker/download.php?group_id=5470&atid=305470&file_id=104534&aid=1043890
Could we copy that in somewhere, and use that one instead?
Thanks
Neil
On 2/9/07, Malcolm Wallace
wrote: "Andrew Wilkinson"
writes: This morning I have committed a patch which removes the need to have subversion installed when building Yhc. If you don't have subversion it will detect this and download a snapshot of ctypes, if you do have subversion then nothing will change. This should fix bug #107.
Thanks for this, but it doesn't seem to work for me (Python 2.3.3, scons 0.96.1, MacOS 10.3.9)
Downloading Ctypes snapshot... Downloaded. AttributeError: 'TarFile' object has no attribute 'extractall': File "SConstruct", line 69: depends(env, ARGUMENTS, True) File "/Users/malcolm/Haskell/yhc/build/depends.py", line 44: tarfile.open("depends/ctypes-snapshot-20070206.tar.gz", "r:gz").extractall("depends")
Regards, Malcolm _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
_______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc
participants (3)
-
Andrew Wilkinson
-
Malcolm Wallace
-
Neil Mitchell