Some tips

本站充满一个无聊的人的一些奇技淫巧

星期五, 五月 25, 2007

安装vc6到最后失败

在Windows2000SP4上安装VC6企业版失败,出现错误:
Setup was unable to create a DCOM user account in order to register \valec.exe

google了下,找到方法:
选择自定义安装,Enterprise Tools,Change Option,去掉Visual Studio Analyzer即可。

下面是原文:

When you run the Visual Studio 6.0 Setup program, you may receive the following error message:

Setup was unable to create a DCOM user account in order to register \valec.exe
This first error message may be followed by a second message that indicates that Setup failed.
CAUSE
Visual Studio Analyzer, which is one of the products that is included in Visual Studio Enterprise Edition version 6.0, cannot create the local user account that it needs to run because of changes to the security policies for users in Windows 2000.
RESOLUTION
Re-install Visual Studio 6.0 Enterprise Edition without Visual Studio Analyzer:
Use the Custom setup, on the Visual Studio 6.0 Enterprise - Custom page, click Enterprise Tools, and then click Change Option. Then Read The Link Provided Above by MpR For Anymore details

标签:

星期三, 五月 23, 2007

ubuntu安装ns2 2.28出错

checking system version (for dynamic loading)... ./configure: line
5986: syntax error near unexpected token `('
./configure: line 5986: `echo "on `(hostname || uname -n) 2>/dev/null
| sed 1q`" >&5'

原因: "configure"文件有错.
解决: 用补丁
补丁:
--- configure 8 May 2005 22:37:17 -0000 1.1
+++ configure 8 Jun 2006 21:31:12 -0000 1.2
@@ -5082,7 +5082,7 @@
# results, and the version is kept in special file).

if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print $3}' /etc/.relid'`
+ system=MP-RAS-`awk '{print $3}' /etc/.relid`
fi
echo "$as_me:$LINENO: result: $system" >&5
echo "${ECHO_T}$system" >&6

我不会用补丁,直接打开configure文件,找到2082行,把
system=MP-RAS-`awk '{print $3}' /etc/.relid'`改成
system=MP-RAS-`awk '{print $3}' /etc/.relid`即可。

改好后继续编译,又出错了,还是源代码有错,干脆下载新版的2.31编译,就没有这些问题了。

标签: