On Wed, 06 Jun 2012 23:14:20 +0200, Henk-Jan van Tuyl <hjgt...@chello.nl> wrote:
> The following session seems to indicate that the setup of wxcore cannot > handle a space in the pathname of the directory where packages are > installed. I don't know how to change the location of this directory; any > suggestions how to get wxcore installed? (System: Windows XP) > >> cabal install wx --global > Resolving dependencies... > [1 of 1] Compiling Main ( > C:\DOCUME~1\User\LOCALS~1\Temp\wxcore-0.90.0.1-2708\wxcore-0.90.0.1\Setup.hs, > C:\DOCUME~1\User\LOCALS~1\Temp\wxcore-0.90.0.1-2708\wxcore-0.90.0.1\dist\setup\Main.o > ) > Linking > C:\DOCUME~1\User\LOCALS~1\Temp\wxcore-0.90.0.1-2708\wxcore-0.90.0.1\dist\setup\setup.exe > ... > Configuring wxcore-0.90.0.1... > Generating class type definitions from .h files > generating: src/haskell/Graphics/UI/WXCore/WxcClassTypes.hs > reading class definitions: > parsing: C:\Program/include/wxc.h > wxdirect: C:\Program/include/wxc.h: openFile: does not exist (No such > file > or directory) > Generating class info definitions > generating: src/haskell/Graphics/UI/WXCore/WxcClassInfo.hs > reading class definitions: > parsing: C:\Program/include/wxc.h > wxdirect: C:\Program/include/wxc.h: openFile: does not exist (No such > file > or directory) > Generating class method definitions from .h files > parsing: Files\Haskell\wxc-0.90.0.3\ghc-7.4.1\include/wxc.h > wxdirect: Files\Haskell\wxc-0.90.0.3\ghc-7.4.1\include/wxc.h: openFile: > does not exist (No such file or directory) I have found a solution; I changed wxcore-0.90.0.1\setup.hs (added double quotes before and after filenames): - line 57 changed to: let wxcoreIncludeFile = "\"" ++ wxcDirectory </> "include/wxc.h\"" - inserted after line 57: let wxcDirectory = "\"" ++ wxcDirectory ++ "\"" This solution should be tested on other platforms. Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming -- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users