Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Searching for mysql_config executable in setup fails on windows #5

Open
ghost opened this Issue · 2 comments

1 participant

@ghost

I suspect because it has the .pl extension when installed on windows and it cannot be found by findExecutable in here http://www.haskell.org/ghc/docs/6.8.3/html/libraries/Cabal/src/Distribution-Compat-Directory.html

also note that unless cygwin or some other posix/unix emulation layer is installed, .pl files cannot be executed directly. You have the run the command perl mysql_config.pl

Perl is included with the Haskell platform on windows, but the perl executable is not in the PATH.

@ghost

also the perl included with the Haskell platform cannot run the mysql_config.pl failing with Can't locate File/Basename.pm in @INC (@INC contains: .) at mysql_config.pl line 39. BEGIN failed--compilation aborted at mysql_config.pl line 39.

Maybe there is another way to get the information?

@eflister eflister referenced this issue in bos/mysql
Open

mysql_config not found on windows #3

@darthdeus

@ghost I've worked around this by installing http://strawberryperl.com/ and changing Setup.hs to include call to perl instead, see https://gist.github.com/darthdeus/15669f75acd02fbbd476

more in bos/mysql#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.