免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2111 | 回复: 1
打印 上一主题 下一主题

solaris10下编译原代码问题(apache,mysql)求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-22 01:13 |只看该作者 |倒序浏览
软件配置:solaris10
              mysql-5.0.45
              httpd-2.2.4.tar
              gcc-3.4.6-sol10-sparc-local
              gcc-3.3.2-sol10-sparc-local

我本来安装的是gcc-3.4.6
编译httpd时,./configure --enable-so
通过
make时报错,错误信息 Command failed for target `all-recursive'
后来我把gcc-3.4.6干掉了
装上gcc-3.32
apache make通过安装完成
但是安装mysql时configure通过,但是make 时又出错了
错误信息如下
我上网查了好久也没具体的解决办法,请各位老大帮我看看,到底是什么原因,谢谢

  
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 `libmysqlclient.la'
Current working directory /soft/mysql-5.0.45/libmysql
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. include Docs    cmd-line-utils sql-common scripts  pstack  strings mysys dbug extra regex innobase myisam myisammrg heap vio sql  libmysql  client  man tests  netware   sql-bench mysql-test support-files  server-tools'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /soft/mysql-5.0.45
*** Error code 1
make: Fatal error: Command failed for target `all'

论坛徽章:
0
2 [报告]
发表于 2007-07-22 20:43 |只看该作者
这样的问题都是跟版本有关系,一般都是编译软件、安装软件、操作系统直接不匹配。
楼主可以下载pkgadd的包,直接安装,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP