免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: heon1978
打印 上一主题 下一主题

AIX下安装libxml2的问题请教 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-05-03 11:22 |只看该作者
续:
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1548: checking for a BSD-compatible install
configure:1603: result: build-aux/install-sh -c
configure:1614: checking whether build environment is sane
configure:1657: result: yes
configure:1722: checking for gawk
configure:1751: result: no
configure:1722: checking for mawk
configure:1751: result: no
configure:1722: checking for nawk
configure:1738: found /bin/nawk
configure:1748: result: nawk
configure:1758: checking whether make sets $(MAKE)
configure:1778: result: yes
configure:1948: checking whether make sets $(MAKE)
configure:1968: result: yes
configure:2028: checking for gcc
configure:2057: result: no
configure:2108: checking for cc
configure:2124: found /bin/cc
configure:2134: result: cc
configure:2298: checking for C compiler version
configure:2301: cc --version </dev/null >&5
cc: 1501-216 command option -version is not recognized - passed to ld
  IBM C and C++ Compilers

  Usage:
     xlC [ option | inputfile ]...
     xlc [ option | inputfile ]...
     cc [ option | inputfile ]...
     c89 [ option | inputfile ]...
     xlC128 [ option | inputfile ]...
     xlc128 [ option | inputfile ]...
     cc128 [ option | inputfile ]...
     xlC_r [ option | inputfile ]...
     xlc_r [ option | inputfile ]...
     cc_r [ option | inputfile ]...
     xlC_r4 [ option | inputfile ]...
     xlc_r4 [ option | inputfile ]...
     cc_r4 [ option | inputfile ]...
     CC_r4 [ option | inputfile ]...
     xlC_r7 [ option | inputfile ]...
     xlc_r7 [ option | inputfile ]...
     cc_r7 [ option | inputfile ]...

  Description:
     The xlC and related commands compile C and C++ source files.
     They also processes assembler source files and object files. Unless the
     -c option is specified, xlC calls the linkage editor to produce a
     single object file. Input files may be any of the following:
       1. file name with .C suffix: C++ source file
       2. file name with .i suffix: preprocessed C or C++ source file
       3. file name with .c suffix: C source file
       4. file name with .o suffix: object file for ld command
       5. file name with .s suffix: assembler source file
       6. file name with .so suffix: shared object file

  Options:
     Options can be flag options or keyword options:

       1. Flag options:

        -#        Display language processing commands but do
                  not invoke them; output goes to stdout.
        -+        Treat .c files as C++ source code.
        -bdynamic, -bstatic
                  Determines which types of library files are searched by
                  the linkage editor.
        -brtl     Tells the linkage editor to accept both .so and .a
                  library file types.
        -B<prefix>
                  Construct alternate compiler/assembler/linkage editor
                  program names. <prefix> is added to the beginning of
                  the standard program names.
        -c        Do not send object files to the linkage editor.
        -C        Write comments to output when doing preprocessing,
                  used with -E and -P.
        -D<name>[=<def>]
                  Define <name> as in #define directive. If <def> is
                  not specified, 1 is assumed.
        -E        Preprocess but do not compile; output goes to stdout
        -F<x>[:<stanza>]
                  Use alternate configuration file <x> with optional
                  <stanza>. If <stanza> is not specified, xlC is
                  assumed.
        -g        Produce information for the debugger.
        -I<dir>   Search in directory <dir> for include files that
                  do not start with an absolute path.
        -l<key>   Search the specified library file,
                  where <key> selects the file lib<key>.a.
        -L<dir>   Search in directory <dir> for files specified by -l<key>.
        -ma       Generate inline calls to the "alloca" function as if
                  "#pragma alloca" directives were in the source file.
        -M        Generate information to be included in a "make"
                  description file; output goes to .u file.
        -o<name>  Name the executable file <name> instead of a.out.
                  When used with the -c option and one source file,
                  name the object file <name> instead of filename.o.
                  If <name> is the name of a directory, files generated by
                  the compiler will be placed into that directory.
        -O        Optimize generated code.
        -O2       Equivalent level of optimization as -O in the
                  previous release.
        -O3       Perform some memory and compile time intensive
                  optimizations in addition to those executed with -O2.
                  The -O3 specific optimizations have the potential to
                  alter the semantics of a user's program.
                  The compiler guards against these optimizations at -O2
                  and the option -qstrict is provided at -O3 to turn off
                  these aggressive optimizations.
        -O4       (C) Equivalent to -O3 -qipa with automatic generation of
                  architecture and tuning option ideal for that platform.
        -p        Generate profiling support code.
        -pg       Generate profiling support code including BSD
                  profiling support.
        -P        Preprocess but do not compile; output goes to .i file.
        -Q        (C++) Requests inlining of inline routines.
        -Q!       (C++) Turns off inlining.
        -Q<x>, -qinline<x>     
                  (C) Inline all appropriate functions where x can be
                  one of the following:
                    !       Not inline any function
                    =<lc>   Inline if number of source statement in
                            function is less than the number specified
                            in <lc>.
                    -<nm>   Not inline function listed by names in <nm>
                    +<nm>   Attempt to inline function listed by names
                            in <nm>.
        -r        Permits the output file to be produced even if it
                  contains unresolved symbols.
        -S        Produce a .s file for any source file processed by the
                  compiler.
        -t<x>     Apply prefix from the -B option to the specified program <x>,
                  where x can be one or more of the following:
                    p = preprocessor
                    c = compiler frontend
                    b = compiler backend
                    i = compiler inliner
                    a = assembler
                    l = linkage editor.
                    m = 'munch' utility
                    f = C++ name demangler utility
                    I = inter procedural analysis compile phase
                    L = inter procedural analysis link phase
        -U<name>  Undefine name as in #undef directive.
        -v        Displays language processing commands as they
                  are invoked by xlC; output goes to stdout.
        -w        Suppress informational, language-level, and
                  warning messages.
        -W<x,y>   Give the options <y> to the compiler program <x>
                  where x can be one or more of the following:
                    <p,c,b,i,a,l,I,m,f>
        -y<x>     Specify compile-time rounding of constant floating-point
                  expressions, where <x> can be one of the following:
                    n = round to nearest
                    m = round toward minus infinity
                    p = round toward positive infinity
                    z = round toward zero.

