2016-01-20 41 views
0

我想從git的樹建立AWS:錯誤在OS X上的El建設阿達Web服務器(AWS)的Capitan

$ git clone --recursive http://forge.open-do.org/anonscm/git/aws/aws.git 

,我有以下錯誤:

$ make setup build 
gprbind xoscons.bexch 
gnatbind xoscons.ali 
gcc -c b__xoscons.adb 
gcc xoscons.o -o xoscons 
Setup OS specific definitions 
aws-os_lib-tmplt.c:77:20: fatal error: stdlib.h: No such file or directory 
#include <stdlib.h> 
        ^
compilation terminated. 
Can not generate system tags. The test are disabled 
object directory "/Users/adrian/Desktop/aws/tools/../.build/x86_64-apple-darwin13.4.0/release/static/obj/tools/" created 
object directory "https://stackoverflow.com/users/adrian/desktop/aws/include/zlib/../../.build/x86_64-apple-darwin13.4.0/release/static/obj/zlib" created for project zlib 
library directory "https://stackoverflow.com/users/adrian/desktop/aws/include/zlib/../../.build/x86_64-apple-darwin13.4.0/release/static/lib/zlib" created for project zlib 
object directory "https://stackoverflow.com/users/adrian/desktop/aws/include/../.build/x86_64-apple-darwin13.4.0/release/static/obj/include" created for project include 
library directory "https://stackoverflow.com/users/adrian/desktop/aws/include/../.build/x86_64-apple-darwin13.4.0/release/static/lib/include" created for project include 
object directory "https://stackoverflow.com/users/adrian/desktop/aws/ssl/../.build/x86_64-apple-darwin13.4.0/release/static/obj/ssl" created for project ssl 
library directory "https://stackoverflow.com/users/adrian/desktop/aws/ssl/../.build/x86_64-apple-darwin13.4.0/release/static/lib/ssl" created for project ssl 
object directory "https://stackoverflow.com/users/adrian/desktop/aws/src/../.build/x86_64-apple-darwin13.4.0/release/static/obj/src" created for project src 
library directory "https://stackoverflow.com/users/adrian/desktop/aws/src/../.build/x86_64-apple-darwin13.4.0/release/static/lib/src" created for project src 
library directory "/Users/adrian/Desktop/aws/.build/x86_64-apple-darwin13.4.0/release/static/lib/aws" created for project aws 
exec directory "/Users/adrian/Desktop/aws/tools/../.build/x86_64-apple-darwin13.4.0/release/static/tools" created for project tools 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common awsres.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common aws_password.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common templates2ada.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common webxref.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common templatespp.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common wsdl2aws.adb 
gcc -c -gnat2012 -O2 -gnatws -gnatn -fno-common zlib.adb 
gcc -c -gnat2012 -O2 -gnatws -gnatn -fno-common zlib-thin.adb 
gcc -c -gnat2012 -O2 -gnatws -gnatn -fno-common zlib-streams.adb 
gcc -c -gnat2012 -O2 -gnatws -gnatn -fno-common memory_streams.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common templates_parser-xml.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common soap.ads 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common soap-xml.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common soap-wsdl.adb 
gcc -c -gnat2012 -gnatwcfijkmRuv -gnaty3abBcdefhiIklmnoOprstx -O2 -gnatn -fno-common soap-wsdl-types.adb 
aws-os_lib.ads:30:01: cannot compile configuration pragmas with gcc 
aws-os_lib.ads:30:01: use gnatchop -c to process configuration pragmas 
compilation abandoned 
soap-xml.adb:32:14: warning: license of withed unit "DOM.Core.Nodes" may be inconsistent 
soap-xml.ads:34:09: warning: license of withed unit "DOM.Core" may be inconsistent 
soap-wsdl.adb:35:09: warning: license of withed unit "DOM.Readers" may be inconsistent 
soap-wsdl.adb:36:19: warning: license of withed unit "Input_Sources.File" may be inconsistent 
soap-wsdl.adb:37:09: warning: license of withed unit "Sax.Readers" may be inconsistent 
soap-wsdl.ads:32:09: warning: license of withed unit "DOM.Core" may be inconsistent 
templates_parser-xml.adb:33:14: warning: license of withed unit "DOM.Core.Nodes" may be inconsistent 
templates_parser-xml.adb:34:09: warning: license of withed unit "DOM.Readers" may be inconsistent 
templates_parser-xml.adb:35:19: warning: license of withed unit "Input_Sources.File" may be inconsistent 
templates_parser-xml.adb:36:19: warning: license of withed unit "Input_Sources.Strings" may be inconsistent 
templates_parser-xml.adb:37:09: warning: license of withed unit "Sax.Readers" may be inconsistent 
templates_parser-xml.adb:38:17: warning: license of withed unit "Unicode.CES.Basic_8bit" may be inconsistent 
templates_parser-xml.adb:39:17: warning: license of withed unit "Unicode.CES.Utf8" may be inconsistent 

    compilation of awsres.adb failed 

gprbuild: *** compilation phase failed 
make: *** [build-native] Error 4 

一個包下載來自Libre(aws-gpl-2015)在aws-os_lib.ads停止建設。

任何指針來得到這個去嗎?我已經從OS X Maverick上的Libre讀取了成功構建的AWS軟件包。

我應該使用git樹還是自由軟件包?

我在El Capitan 10.11.2上運行GNAT GPL 2015(20150428-49)。

謝謝。

回答

1

aws-os_lib.ads是從C文件生成的文件,其中日誌顯示錯誤...,因此可能在您的情況下未正確生成文件?

您是否安裝了xcode命令行工具?

xcode-select --install 
+0

它的工作完美。謝謝。已經遠離Ada的開發已經有一段時間了,我忘記了我做了El Capitan和Xcode的全新安裝。謝謝。 –

+1

實際上,無論是從頭開始安裝還是從舊版本升級,OSX都會清除命令行工具,並且需要在這兩種情況下重新安裝。 – manuBriot

+0

謝謝。我會記住這一點。 –

相關問題