
I'm having some issues with Cabal , wonder if they are known issues. 1) I had a previously working installation of files, hadn't used them for some time, did Haskell upgrades (chocolatey), and tried to recompile. I got a weird error on running the build - Program 'apl.exe' failed to run: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detailAt line:1 char:1 + ./apl + ~~~~~. At line:1 char:1 + ./apl + ~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed Chasing this all around - no solutions so I started over, in a new location, adding one file at a time. Worked fine. 2) So I then has a current working build in some top level xTest temporary directory. (Just a direct copy of all the files, and "cabal v2-build") 3) So I then just copied all the source files back to a desired installation place, with a longer path name. 4) But there it fails to build: PS D:\CS\Courses\long path\Solns\All Solutions> cabal v2-install Wrote tarball sdist to D:\CS\Courses\long path\Solns\All Solutions\dist-newstyle\sdist\apl-0.0.1.tar.gz Resolving dependencies... Build profile: -w ghc-8.10.1 -O1 In order, the following will be built (use -v for more details): - apl-0.0.1 (exe:apl) (requires build) cabal.exe: Failed to unpack apl-0.0.1. The exception was: dieVerbatim: user error (cabal.exe: Package .cabal file not found in the tarball: C:\Users\guthrie\AppData\Local\Temp\cabal-install.-2584\dist-newstyle\tmp\src-2584\apl-0.0.1\apl.cabal) 5) Just copying (again) the same folder of files which is failing to a top level new folder (yTest), deleting the dist-newstyle folder, And running "cabal v2-buld" again, all works fine, no errors, executable built. Three directories, all with the same files - one fails. ?? The only difference I can see is the long path name with blanks in it - is that an issue? Dr. Gregory Guthrie Maharishi International University ----------------------------------------------------------------