论坛徽章:
0
12 [报告]
发表于 2007-05-03 11:25 |只看该作者
我还是把最后的列出来吧,太多了:
Environment Variables
     1.OBJECT_MODE changes the compilation-mode behavior, unless overridden by
                   configuration file or command-line options

        Setting

         not set   32-bit compiler mode.
          32       32-bit compiler mode.
          64       64-bit compiler mode.
         32_64     Fatal error and stop, unless an explicit configuration
                   file or command-line compiler-mode setting exists.
        any other  Fatal error and stop, unless an explicit configuration
                   file or command-line compiler-mode setting exists.

  For a detailed description of each option, please refer to the
  IBM C and C++ Compilers User's Guide.

exec: /usr/bin/pg(/usr/bin/pg,/usr/ibmcxx/exe/default_msg/ibmcxx.help,NULL)
unlink: /tmp/xlcaHlTia
unlink: /tmp/xlcaHlTib
unlink: /tmp/xlcaHlTic
configure:2309: $? = 249
configure:2311: cc -V </dev/null >&5
cc: 1501-208 command option V is missing a subargument
configure:2314: $? = 40
configure:2337: checking for C compiler default output file name
configure:2340: cc -O   conftest.c  >&5

论坛徽章:
95
程序设计版块每日发帖之星
日期:2015-09-05 06:20:00程序设计版块每日发帖之星
日期:2015-09-17 06:20:00程序设计版块每日发帖之星
日期:2015-09-18 06:20:002015亚冠之阿尔艾因
日期:2015-09-18 10:35:08月度论坛发贴之星
日期:2015-09-30 22:25:002015亚冠之阿尔沙巴布
日期:2015-10-03 08:57:39程序设计版块每日发帖之星
日期:2015-10-05 06:20:00每日论坛发贴之星
日期:2015-10-05 06:20:002015年亚冠纪念徽章
日期:2015-10-06 10:06:482015亚冠之塔什干棉农
日期:2015-10-19 19:43:35程序设计版块每日发帖之星
日期:2015-10-21 06:20:00每日论坛发贴之星
日期:2015-09-14 06:20:00
13 [报告]
发表于 2007-05-03 11:31 |只看该作者
看来是 AIX 的 xlc 编译器和 configure 中指定的一些参数冲突。多设置些环境变量,必要的话修改一下 configure。当然,也可以考虑别人已经编译好的库。

论坛徽章:
0
14 [报告]
发表于 2007-05-03 11:36 |只看该作者
看来是 AIX 的 xlc 编译器和 configure 中指定的一些参数冲突。多设置些环境变量,必要的话修改一下 configure。当然,也可以考虑别人已经编译好的库。
------------------------------------------------------------------
那就头痛了:根本没用过这个东西,更不要说修改configure了,可以考虑别人已经编译好的库(这个如何用啊)

论坛徽章:
95
程序设计版块每日发帖之星
日期:2015-09-05 06:20:00程序设计版块每日发帖之星
日期:2015-09-17 06:20:00程序设计版块每日发帖之星
日期:2015-09-18 06:20:002015亚冠之阿尔艾因
日期:2015-09-18 10:35:08月度论坛发贴之星
日期:2015-09-30 22:25:002015亚冠之阿尔沙巴布
日期:2015-10-03 08:57:39程序设计版块每日发帖之星
日期:2015-10-05 06:20:00每日论坛发贴之星
日期:2015-10-05 06:20:002015年亚冠纪念徽章
日期:2015-10-06 10:06:482015亚冠之塔什干棉农
日期:2015-10-19 19:43:35程序设计版块每日发帖之星
日期:2015-10-21 06:20:00每日论坛发贴之星
日期:2015-09-14 06:20:00
15 [报告]
发表于 2007-05-03 11:38 |只看该作者
原帖由 heon1978 于 2007-5-3 11:36 发表
看来是 AIX 的 xlc 编译器和 configure 中指定的一些参数冲突。多设置些环境变量,必要的话修改一下 configure。当然,也可以考虑别人已经编译好的库。
----------------------------------------------------- ...

呃,告诉你一个小秘密:如果自己有什么事情搞不定,可以找同事帮忙。

论坛徽章:
0
16 [报告]
发表于 2007-05-03 11:49 |只看该作者
只能请网上高手帮忙了,不知是否真的能在AIX下安装啊,烦啊!

论坛徽章:
0
17 [报告]
发表于 2007-05-03 12:04 |只看该作者
只能请网上高手帮忙了,不知是否真的能在AIX下安装啊,烦啊!

论坛徽章:
0
18 [报告]
发表于 2007-06-12 12:19 |只看该作者
AIX上不用安装,自带libxml2的库
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP