AIX 6.1のOcamlコンパイルエラー

AIX 6.1のOcamlコンパイルエラー

AIX 6.1を実行しているサーバーでOcamlをコンパイルしようとすると、次のエラーが発生します。

"../Makefile.shared", line 39: make: 1254-055 Dependency line needs colon or double colon operator.
"../Makefile.shared", line 40: make: 1254-055 Dependency line needs colon or double colon operator.
"../Makefile.shared", line 41: make: 1254-055 Dependency line needs colon or double colon operator.
make: 1254-058 Fatal errors encountered -- cannot continue.
make: 1254-004 The error code from the last command is 2.

私が実行したときのmake world最終出力は次のとおりです./configure

Directories where Objective Caml will be installed:
        binaries.................. /usr/local/bin
        standard library.......... /usr/local/lib/ocaml
        manual pages.............. /usr/local/man (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... gcc
        options for compiling..... -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
        options for linking.......   -lm  -lcurses -lpthread
        shared libraries not supported
Configuration for the native-code compiler:
        (not supported on this platform)
Source-level replay debugger: supported
Additional libraries supported:
        unix str num dynlink bigarray systhreads threads graph dbm
Configuration for the "num" library:
        target architecture ...... generic (asm level 0)
Configuration for the "graph" library:
        options for compiling .... -I/usr/X11R7/include
        options for linking ...... -L/usr/X11R7/lib -lX11
The "labltk" library: not supported
** Objective Caml configuration completed successfully **

ベストアンサー1

AIX はもう存在しません。正式にサポートされているプラ​​ットフォーム。一つあるOCaml 3.11.2の非公式ポート

GNU make を使用してすぐに生成されるエラーを修正できます。あるいは、makefileを調整してみることもできます。otherlibs/Makefile.shared非標準構成を使用してください。 、などを?=使用するには、3行を変更してください。また、次の定義を使用して行を移動するように変更し、同様に次の定義を移動する必要があります。=CMIFILES = $(CAMLOBJS:.cmo=.cmi)otherlibs/num/MakefileCMIFILESinclude ../Makefileotherlibs/dbm/Makefileotherlibs/str/MakefileCLIBNAMEinclude ../Makefile

検索または公開することをお勧めします。カムリスト。これは、まだAIXでOcamlを使用している他の人と連絡を取るのに最適な場所です。

おすすめ記事