亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
123下一頁
最近訪問板塊 發(fā)新帖
查看: 97682 | 回復: 21
打印 上一主題 下一主題

請問怎么會出現(xiàn)error: C compiler cannot create executables的錯誤? [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-04-08 10:35 |只看該作者 |倒序瀏覽
我打算安裝db,開始抱錯,要求安裝gcc,安裝成功gcc后gcc的錯誤沒有了,但是還有一個錯誤。
root@test # env CC=gcc /db-4.3.29/dist/configure
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-queue option specified... no
checking if --disable-replication option specified... no
checking if --disable-statistics option specified... no
checking if --disable-verify option specified... no
checking if --enable-compat185 option specified... no
checking if --enable-cxx option specified... no
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... no
checking if --enable-java option specified... no
checking if --enable-mingw option specified... no
checking if --enable-o_direct option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-rpc option specified... no
checking if --enable-smallbuild option specified... no
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-mutex=MUTEX option specified... no
checking if --with-mutexalign=ALIGNMENT option specified... no
checking if --with-tcl=DIR option specified... no
checking if --with-uniquename=NAME option specified... no
checking for ar... ar
checking for chmod... chmod
checking for cp... cp
checking for ln... ln
checking for mkdir... mkdir
checking for ranlib... ranlib
checking for ranlib... /usr/ccs/bin/ranlib
checking for rm... rm
checking for sh... sh
checking for sh... /usr/bin/sh
checking for strip... strip
checking for strip... /usr/ccs/bin/strip
checking for a BSD-compatible install... /db-4.3.29/dist/install-sh -c
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.

config.log請看附件。謝謝!

[ 本帖最后由 erupt 于 2006-4-10 11:01 編輯 ]

config.rar

3.26 KB, 下載次數: 325

config.log請用winrar解開

論壇徽章:
0
2 [報告]
發(fā)表于 2006-04-08 11:32 |只看該作者
沒有寫權限。

論壇徽章:
0
3 [報告]
發(fā)表于 2006-04-09 22:45 |只看該作者

re

請問怎么填寫權限呢?我快要郁悶死了!

論壇徽章:
0
4 [報告]
發(fā)表于 2006-04-09 22:52 |只看該作者
chmod +rwx

論壇徽章:
0
5 [報告]
發(fā)表于 2006-04-10 09:29 |只看該作者

re

我已經將該目錄的權限改成root的了

drwxr-xr-x  59 root     100         1536 Apr 10 08:22 db-4.3.29

可是還是出現(xiàn)一樣的錯誤。這個權限難道是錯的?

論壇徽章:
0
6 [報告]
發(fā)表于 2006-04-10 10:12 |只看該作者
我查到了,我的gcc環(huán)境變量沒有配置好,F(xiàn)在查到gcc了,但是有一個錯誤

root@ttt# which gcc
/usr/local/bin/gcc

root@ttt # gcc -V
ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory
Killed

論壇徽章:
0
7 [報告]
發(fā)表于 2006-04-10 10:58 |只看該作者
你沒有安裝libiconv的話會提示如下錯誤信息:
ld.so.1: gcc: fatal:libiconv.so.2 : open failed: no such file or directory Killed

我裝上libiconv-1.8-sol9-intel-local后,出現(xiàn)下面錯誤
root@V240-2 # gcc -v
ld.so.1: gcc: fatal: /usr/local/lib/libiconv.so.2: wrong ELF data format: ELFDAT
A2LSB
Killed

我快瘋了!

論壇徽章:
0
8 [報告]
發(fā)表于 2006-04-11 22:29 |只看該作者
# ./configure --prefix=/opt/csw/pureftpd \
? --with-mysql=/opt/csw/mysql4 \
? --with-language=simplified-chinese --with-everything \
? --with-paranoidmsg --with-virtualchroot \
? --with-tls --with-largefile --with-welcomemsg \
? --with-uploadscript --with-cookie --with-virtualhosts \
? --with-virtualroot --with-diraliases --with-quotas \
? --with-sysquotas --with-ratios --with-ftpwho \
? --with-throttling
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for a BSD-compatible install... ./install-sh -c
checking for ranlib... :
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

論壇徽章:
0
9 [報告]
發(fā)表于 2006-04-11 22:30 |只看該作者
我也遇到了類似的錯!
看來只能
瘋了!

gcc我也換了!
還是不行!
其他的也給裝了
就是不行!

論壇徽章:
0
10 [報告]
發(fā)表于 2006-04-12 14:53 |只看該作者
libiconv.so.2沒有安裝.
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP