質問編集履歴

1

修正依頼にてご指摘頂いた通り、ビルド時の出力のメッセージを追記しました。

2019/12/23 05:26

投稿

nerianighthawk
nerianighthawk

スコア544

test CHANGED
File without changes
test CHANGED
@@ -43,6 +43,66 @@
43
43
  Process exited with code: ExitFailure 1
44
44
 
45
45
  ```
46
+
47
+
48
+
49
+ 修正依頼にてご指摘いただいた通り、ビルド時の出力にエラーメッセージが出ていたため、編集にて追記します。
50
+
51
+
52
+
53
+ ```
54
+
55
+ mysql > configure
56
+
57
+ mysql > [1 of 2] Compiling Main ( /tmp/stack16110/mysql-0.1.6/Setup.hs, /tmp/stack16110/mysql-0.1.6/.stack-work/dist/x86_64-linux/Cabal-2.2.0.1/setup/Main.o )
58
+
59
+ mysql > [2 of 2] Compiling StackSetupShim ( /home/nerianighthawk/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack16110/mysql-0.1.6/.stack-work/dist/x86_64-linux/Cabal-2.2.0.1/setup/StackSetupShim.o )
60
+
61
+ mysql > Linking /tmp/stack16110/mysql-0.1.6/.stack-work/dist/x86_64-linux/Cabal-2.2.0.1/setup/setup ...
62
+
63
+ mysql > Configuring mysql-0.1.6...
64
+
65
+ mysql > setup: Missing dependencies on foreign libraries:
66
+
67
+ mysql > * Missing (or bad) C libraries: ssl, crypto
68
+
69
+ mysql > This problem can usually be solved by installing the system packages that
70
+
71
+ mysql > provide these libraries (you may need the "-dev" versions). If the libraries
72
+
73
+ mysql > are already installed but in a non-standard location then you can use the
74
+
75
+ mysql > flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If
76
+
77
+ mysql > the library files do exist, it may contain errors that are caught by the C
78
+
79
+ mysql > compiler at the preprocessing stage. In this case you can re-run configure
80
+
81
+ mysql > with the verbosity flag -v3 to see the error messages.
82
+
83
+ mysql >
84
+
85
+ pcre-light > configure
86
+
87
+ pcre-light > Configuring pcre-light-0.4.0.4...
88
+
89
+ pcre-light > Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: The program 'pkg-config' version
90
+
91
+ pcre-light > >=0.9.0 is required but the version of /mnt/c/Strawberry/perl/bin/pkg-config
92
+
93
+ pcre-light > could not be determined.
94
+
95
+ pcre-light >
96
+
97
+ ```
98
+
99
+
100
+
101
+ mysql 側はCライブラリが足りないもしくは参照先がおかしいとなっており、pcre-light はバージョン指定がおかしいのでしょうか?
102
+
103
+ どのように対処していいのかわからないので、対応方法を教えていただきたく思います。
104
+
105
+ よろしくお願いいたします。
46
106
 
47
107
 
48
108