2017-07-12 16 views
0

StructWSF Installation Guide(手順はOpen Semantic Frameworkの一部)の手順5まで、Virtuoso 6.1.6をインストールしようとしています。 ./configureの手順はOKですが、sudo makesudo make checkを実行すると、多くのエラーが発生します。それはある種のエラーのように見えますが、私はそれに手がかりがありません。Open Semantic Framework v1.0をインストール中にエラーが発生する

私はUbuntu 14.04を使用しています。誰もがいくつかのアイデアを持っています

多くのありがとうございます。

[email protected]:/tmp/virtuoso-opensource-6.1.6$ sudo make check 
Making check in . 
make[1]: Entering directory `/tmp/virtuoso-opensource-6.1.6' 
make[1]: Nothing to be done for `check-am'. 
make[1]: Leaving directory `/tmp/virtuoso-opensource-6.1.6' 
Making check in docsrc 
make[1]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc' 
Making check in chm 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/chm' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/chm' 
Making check in docwiki 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/docwiki' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/docwiki' 
Making check in html_virt 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/html_virt' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/html_virt' 
Making check in images 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/images' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/images' 
Making check in pdf 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/pdf' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/pdf' 
Making check in releasenotes 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/releasenotes' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/releasenotes' 
Making check in styleguide 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/styleguide' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/styleguide' 
Making check in stylesheets 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/stylesheets' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/stylesheets' 
Making check in xmlsource 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc/xmlsource' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc/xmlsource' 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/docsrc' 
make[2]: Nothing to be done for `check-am'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc' 
make[1]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/docsrc' 
Making check in libsrc 
make[1]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc' 
Making check in util 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/util' 
make check-am 
make[3]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/util' 
make[3]: Nothing to be done for `check-am'. 
make[3]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/util' 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/util' 
Making check in zlib 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/zlib' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/zlib' 
Making check in odbcsdk 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/odbcsdk' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/odbcsdk' 
Making check in Dk 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Dk' 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Dk' 
Making check in Thread 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Thread' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Thread' 
Making check in langfunc 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/langfunc' 
make[2]: Nothing to be done for `check'. 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/langfunc' 
Making check in Wi 
make[2]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Wi' 
make check-am 
make[3]: Entering directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Wi' 
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-st                 rict-aliasing -O2 -Wall -DNDEBUG -DPOINTER_64 -I/usr/include -I/tmp/virtuoso-opensource-6.1.6/libs                 rc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I                 ../../libsrc/Dk -I. -I../../libsrc/langfunc -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/                 Xml.new -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Linux\" -DHOST=\"x86_64-unknow                 n-linux-gnu\" -g -O2 -MT libwi_la-bif_crypto.lo -MD -MP -MF .deps/libwi_la-bif_crypto.Tpo -c -o libwi_                 la-bif_crypto.lo `test -f 'bif_crypto.c' || echo './'`bif_crypto.c 
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -fno-strict-aliasing -O2 -Wall -DNDEBUG -                 DPOINTER_64 -I/usr/include -I/tmp/virtuoso-opensource-6.1.6/libsrc/Xml.new -DOPENSSL_NO_KRB5 -Dlinux -                 D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -I../../libsrc -I../../libsrc/Dk -I. -I../../libsrc/langfu                 nc -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new -I../../libsrc/odbcsdk/include -DV                 AD -DDBP -DBIF_XPER -DOPSYS=\"Linux\" -DHOST=\"x86_64-unknown-linux-gnu\" -g -O2 -MT libwi_la-bif_cryp                 to.lo -MD -MP -MF .deps/libwi_la-bif_crypto.Tpo -c bif_crypto.c -fPIC -DPIC -o .libs/libwi_la-bif_cry                 pto.o 
In file included from bif_crypto.c:36:0: 
xmlenc.h:315:7: error: unknown type name 'des_cblock' 
     des_cblock k1; 
    ^
xmlenc.h:316:7: error: unknown type name 'des_cblock' 
     des_cblock k2; 
    ^
xmlenc.h:317:7: error: unknown type name 'des_cblock' 
     des_cblock k3; 
    ^
xmlenc.h:319:7: error: unknown type name 'des_key_schedule' 
     des_key_schedule ks1;/* key schedule */ 
    ^
xmlenc.h:320:7: error: unknown type name 'des_key_schedule' 
     des_key_schedule ks2;/* key schedule (for ede) */ 
    ^
xmlenc.h:321:7: error: unknown type name 'des_key_schedule' 
     des_key_schedule ks3;/* key schedule (for ede3) */ 
    ^
xmlenc.h:323:7: error: unknown type name 'des_cblock' 
     des_cblock iv; 
    ^
