安装Open Semantic Framework v1.0时出错

时间:2017-07-12 12:12:27

标签: php makefile ubuntu-14.04 virtuoso

我完成了StructWSF Installation Guide的第5步(Open Semantic Framework的一部分),并尝试安装Virtuoso 6.1.6。 ./configure步骤正常,但在运行sudo makesudo make check时,会发生很多错误。它看起来像是一种错误,但我对此一无所知。

我使用的是Ubuntu 14.04。有没有人有想法?

非常感谢。

vagrant@vagrant-ubuntu-trusty-64:/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

2 个答案:

答案 0 :(得分:0)

我首先将Virtuoso更新/升级到更新的版本。 Version 7.2.4.2或更高版本被视为当前且强烈推荐; Version 6.1.8是最后一个v6,最后一个32位(v7仅为64位)。

无论哪种方式,您都可以考虑关注official Virtuoso instructions,尤其是安装build dependencies,而不是使用非常旧的(上次更新的2012-12-17!)第三方指南。

(确实,为什么你甚至没有使用current OSF Installer,因为你是当前的Ubuntu?)

(ObDisclaimer:OpenLink Software生成Virtuoso,雇用我。)

答案 1 :(得分:0)

要关闭此问题:

当我的环境是Ubuntu14.04,apache2,php5.6,mysql5时,这个问题可能与php版本不符合osf installer 要求有关。

但是,这个安装程序只考虑了php5(.ini文件位置与php5.6不同,我知道这是通过检查安装php文件),这就是为什么有些软件不能很好地工作,而将php5.6降级为php5对我来说效果很好。

现在我的环境变成了Ubuntu14.04,apache2, php5 ,mysql5,安装运行良好。

希望这可以帮助某人。

相关问题