怎样安装gcc、make、Autoconf
时间:2002-05-31
来源:互联网
作者: gleafwm 发布时间: 2002-05-31
要生成一个gcc开头的文件夹
cd gcc*
看看install和readme文件,一般的步骤是
./configure
make
make install
make calear
(前提是安装好了make)
安装make好像应该可以用sun自己的安装程序。我用了几天,觉得很麻烦,特别是shell很不爽,就format了。
你自己摸索摸索
作者: colorlinux 发布时间: 2002-06-01
过后就是make bootstrap
make install
make clean
作者: lenger81 发布时间: 2002-06-01
作者: gleafwm 发布时间: 2002-06-03
作者: colorlinux 发布时间: 2002-06-05
作者: gleafwm 发布时间: 2002-06-06
pkgadd: ERROR: 在</var/spool/pkg>中没有发现包
我把gzip-1.3.3-sol7-sparc-local拷到/var/spool/pkg下,结果还是一样,还是说没有发现包,真不知该怎么办了。
作者: gleafwm 发布时间: 2002-06-06
作者: ywy47 发布时间: 2002-06-10
#pkgadd -d gcc-3.1-sol7-sparc-local
作者: aaron2002 发布时间: 2002-06-10
对了,知道以tar.gz为后缀的该怎么安装吗?当然,为了方便,我大部分软件都是安装的以.gz为后缀的,但是对于php、gd,我就只找到了以tar.gz为后缀的,按照一些网页上写的,我使用了#gunzip -d < php-4.2.1.tar.gz | tar vxf ?
但是在./configure的时候,输出了如下错误:
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.7
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... ./configure: make: not found
no
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
但是我明明是安装了gcc的,我真的不知道该怎么设路径了。
作者: gleafwm 发布时间: 2002-06-11
/usr/local/bin/
/usr/local/sbin/
Good luck!
作者: aaron2002 发布时间: 2002-06-11
我不知道怎么把路径
/usr/local/bin/
/usr/local/sbin/
增加到/etc/profile里,profile里是用程序编的,我不知道该把这两个路径放到什么位置,怎样写语句。
作者: gleafwm 发布时间: 2002-06-11
^_^
作者: aaron2002 发布时间: 2002-06-11
作者: gleafwm 发布时间: 2002-06-11
[B]真的不会,人家是新手嘛,才接触这些东东了啦。可以告诉我哪个网站(网页)上有相关的介绍吗,或者什么书上有? [/B][/QUOTE]
还是买本书看一下把,不要舍不得钱。。
作者: cqcw 发布时间: 2002-06-17
作者: gleafwm 发布时间: 2002-06-18
PATH=$PATH:/usr/local/bin
export PATH
由于我的机子上没有他所说的:/usr/local/sbin路径,所以只加载了:/usr/local/bin,但是这只是暂时的,因为我的机子上的/etc/profile只是一个文本文件,并且用vi 加入了如上语句也不行;在网上看见应该修改一个叫.profile的文件,但是在/etc下没有,只有在/etc/skel/下和其他用户名下有,但是我把这些文件都加入了如上语句都还是不行。
先不说永久保存路径了,就是临时加载完毕,在configure php 的时候又出现了如下错误(我的web服务器是安的iplanet的):
# ./configure --with-nsapi=/export/home/netscape/serrver4
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... sparc-sun-solaris2.7
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
所以很奇怪,怎么找得到gcc而gcc又不能工作呢?
作者: gleafwm 发布时间: 2002-06-18
SUNWhea
SUNWsrh
SUNWbtool
SUNWscpu
SUNWtoo
SUNWlibm
SUNWsprot
SUNWarc
新问题又出现:make的时候出现如下错误:
# make
Making all in Zend
make[1]: Entering directory `/usr/local/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -I../TSRM -DTHREAD=1 -g -O2 -pthreads -DZTS -prefer-pic -c -o zend_language_parser.lo `test -f zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
from zend_language_parser.c:147:
zend.h:55:19: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/usr/local/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
作者: gleafwm 发布时间: 2002-06-19




作者: zhuozhanmen 发布时间: 2002-06-26
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28