bif_crypto.c: In function 'box_hmac': 
bif_crypto.c:184:12: error: storage size of 'ctx' isn't known 
    HMAC_CTX ctx; 
      ^
bif_crypto.c:190:3: warning: 'HMAC_Init' is deprecated (declared at /usr/include/openssl/hmac.h:28) [-                 Wdeprecated-declarations] 
    HMAC_Init (&ctx, key, box_length (key) - DV_STRINGP (key) ? 1 : 0, md); 
^
bif_crypto.c:184:12: warning: unused variable 'ctx' [-Wunused-variable] 
    HMAC_CTX ctx; 
      ^
bif_crypto.c: In function 'asn1_parse_to_xml': 
bif_crypto.c:251:7: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type [e                 nabled by default] 
     j = ASN1_get_object (&p, &len, &tag, &xclass, length); 
    ^
In file included from /usr/include/openssl/objects.h:916:0, 
       from /usr/include/openssl/evp.h:27, 
       from xmlenc.h:35, 
       from bif_crypto.c:36: 
/usr/include/openssl/asn1.h:671:5: note: expected 'const unsigned char **' but argument is of type 'un                 signed char **' 
int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, 
    ^
bif_crypto.c:335:8: warning: passing argument 2 of 'd2i_ASN1_OBJECT' from incompatible pointer type [e                 nabled by default] 
     if (d2i_ASN1_OBJECT (&o, &opp, len + hl) != NULL) 
     ^
In file included from /usr/include/openssl/objects.h:916:0, 
       from /usr/include/openssl/evp.h:27, 
       from xmlenc.h:35, 
       from bif_crypto.c:36: 
/usr/include/openssl/asn1.h:530:14: note: expected 'const unsigned char **' but argument is of type 'u                 nsigned char **' 
ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, 
      ^
bif_crypto.c:351:8: warning: implicit declaration of function 'd2i_ASN1_BOOLEAN' [-Wimplicit-function-                 declaration] 
     ii = d2i_ASN1_BOOLEAN (NULL, &opp, len + hl); 
     ^
bif_crypto.c:368:8: warning: passing argument 2 of 'd2i_ASN1_OCTET_STRING' from incompatible pointer t                 ype [enabled by default] 
     os = d2i_ASN1_OCTET_STRING (NULL, &opp, len + hl); 
     ^
In file included from /usr/include/openssl/objects.h:916:0, 
       from /usr/include/openssl/evp.h:27, 
       from xmlenc.h:35, 
       from bif_crypto.c:36: 
/usr/include/openssl/asn1.h:594:1: note: expected 'const unsigned char **' but argument is of type 'un                 signed char **' 
DECLARE_ASN1_FUNCTIONS(ASN1_OCTET_STRING) 
^ 
bif_crypto.c:418:5: warning: implicit declaration of function 'M_ASN1_OCTET_STRING_free' [-Wimplicit-f                 unction-declaration] 
    M_ASN1_OCTET_STRING_free (os); 
    ^
bif_crypto.c:428:8: warning: passing argument 2 of 'd2i_ASN1_INTEGER' from incompatible pointer type [                 enabled by default] 
     bs = d2i_ASN1_INTEGER (NULL, &opp, len + hl); 
     ^
In file included from /usr/include/openssl/objects.h:916:0, 
       from /usr/include/openssl/evp.h:27, 
       from xmlenc.h:35, 
       from bif_crypto.c:36: 
/usr/include/openssl/asn1.h:569:1: note: expected 'const unsigned char **' but argument is of type 'un                 signed char **' 
DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) 
^ 
bif_crypto.c:451:8: warning: implicit declaration of function 'M_ASN1_INTEGER_free' [-Wimplicit-functi                 on-declaration] 
     M_ASN1_INTEGER_free (bs); 
     ^
bif_crypto.c:459:8: warning: passing argument 2 of 'd2i_ASN1_ENUMERATED' from incompatible pointer typ                 e [enabled by default] 
     bs = d2i_ASN1_ENUMERATED (NULL, &opp, len + hl); 
     ^
In file included from /usr/include/openssl/objects.h:916:0, 
       from /usr/include/openssl/evp.h:27, 
       from xmlenc.h:35, 
       from bif_crypto.c:36: 
/usr/include/openssl/asn1.h:575:1: note: expected 'const unsigned char **' but argument is of type 'un                 signed char **' 
DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED) 
^ 
bif_crypto.c:482:8: warning: implicit declaration of function 'M_ASN1_ENUMERATED_free' [-Wimplicit-fun                 ction-declaration] 
     M_ASN1_ENUMERATED_free (bs); 
     ^
bif_crypto.c: In function 'bif_smime_sign': 
bif_crypto.c:857:21: error: dereferencing pointer to incomplete type 
    if (store && store->objs) 
        ^
bif_crypto.c:859:52: error: dereferencing pointer to incomplete type 
     for (inx = 0; inx < sk_X509_OBJECT_num (store->objs); inx++) 
                ^
bif_crypto.c:861:50: error: dereferencing pointer to incomplete type 
    X509_OBJECT *obj = sk_X509_OBJECT_value (store->objs, inx); 
               ^
bif_crypto.c:862:11: error: dereferencing pointer to incomplete type 
    if (obj->type == X509_LU_X509) 
     ^
bif_crypto.c:863:40: error: dereferencing pointer to incomplete type 
     sk_X509_push (certs, X509_dup (obj->data.x509)); 
             ^
bif_crypto.c: In function 'bif_smime_encrypt': 
bif_crypto.c:938:21: error: dereferencing pointer to incomplete type 
    if (store && store->objs) 
        ^
bif_crypto.c:940:52: error: dereferencing pointer to incomplete type 
     for (inx = 0; inx < sk_X509_OBJECT_num (store->objs); inx++) 
                ^
bif_crypto.c:942:50: error: dereferencing pointer to incomplete type 
    X509_OBJECT *obj = sk_X509_OBJECT_value (store->objs, inx); 
               ^
bif_crypto.c:943:11: error: dereferencing pointer to incomplete type 
    if (obj->type == X509_LU_X509) 
     ^
bif_crypto.c:944:40: error: dereferencing pointer to incomplete type 
     sk_X509_push (certs, X509_dup (obj->data.x509)); 
             ^
bif_crypto.c: In function 'x509_certificate_verify_cb': 
bif_crypto.c:1114:18: error: dereferencing pointer to incomplete type 
     switch (ctx->error) 
       ^
bif_crypto.c: In function 'bif_x509_certificate_verify': 
bif_crypto.c:1211:51: error: dereferencing pointer to incomplete type 
     err_str = X509_verify_cert_error_string (csc->error); 
               ^
bif_crypto.c: In function 'BN_box': 
bif_crypto.c:1238:37: error: dereferencing pointer to incomplete type 
    buf = box_num ((unsigned long) x->d[0]); 
            ^
bif_crypto.c: In function 'bif_get_certificate_info': 
bif_crypto.c:1422:41: error: dereferencing pointer to incomplete type 
    STACK_OF (X509_EXTENSION) * exts = cert->cert_info->extensions; 
bif_crypto.c:1434:5: warning: implicit declaration of function 'M_ASN1_OCTET_STRING_print' [-Wimplicit                 -function-declaration] 
    M_ASN1_OCTET_STRING_print (mem, ex->value); 
    ^
bif_crypto.c:1434:39: error: dereferencing pointer to incomplete type 
    M_ASN1_OCTET_STRING_print (mem, ex->value); 
            ^
bif_crypto.c:1461:11: error: dereferencing pointer to incomplete type 
     if (k->type == EVP_PKEY_RSA) 
     ^
bif_crypto.c:1463:13: error: dereferencing pointer to incomplete type 
    RSA *x = k->pkey.rsa; 
      ^
bif_crypto.c:1464:65: error: dereferencing pointer to incomplete type 
    ret = list (3, box_dv_short_string ("RSAPublicKey"), BN_box (x->e), BN_box (x->n)); 
                   ^
bif_crypto.c:1464:80: error: dereferencing pointer to incomplete type 
    ret = list (3, box_dv_short_string ("RSAPublicKey"), BN_box (x->e), BN_box (x->n)); 
                       ^
bif_crypto.c:1469:11: error: dereferencing pointer to incomplete type 
     if (k->type == EVP_PKEY_DSA) 
     ^
bif_crypto.c:1471:13: error: dereferencing pointer to incomplete type 
    DSA *x = k->pkey.dsa; 
      ^
bif_crypto.c:1472:65: error: dereferencing pointer to incomplete type 
    ret = list (2, box_dv_short_string ("DSAPublicKey"), BN_box (x->pub_key)); 
                   ^
bif_crypto.c:1491:61: error: dereferencing pointer to incomplete type 
    for (i = 0; NULL != subj && i < sk_X509_NAME_ENTRY_num(subj->entries); i++) 
                  ^
bif_crypto.c:1493:40: error: dereferencing pointer to incomplete type 
     ne = sk_X509_NAME_ENTRY_value(subj->entries,i); 
             ^
bif_crypto.c:1494:25: error: dereferencing pointer to incomplete type 
     n = OBJ_obj2nid (ne->object); 
         ^
