Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #208 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Compiling with extra libraries in Windows doesn't work with whitespaces in platform folder

Reported by: neothemachine Owned by: dons
Priority: critical Milestone:
Component: Platform Keywords:
Cc: maik.riechert@…

Description

I tried to do the following:

cabal install monadiccp --flags="RuntimeGecode? Debug" --extra-lib-dirs="D:\Programme\Gecode\bin;D:\Programme\Gecod

e\lib" --extra-include-dirs=D:\Programme\Gecode\include\ --reinstall

But that didn't work. The errors I saw with -v3 indicate that gcc.exe is somehow executed wrongly, e.g.:

realgcc.exe: Platform\2012.2.0.0\lib\time-1.4\include -ID:\programme\Haskell:Invalid argument

It cuts off at the first whitespace, as if there are no " " around the paths. See the attached log file.

Attachments

log.txt (27.6 kB) - added by neothemachine 2 years ago.
-v3 output

Change History

Changed 2 years ago by neothemachine

-v3 output

Changed 2 years ago by neothemachine

  • cc maik.riechert@… added

Changed 2 years ago by refold

  • status changed from new to closed
  • resolution set to invalid

Looks like a Cabal bug. Please resubmit it at the Cabal bug tracker: https://github.com/haskell/cabal/issues/new

Note: See TracTickets for help on using tickets.