2014-12-04 16 views
1
在了i86pc

編譯阿帕奇:「讓」 錯誤而從阿帕奇2.0.63升級到2.0.65與openssl0.9.7e

之前編譯Apache編譯openssl0.9.7e。 然後用優選的選​​項來配置的:

的./configure前綴=的/ usr/apache2的--enable-MODS的共享= 「所有SSL auth_gss緩存放氣disk_cache file_cache mem_cache perl的proxy_connect代理proxy_ftp proxy_http suexec的」 --with- SSL =在/ usr /本地/ 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' 

誰能幫助我?我怎樣才能克服這個錯誤?

回答

0

您需要在共享模式下重新編譯您的openssl,以便爲共享編譯apache庫。

的./configure your_architecture共享 或 ./config中共享