bif_crypto.c:1495:34: warning: assignment discards 'const' qualifier from pointer target type [enabled                 by default] 
     if ((n == NID_undef) || ((s = OBJ_nid2sn (n)) == NULL)) 
           ^
bif_crypto.c:1497:47: error: dereferencing pointer to incomplete type 
    i2t_ASN1_OBJECT (buffer, sizeof (buffer), ne->object); 
              ^
bif_crypto.c:1508:36: error: dereferencing pointer to incomplete type 
     ASN1_STRING_print (mem, ne_ret->value); 
            ^
bif_crypto.c:1529:61: error: dereferencing pointer to incomplete type 
    for (i = 0; NULL != subj && i < sk_X509_NAME_ENTRY_num(subj->entries); i++) 
                  ^
bif_crypto.c:1532:40: error: dereferencing pointer to incomplete type 
     ne = sk_X509_NAME_ENTRY_value(subj->entries,i); 
             ^
bif_crypto.c:1533:25: error: dereferencing pointer to incomplete type 
     n = OBJ_obj2nid (ne->object); 
         ^
bif_crypto.c:1534:34: warning: assignment discards 'const' qualifier from pointer target type [enabled                 by default] 
     if ((n == NID_undef) || ((s = OBJ_nid2sn (n)) == NULL)) 
           ^
bif_crypto.c:1536:47: error: dereferencing pointer to incomplete type 
    i2t_ASN1_OBJECT (buffer, sizeof (buffer), ne->object); 
              ^
bif_crypto.c:1539:32: error: dereferencing pointer to incomplete type 
     ASN1_STRING_print (mem, ne->value); 
           ^
make[3]: *** [libwi_la-bif_crypto.lo] Error 1 
make[3]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Wi' 
make[2]: *** [check] Error 2 
make[2]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc/Wi' 
make[1]: *** [check-recursive] Error 1 
make[1]: Leaving directory `/tmp/virtuoso-opensource-6.1.6/libsrc' 
make: *** [check-recursive] Error 1 

答えて

0

私はVirtuosoのアップデート/アップグレードをより新しいバージョンから開始します。 Version 7.2.4.2以降は最新のものとみなされ、強く推奨されます。 Version 6.1.8が最後のv6で、最後の32ビット(v7は64ビットのみ)です。

どちらの場合でも、非常に古い(最新の2012-12-17!)サードパーティのガイドではなく、build dependenciesのインストールを含む、official Virtuoso instructionsをフォローすることをおすすめします。

(確かに、なぜあなたも、あなたは現在のUbuntuにしていることを考えると、current OSF Installerで作業していない?)

(ObDisclaimer:。OpenLink SoftwareVirtuosoを生成し、私を採用)

+0

ありがとうございました!私はバージョン6.16が32ビットであることに気付かなかった!私はOSFインストーラを使用してOSF(巨匠を含む)をインストールしようとしていましたが、最後のステップでオントロジーをロードするときにいくつかのエラーがあったので、それを段階的にインストールしようとしませんでした。上記のosf命令。今は、64ビット用だと言ったように、私は名人v7を試してみましょう。再度、感謝します! – Shanny

+0

明確にするため、v6は32ビットまたは64ビットとして構築できます。 v7は32ビットとして構築することはできません。また、現在のOSFがv3である間に、OSF v1の手動ビルド手順で作業しています。そして、あなたがオントロジーを読み込む際に直面した問題は、ビルド/インストールの問題が原因ではないようです。ソファーがドアをはめ込んでいないので、家を荒れ狂って再建しているようです。 – TallTed

+0

こんにちはTallTed、これを明確にしてくれてありがとう、私はこれが実際にインストールの問題に関連していないことがわかった、これは私が使用しているPHPバージョンのためかもしれない、私はOSFインストーラ中にphp5.6を使用している://github.com/structureddynamics/Open-Semantic-Framework-Installer)はphp5の.iniファイルを設定しますが、これらのファイルには異なる.iniファイルがあります。そして、私がこの問題に気づいたとき、私はphp5でシステム構成を変更し、インストールは成功しました! – Shanny

0

閉じるには

この問題は、自分の環境がUbuntu14.04、apache2、php5.6、mysql5だったときに、osf installerの要件を満たしていないPHPバージョンに関連している可能性があります。

しかし、このインストーラはphp5だけを考慮しています(.iniファイルの位置はphp5.6とは異なりますが、私はインストール用のphpファイルを調べてこれを知っています)。そのため、一方、php5.6からphp5への悪化は私にとってはうまくいく。

私の環境はUbuntu14.04、apache2、、php5、mysql5となり、インストールはうまくいきます。

これは誰かを助けることができますように願っています。

関連する問題