【问题标题】:"Make" Error while Apache upgrade from 2.0.63 to 2.0.65 with openssl-0.9.7eApache 使用 openssl-0.9.7e 从 2.0.63 升级到 2.0.65 时出现“Make”错误
【发布时间】:2015-02-01 22:27:13
【问题描述】:

在 i86pc 中编译 apache:

在编译apache之前编译openssl0.9.7e。 然后配置首选选项:

./configure --prefix=/usr/apache2 --enable-mods-shared="all ssl auth_gss cache deflate disk_cache file_cache mem_cache perl proxy_connect proxy proxy_ftp proxy_http suexec" --with-ssl=/usr/local/ssl “制作” 错误:

__ctype                             0x637       /usr/local/ssl/lib/libcrypto.a(v3_conf.o)
__ctype                             0x6b7       /usr/local/ssl/lib/libcrypto.a(v3_conf.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `mod_ssl.la'
Current working directory /vikram/apache_2_0_65/httpd-2.0.65/modules/ssl
*** Error code 1
The following command caused the error:
if test `pwd` = "/vikram/apache_2_0_65/httpd-2.0.65"; then \
    echo "" ; \
fi; \
list=''; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
        made_local=yes; \
        target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test -f 'modules.mk'; then \
    if test -n 'mod_ssl.la'; then \
        echo "Building shared: mod_ssl.la"; \
        if test "$made_local" != "yes"; then \
                make "local-shared-build" || exit 1; \
        fi; \
    fi; \
fi; \
if test `pwd` = "/vikram/apache_2_0_65/httpd-2.0.65"; then \
        echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /vikram/apache_2_0_65/httpd-2.0.65/modules/ssl
*** Error code 1
The following command caused the error:
if test `pwd` = "/vikram/apache_2_0_65/httpd-2.0.65"; then \
    echo "" ; \
fi; \
list='aaa cache experimental filters loggers metadata proxy ssl http dav/main generators dav/fs mappers'; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
        made_local=yes; \
        target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test -f 'modules.mk'; then \
    if test -n ''; then \
        echo "Building shared: "; \
        if test "$made_local" != "yes"; then \
                make "local-shared-build" || exit 1; \
        fi; \
    fi; \
fi; \
if test `pwd` = "/vikram/apache_2_0_65/httpd-2.0.65"; then \
        echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /vikram/apache_2_0_65/httpd-2.0.65/modules
*** Error code 1
The following command caused the error:
if test `pwd` = "/vikram/apache_2_0_65/httpd-2.0.65"; then \
    echo "" ; \
fi; \
list='srclib os server modules support'; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
        made_local=yes; \
        target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test -f 'modules.mk'; then \
    if test -n ''; then \
        echo "Building shared: "; \
        if test "$made_local" != "yes"; then \
                make "local-shared-build" || exit 1; \
        fi; \
    fi; \
fi; \
if test `pwd` = "/vikram/apache_2_0_65/httpd-2.0.65"; then \
        echo "" ; \
fi
make: Fatal error: Command failed for target `shared-build-recursive'
Current working directory /vikram/apache_2_0_65/httpd-2.0.65
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \
list='  srclib os server modules support'; \
for i in $list; do \
    if test -d "$i"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \
        if test "$i" = "."; then \
                made_local=yes; \
                target="local-$target"; \
        fi; \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build suexec'; then \
    made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'

谁能帮帮我?我该如何克服这个错误?

【问题讨论】:

    标签: apache


    【解决方案1】:

    您需要在共享模式下重新编译您的 openssl,以便共享库以用于编译 apache。

    ./配置 your_architecture shared 要么 ./config 共享

    【讨论】:

      猜你喜欢
      • 2015-08-31
      • 2016-11-22
      • 2023-02-08
      • 1970-01-01
      • 1970-01-01
      • 2022-08-17
      • 1970-01-01
      • 2018-12-22
      • 1970-01-01
      相关资源
      最近更新 更多