LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: qxshuier

fedora8.0 QQ和MSN

[复制链接]
 楼主| 发表于 2008-5-29 09:22:26 | 显示全部楼层

编译器?

请问摇编译器什么的?都要装什么的,装哪些?在哪里下载 谢谢
回复 支持 反对

使用道具 举报

发表于 2008-5-29 10:49:46 | 显示全部楼层
Post by qxshuier;1856263
请问摇编译器什么的?都要装什么的,装哪些?在哪里下载 谢谢


fedora系统的话,用yum install gcc(不知道需不需要装其他开发包,我没用过fedora),会自动解决包依赖问题,可以上网查一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-29 11:44:38 | 显示全部楼层

gcc 装了还是不行

[root@qxshuier ~]# yum install gcc
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-33 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.7-2 set to be updated
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.7-2 for package: glibc-devel
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.7-2 set to be updated
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.24.7-92.fc8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
gcc                     x86_64     4.1.2-33         fedora            5.3 M
Installing for dependencies:
glibc-devel             x86_64     2.7-2            fedora            2.4 M
glibc-headers           x86_64     2.7-2            fedora            599 k
kernel-headers          x86_64     2.6.24.7-92.fc8  updates           743 k

Transaction Summary
=============================================================================
Install      4 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 9.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): glibc-devel-2.7-2. 100% |=========================| 2.4 MB    00:10     
(2/4): kernel-headers-2.6 100% |=========================| 743 kB    00:22     
(3/4): gcc-4.1.2-33.x86_6 100% |=========================| 5.3 MB    00:19     
(4/4): glibc-headers-2.7- 100% |=========================| 599 kB    00:01     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc <security@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel-headers               ######################### [1/4]
  Installing: glibc-headers                ######################### [2/4]
  Installing: glibc-devel                  ######################### [3/4]
  Installing: gcc                          ######################### [4/4]

Installed: gcc.x86_64 0:4.1.2-33
Dependency Installed: glibc-devel.x86_64 0:2.7-2 glibc-headers.x86_64 0:2.7-2 kernel-headers.x86_64 0:2.6.24.7-92.fc8
Complete!

[root@qxshuier eva]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wmissing-format-attribute... no
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@qxshuier eva]# make
make  all-recursive
make[1]: Entering directory `/tmp/eva'
Making all in doc
make[2]: Entering directory `/tmp/eva/doc'
Making all in .
make[3]: Entering directory `/tmp/eva/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/eva/doc'
Making all in en
make[3]: Entering directory `/tmp/eva/doc/en'
make[3]: *** 没有规则可以创建“index.cache.bz2”需要的目标“/usr/share/apps/ksgmltools2/customization/kde-chunk.xsl”。 停止。
make[3]: Leaving directory `/tmp/eva/doc/en'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/tmp/eva/doc'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/tmp/eva'
make: *** [all] 错误 2
[root@qxshuier eva]# make install
Making install in doc
make[1]: Entering directory `/tmp/eva/doc'
Making install in .
make[2]: Entering directory `/tmp/eva/doc'
make[3]: Entering directory `/tmp/eva/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/eva/doc'
make[2]: Leaving directory `/tmp/eva/doc'
Making install in en
make[2]: Entering directory `/tmp/eva/doc/en'
make[3]: Entering directory `/tmp/eva/doc/en'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: *** 没有规则可以创建“index.cache.bz2”需要的目标“/usr/share/apps/ksgmltools2/customization/kde-chunk.xsl”。 停止。
make[3]: Leaving directory `/tmp/eva/doc/en'
make[2]: *** [install-am] 错误 2
make[2]: Leaving directory `/tmp/eva/doc/en'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/tmp/eva/doc'
make: *** [install-recursive] 错误 1
回复 支持 反对

使用道具 举报

发表于 2008-5-29 12:34:17 | 显示全部楼层
Post by qxshuier;1856341
[root@qxshuier ~]# yum install gcc
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.1.2-33 set to be updated
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.7-2 set to be updated
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.7-2 for package: glibc-devel
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.7-2 set to be updated
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
--> Running transaction check
---> Package kernel-headers.x86_64 0:2.6.24.7-92.fc8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
gcc                     x86_64     4.1.2-33         fedora            5.3 M
Installing for dependencies:
glibc-devel             x86_64     2.7-2            fedora            2.4 M
glibc-headers           x86_64     2.7-2            fedora            599 k
kernel-headers          x86_64     2.6.24.7-92.fc8  updates           743 k

Transaction Summary
=============================================================================
Install      4 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 9.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): glibc-devel-2.7-2. 100% |=========================| 2.4 MB    00:10     
(2/4): kernel-headers-2.6 100% |=========================| 743 kB    00:22     
(3/4): gcc-4.1.2-33.x86_6 100% |=========================| 5.3 MB    00:19     
(4/4): glibc-headers-2.7- 100% |=========================| 599 kB    00:01     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc <security@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel-headers               ######################### [1/4]
  Installing: glibc-headers                ######################### [2/4]
  Installing: glibc-devel                  ######################### [3/4]
  Installing: gcc                          ######################### [4/4]

Installed: gcc.x86_64 0:4.1.2-33
Dependency Installed: glibc-devel.x86_64 0:2.7-2 glibc-headers.x86_64 0:2.7-2 kernel-headers.x86_64 0:2.6.24.7-92.fc8
Complete!

[root@qxshuier eva]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether g++ supports -Wmissing-format-attribute... no
checking whether g++ supports -Wundef... no
checking whether g++ supports -Wno-long-long... no
checking whether g++ supports -Wnon-virtual-dtor... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@qxshuier eva]# make
make  all-recursive
make[1]: Entering directory `/tmp/eva'
Making all in doc
make[2]: Entering directory `/tmp/eva/doc'
Making all in .
make[3]: Entering directory `/tmp/eva/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/eva/doc'
Making all in en
make[3]: Entering directory `/tmp/eva/doc/en'
make[3]: *** 没有规则可以创建“index.cache.bz2”需要的目标“/usr/share/apps/ksgmltools2/customization/kde-chunk.xsl”。 停止。
make[3]: Leaving directory `/tmp/eva/doc/en'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/tmp/eva/doc'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/tmp/eva'
make: *** [all] 错误 2
[root@qxshuier eva]# make install
Making install in doc
make[1]: Entering directory `/tmp/eva/doc'
Making install in .
make[2]: Entering directory `/tmp/eva/doc'
make[3]: Entering directory `/tmp/eva/doc'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/eva/doc'
make[2]: Leaving directory `/tmp/eva/doc'
Making install in en
make[2]: Entering directory `/tmp/eva/doc/en'
make[3]: Entering directory `/tmp/eva/doc/en'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: *** 没有规则可以创建“index.cache.bz2”需要的目标“/usr/share/apps/ksgmltools2/customization/kde-chunk.xsl”。 停止。
make[3]: Leaving directory `/tmp/eva/doc/en'
make[2]: *** [install-am] 错误 2
make[2]: Leaving directory `/tmp/eva/doc/en'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/tmp/eva/doc'
make: *** [install-recursive] 错误 1


“[color="Red"]configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.”

你查查编译目录下的config.log,也许还需要装C++编译器g++。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-29 14:17:14 | 显示全部楼层
楼上的大哥 编译目录在哪里?是装c++和g++还是C++的G++
回复 支持 反对

使用道具 举报

发表于 2008-6-3 02:07:28 | 显示全部楼层
gaim已经支持QQ了
回复 支持 反对

使用道具 举报

发表于 2008-6-5 20:45:20 | 显示全部楼层
qq用eva
msn用gaim
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表