zoukankan      html  css  js  c++  java
  • 在FC4上装GT4.0

    在FC4上装GT4,FC4自带的libxml2包与GT4有兼容性问题,会导致源代码make失败。提示一大堆的错误:
    make[5]: Leaving directory `/home/globus/gt4.0.0-all-source-installer/source-trees/libxml2'
    /bin/sh /usr/local/globus-4.0.0/sbin/libtool-gcc32dbg --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/globus/gt4.0.0-all-source-installer/source-trees/libxml2 -I. -I./include -I/home/globus/gt4.0.0-all-source-installer/source-trees/libxml2/include -I/usr/local/globus-4.0.0/include -I/usr/local/globus-4.0.0/include/gcc32dbg -g -Wall -Wall -c -o SAX.lo SAX.c
    mkdir .libs
    /usr/bin/gcc -DHAVE_CONFIG_H -I. -I/home/globus/gt4.0.0-all-source-installer/source-trees/libxml2 -I. -I./include -I/home/globus/gt4.0.0-all-source-installer/source-trees/libxml2/include -I/usr/local/globus-4.0.0/include -I/usr/local/globus-4.0.0/include/gcc32dbg -g -Wall -Wall -c SAX.c -fPIC -DPIC -o .libs/SAX.o
    elfgcchack.h:60: error: '__xmlGenericError' aliased to undefined symbol '__xmlGenericError__internal_alias'
    elfgcchack.h:64: error: '__xmlGenericErrorContext' aliased to undefined symbol '__xmlGenericErrorContext__internal_alias'
    elfgcchack.h:70: error: 'docbCreatePushParserCtxt' aliased to undefined symbol 'docbCreatePushParserCtxt__internal_alias'
    elfgcchack.h:75: error: 'htmlAttrAllowed' aliased to undefined symbol 'htmlAttrAllowed__internal_alias'
    ……

    这个问题已经放在GT 的Bugzilla里了:http://bugzilla.globus.org/globus/show_bug.cgi?id=3496
    在gt4.0.0-all-source-installer/source-trees/libxml2/elfgcchack.h里开头处:
      * autogenerated with xsltproc doc/elfgcchack.xsl doc/libxml2-api.xml
      */
    加上:
    #ifdef IN_LIBXML
    #ifdef __GNUC__
    #ifdef PIC
    #ifdef linux
    #if (__GNUC__ == 3 && __GNUC_MINOR__ == 3)
    并在文件最后加上:
    #endif
    #endif
    #endif
    #endif
    #endif

    然后重新make,应该就成功了!
  • 相关阅读:
    临床是什么意思
    .NET编程 TripleDES加解密范例
    七个C#编程的小技巧
    什么是医技科室
    NT Service与桌面交互
    如何在全局程序集缓存 (GAC) 中安装 DLL 文件
    C# 获取机器码
    .NET编程 字节数组、数值和十六进制字符串的转换
    C#.Net的全局键盘钩子(Hook)技术
    VS2008安装"deffactory.dat"文件错误解决方法
  • 原文地址:https://www.cnblogs.com/wonderow/p/285165.html
Copyright © 2011-2022 走看看