|
|
|
a*******e 发帖数: 3021 | 4 haha, that's what i want to say too but i am better than u, haha
at least i kept my mouth shut, haha |
|
l*****u 发帖数: 12114 | 5 没有用。 my kernel is 2.6.27.21-170.2.56.fc10.i686 |
|
|
h****q 发帖数: 78 | 7 是啊,所以我提心吊胆的。
一下是所有数据,正在研究,以前没用过smartctl,兄弟也帮忙看看吧,是否还能坚持
下来。
yangbl@yesybl:~$ sudo smartctl -a /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 7200.1 series
Device Model: ST910021AS
Serial Number: 5MH01CJL
Firmware Version: 4.06
User Capacity: 100,030,242,816 bytes
Device is: In smartctl database [for details use: -P show] |
|
p*****a 发帖数: 1152 | 8 然后每个软件包有个PKGBUILD文件,可能相当于Gentoo的ebuild,里面可以进一步调整
编译参数,pcmanx-gtk2的例子:
# Maintainer: Shinlun Hsieh
# Contributor: Yenting Chen
# Contributor: Lyman Li
pkgname=pcmanx-gtk2
pkgver=0.3.9
pkgrel=1
pkgdesc="A gtk+ based free BBS client"
arch=('i686' 'x86_64')
url="http://code.google.com/p/pcmanx-gtk2"
license=('GPL')
depends=('gtk2')
makedepends=('autoconf automake')
options=('!libtool')
source=http://pcmanx-gtk2.googlecode.com/svn/websi |
|
|
|
u**r 发帖数: 663 | 10 ubuntu 9.10
ati mobility radeon 3450hd
driver from amd.com
run compiz-check结果:
Distribution: Ubuntu 9.10
Desktop environment: GNOME
Graphics chip: ATI Technologies Inc Mobility Radeon HD 3400 Series
Driver in use: fglrx
Rendering method: None
Xorg.0.log内容如下:
X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux ubuntu 2.6.31-19-generic #56-Ubuntu SMP |
|
t****t 发帖数: 6806 | 11 The following is from fedora 13. redhat should be about the same.
$ yum provides libstdc++.so.5
已加载插件:fastestmirror, refresh-packagekit
Determining fastest mirrors
* fedora: mirror.pnl.gov
* livna: rpm.livna.org
* rpmfusion-free: mirrors.cat.pdx.edu
* updates: mirror.pnl.gov
compat-libstdc++-33-3.2.3-68.i686 : 兼容的标准 C++ 库
Repo : fedora
匹配来自于:
Other : libstdc++.so.5
Synaptic) 貌似没有,高手指点一下 |
|
|
h**********c 发帖数: 4120 | 13 两点供参考
1. laptop上的vmware可能装不了linux,laptop的硬件兼容性太差
2. vmware 认为cpu 是amd架构,你的安装架构下载的是x86-64,或i686 |
|
w*s 发帖数: 7227 | 14 Linux bos2mistevens 2.6.32-33-generic-pae #70-Ubuntu SMP Thu Jul 7 22:51:12
UTC 2011 i686 GNU/Linux
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
# ifconfig
eth0 Link encap:Ethernet HWaddr bc:30:5b:d0:08:0a
inet addr:10.50.180.36 Bcast:10.50.183.255 Mask:255.255.252.0
....
i can ping yahoo.
so
1. why eth0 is not listed in /etc/network/interface ?
2. if i want to change to static ip, will above the right file to change ? |
|
w*s 发帖数: 7227 | 15 i'm building at ubuntu i686,
the target is ARM,
so what's the "--host" should be ?
how about "--build" ?
for the following, what else is missing ?
./configure --with-cc=arm-none-linux-gnueabi-gcc --with-linkcc=arm-none-
linux-gnueabi-g++ --with-ldflags=-Wl,-O1,-rpath,-soname --target=arm-linux-
gnueabi --with-endianness=little --host=arm-linux
thanks very much ! |
|
j*a 发帖数: 14423 | 16 这是一台hp服务器上接raid的结果, debian
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p2 2.7T 1.5T 1.2T 57% /
tmpfs 8.0G 0 8.0G 0% /lib/init/rw
udev 8.0G 156K 8.0G 1% /dev
tmpfs 8.0G 0 8.0G 0% /dev/shm
/dev/cciss/c0d0p1 93M 20M 69M 22% /boot
$ uname -a
Linux 2.6.32-5-686-bigmem #1 SMP Thu Nov 3 05:12:00 UTC 2011 i686 GNU/Linux |
|
v*s 发帖数: 29 | 17 I assume you using RPM-based systems.
You can run
yum install -y libidn-devel.i686
to get this library file |
|
l*******G 发帖数: 1191 | 18 也许跟我用的macbuntu theme 有和旧版(maverick)有关,jetty 过不去,进不了登
录界面了。 我的RPM i686用不了,同样卡在libgdk-pixbuf2.0-0上。 这个WPS要32位
的libgdk-pixbuf,而我的开机程序需要64位的libgdk-pixbuf, 悲剧是不知到哪个开机
程序需要用libgdk-pixbuf, 也没法进命令行disable 卡住的程序。 幸好我事先用dd备
份了系统盘,用usb linux启动,再花几个小时dd回去,然后就不折腾了。dd是个技术
活。它连硬盘的UUID也复制了,dd完了,如果备份盘不拿掉,系统上有两个硬盘用的是
同样
的UUID, 如果/etc/fstab 里的mount 是用的uuid, 启动了你也不知道它用的是哪个
所以dd回去后还要修改其中一个硬盘的 uuid, 和你想要的启动盘的/etc/fstab 保证机
器用
的是正确的硬盘。 |
|
|
c*****m 发帖数: 1160 | 20 我用open source的 passwordsafe ,一直用windows版本的。前两天想安装到ubuntu上
面,居然没成功。它给的 passwordsafe-ubuntu-0.9BETA.i686 和 passwordsafe-
ubuntu-0.9BETA.amd64 都不成功。我的cpu是 intel 64位。试图从源代码编译,还有
许多dependancy. |
|
R******d 发帖数: 1436 | 21 现在装的是centos7,安装某个软件的时候提示:
系统是:readhat 5.2 64bit glibc 02.17
需要:readhat 6.1 64bit glibc 02.11.01 才能安装。
查了一下,02.17好像往下兼容02.11啊。请问有什么办法再装个低版本的glibc?现在
的环境软件安装不上了。
谢谢
rpm -q glibc,提示:
glibc-2.17-55.el7_0.1.x86_64
glibc-2.17-55.el7_0.1.i686
strings /lib/libc-2.17.so |grep GLIBC,提示:
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
... 阅读全帖 |
|
R******d 发帖数: 1436 | 22 现在装的是centos7,安装某个软件的时候提示:
系统是:readhat 5.2 64bit glibc 02.17
需要:readhat 6.1 64bit glibc 02.11.01 才能安装。
查了一下,02.17好像往下兼容02.11啊。请问有什么办法再装个低版本的glibc?现在
的环境软件安装不上了。
谢谢
rpm -q glibc,提示:
glibc-2.17-55.el7_0.1.x86_64
glibc-2.17-55.el7_0.1.i686
strings /lib/libc-2.17.so |grep GLIBC,提示:
GLIBC_2.0
GLIBC_2.1
GLIBC_2.1.1
GLIBC_2.1.2
GLIBC_2.1.3
GLIBC_2.2
GLIBC_2.2.1
GLIBC_2.2.2
GLIBC_2.2.3
GLIBC_2.2.4
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
... 阅读全帖 |
|
x*****u 发帖数: 3419 | 23 接上次。。
今天在windows下运行了一下我的程序,并和在colinux下运行做了个粗糙的比较。
同一台机器
Linux colinux 2.6.8.1-co-0.6.2-pre1 #21 Fri Sep 10 17:03:21 IDT 2004 i686
Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
同样的编译器
windows: icc version 8.0
colinux: icc version 8.0
compiling options: -O2
同一个程序
不同的运行时间(重复多次运行)
windows: the cpu time: 18.97s
colinux: the cpu time: 22.56s
/附
colinux: gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5)
compiling options: g++ -c -O2 -fomit-frame-pointer -pipe -ffast-math |
|
l*********i 发帖数: 483 | 24 结果死活说我的license file有问题,真是奇怪了,同一个license file在另外一台
机器上(Yonah, Ubuntu Edgy i686)上就装的好好的,又申请了一个noncommercial的
license也是同样的问题。难道是因为一台是AMD CPU的缘故?
Intel C++ 9.1.047, Ubuntu Edgy , Opteron 165 |
|
t****t 发帖数: 6806 | 25 缺省优化开关的不同?
比如i386和i686的区别? |
|
t****t 发帖数: 6806 | 26 you don't have to compile to 64bit. e.g. for gcc, you can specifiy -m32 to
compile to 32bit. make sure you have 32bit devel environment installed, such
as glibc-devel.i386 for fedora. the 32bit runtime (e.g. glibc.i386/glibc.
i686) is usually installed by default.
i only use fedora, the package name could be different for other
distributions. |
|
d*******n 发帖数: 524 | 27 error info:
/usr/local/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../include/c++/4.1.2/
bits/stl_stack.h: In instantiation of 'std::stack >':
t.cpp:31: instantiated from here
Line 112: error: no type named 'value_type' in 'class MyVector'
compilation terminated due to -Wfatal-errors.
the |
|
a********1 发帖数: 750 | 28 你确定?我刚刚测试不过
chengyang:~$ g++ test.cpp
test.cpp: In member function ‘void D::f()’:
test.cpp:3: error: ‘int B::b’ is private
test.cpp:12: error: within this context
test.cpp: At global scope:
test.cpp:12: error: expected unqualified-id at end of input
chengyang:~$ g++ -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking |
|
t****t 发帖数: 6806 | 29 ok, you win, I do the experiment for you.
One of the results is inlined, the other is not.
I'll omit the comments.
******30.C*******
#include
#include
using namespace std;
IL double foo(double x)
{
double a=10;
for (int i=0; i<10; i++) {
a=a+sin(i*x);
}
return a;
}
int main()
{
double g;
cin>>g;
cout<
}
$ g++ -O2 -S -D IL="" 30.C -o - | c++filt >! 30_noinline.s
$ g++ -O2 -S -D IL="inline" 30.C -o - | c++filt > ! 30_inline.s
$ g++ -v ... 阅读全帖 |
|
b**********8 发帖数: 239 | 30 请各位大牛指点,感激不尽
想写一个登录mitbbs 的script with following code but failed.
( if trying with mechanize package , I can login successfully)
Is there anything wrong with the function ?
Code:
import urllib, urllib2, cookielib
username = 'username'
password = 'password'
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
body = (('id', username),
('password', password),
)
headers={
'User-agent':'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2... 阅读全帖 |
|
l********a 发帖数: 1154 | 31 看你也是firefox,怎么没弄个httpfox插件看header呢?
你的代码有2个问题:
1. 提交的时候,密码对应的字段不是password,而是passwd,用httpfox能看到的
2. 登陆页面的request地址有误,不是http://www.mitbbs.com/mitbbs_login.php,而是http://www.mitbbs.com/newindex/mitbbs_bbslogin.php.也是httpfox看的.
下面附上调试通过的代码
import urllib, urllib2, cookielib
username = 'username'
password = 'password'
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
body = (('id', username),
('passwd', password),
)
headers={
'User-age... 阅读全帖 |
|
i**********r 发帖数: 36 | 32 #man printers.conf
No manual entry for printers.conf
I often meet with such problems, sometime when it seems there should be,
e.g., in a man page, xxx(3), then I
#man 3 xxx
or
#man -a xxx
and it tells
No manual entry for xxx
are there any tricks here?
my system is
Linux 2.2.5-15 i686 RH6.0 |
|
m******g 发帖数: 91 | 33 看gentoo网上提供的说明,需要对/etc/make.conf进行配置,
让gcc针对特定的CPU进行编译优化。
好的。我的机器是pentium 233MHz MMX,
因此我改动/etc/make.conf为:
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=pentium-mmx -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
可是在执行kernel编译时,出现的却是:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
是针对i |
|
x******a 发帖数: 6336 | 34 按照quantlib.org上在mac上安装以后,测试一个命令行:
g++ -I/opt/local/include/ -I/opt/local/include/boost BermudanSwaption.cpp \
-o bermudanswaption -L/opt/local/lib/ -lQuantLib
得到i686-apple-darwin10-g++-4.2.1: BermudanSwaption.cpp: No such file or
directory。
然后到/opt/local/include/boost目录下,再次运行上面的命令行,显示下面的内容
g++ -I /opt/local/include/ -I /opt/local/include/boost BermudanSwaption.cpp
-o bermudanoption -
L/opt/local/lib/ -lQuantLib1.0.1
ld: library not found for -lQuantLib1.0.1
collect2: ld returned 1 exit statu... 阅读全帖 |
|
o**a 发帖数: 1315 | 35 也是同样的问题:
"This kernel requires an x86-64 cpu, but only detected an i686 cpu.
Unable to boot - please use a kernel appropriate for your cpu."
我选的os是win 7
这个怎么解决呢 |
|
b**********8 发帖数: 239 | 36 请各位大牛指点,感激不尽
想写一个登录mitbbs 的script by using urllib2 with following code but failed.
( if trying with mechanize package , I can login successfully)
Is there anything wrong with the function ?
Code:
import urllib, urllib2, cookielib
username = 'username'
password = 'password'
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
body = (('id', username),
('password', password),
)
headers={
'User-agent':'Mozilla/5.0 (X11; U; Linux i68... 阅读全帖 |
|
b**********8 发帖数: 239 | 37 请各位大牛指点,感激不尽
想写一个登录mitbbs 的script by using urllib2 with following code but failed.
( if trying with mechanize package , I can login successfully)
Is there anything wrong with the function ?
Code:
import urllib, urllib2, cookielib
username = 'username'
password = 'password'
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
body = (('id', username),
('password', password),
)
headers={
'User-agent':'Mozilla/5.0 (X11; U; Linux i68... 阅读全帖 |
|
|
J*******s 发帖数: 251 | 39 听不到。。
Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.
4-1.1.2 Firefox/3.5.4 |
|