免费注册 查看新帖 |

Chinaunix

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

Gcc后续篇----make出问题了 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2006-07-03 09:36 |只看该作者
原帖由 susbin 于 2006-7-2 07:32 发表
把你的问题放到 CU-Web服务器 上吧。
http://bbs.chinaunix.net/forumdisplay.php?fid=13



谢谢你,我会到您说的地方也发一下的,这里我也要继续问,因为这个问题不光在安装APACHE时候才出现的,而是编译安装任何软件都出现该问题。

论坛徽章:
0
22 [报告]
发表于 2006-07-03 11:15 |只看该作者
vi /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/mkheaders.conf
第一行加
SHELL=/bin/sh
然後再執行./mkheaders
有點久等一下

SOLARIS10 我都這麼解決的

论坛徽章:
0
23 [报告]
发表于 2006-07-04 09:30 |只看该作者
网上查看别人安装APACHE + PHP + MYSQL 需要安装以下软件:
1.autoconf-2.13-sol9-intel-local.gz
2.automake-1.4-sol9-intel-local.gz
3.bison-1.28-sol9-intel-local.gz
4.gcc-3.2.2-sol9-intel-local.gz
5.gzip-1.3-sol9-intel-local
6.make-3.79.1-sol9-intel-local.gz
7.tar-1.13-sol9-intel-local.gz
8.libgcc-3.2.2-sol9-intel-local.gz
9.ncurse
10.flex-2.5.4-sol9-intel-local.gz
11.sed-4.0-sol9-intel-local.gz

会不会是我有什么没安装呢 ? 1  2  3  8  9  10  11是什么用的?希望能给回贴的老师们一些提示!

论坛徽章:
0
24 [报告]
发表于 2006-07-05 08:31 |只看该作者
不耻下问

论坛徽章:
0
25 [报告]
发表于 2006-07-05 08:41 |只看该作者
原帖由 kkjerry 于 2006-7-3 11:15 发表
vi /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/mkheaders.conf
第一行加
SHELL=/bin/sh
然後再執行./mkheaders
有點久等一下

SOLARIS10 我都這麼解決的


完全正确。

楼主:既然所有的程序编译都有这个错误存在,就是通用错误,不知道你安装gcc的前是否仔细考虑过可能存在的问题
下面把Sun Freeware德强调说明贴出来,以补充:

gcc-3.3.2-sol10-intel-local.gz
The GNU C compiler and related programs - installs in /usr/local. This package includes the GNU C, C++, g77, Java, and OBJC compiler suites and support files. The Gnat ada programs are not included yet. It was compiled to use the SUN assembler and loader usually in /usr/ccs/bin if the SUNW developer packages are installed. This gcc package requires the installation of libiconv.
Note that this version of gcc was created on build 60 of Solaris 10. If you are using a higher version, you will need to redo some of the header files. This is done by doing the following steps:


cd /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/install-tools/

Put the line SHELL=/bin/sh on the first line of the mkheaders.conf
file.  Then run

./mkheaders

This will correct some files and make the build 60 gcc usable on
higher builds.  I have tested this on build 72 and it works fine.

Please also read the detail on how the gcc packages are created which can be found at Comments on gcc. The documentation is in /usr/local/doc/gcc, /usr/local/man, and /usr/local/info.

gcc-3.3.2.tar.gz Source Code. [Details]

论坛徽章:
0
26 [报告]
发表于 2006-07-05 15:18 |只看该作者
安装libiconv没有,安装该版本的gcc需要安装该文件

论坛徽章:
0
27 [报告]
发表于 2006-07-10 16:02 |只看该作者
问题解决。

安装libiconv后再 设置一下就可以编译安装了。

谢谢大家2个星期的陪伴!  感动!

还是要谢谢

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
28 [报告]
发表于 2006-07-10 16:17 |只看该作者
不错,此帖该设为精彩!

论坛徽章:
0
29 [报告]
发表于 2006-07-13 11:22 |只看该作者
原帖由 东方蜘蛛 于 2006-7-10 16:17 发表
不错,此帖该设为精彩!



哈~ 如果能算精彩我也可以瞑目了

论坛徽章:
0
30 [报告]
发表于 2006-07-14 16:20 |只看该作者
见鬼, 我重新安装solaris10系统后,  结果按原来成功的方法安装Gcc 和 libiconv 并
/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/install-tools/mkheaders.conf

添加SHELL=/bin/sh

# ./mkheaders
fixproto: populating `/usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include'
(No *.h files in /usr/local/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/include/evolution-1.4)

感觉有问题,所以我在编译安装make过程时候
ld: 致命的: 库 -lgcc_s: 没有找到
ld: 致命的: 库 -lgcc_s: 没有找到
ld: 致命的: 文件处理错误。无输出写到.libs/libapr-1.so.0.2.7
collect2: ld returned 1 exit status
make[3]: *** [libapr-1.la] Error 1
make[3]: Leaving directory `/down/httpd-2.2.2/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/down/httpd-2.2.2/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/down/httpd-2.2.2/srclib'
make: *** [all-recursive] Error 1


请问这个现象又是什么问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP