LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1630|回复: 0

help! ubuntu 6.10 +cadence ic5033

[复制链接]
发表于 2007-5-19 08:46:50 | 显示全部楼层 |阅读模式
sorry ,i am new to linux .even i cant install the chinese input .so i try to use english to ask for help.


i install cadence ic5033 under os ubuntu 6.1
,i follow the instructions as:
///////////////////////////////////////////////////////////
the install is successful under os ubuntu 6.06
so i try to install cadence ic5033 under 6.10


my problem is :

sort: Warning: "+number" syntax is deprecated, please use "-k number"

...................................................................

Checking data files...

Executing control programs (pre-load) ...
load_pkgs: 691: ./install/pkgs/cdsFileManager01.04-s011.exe: not found

SL-10:Installation of cdsFileManager01.04-s011 declined by control program (PRE_LOAD)
cdsFileManager01.04-s011 will not be installedload_pkgs: 691: ./install/pkgs/cdsFileManager01.04-s011.exe: not found

SL-10:Installation of cdsFileManager01.04-s011 declined by control program (PRE_LOAD)
cdsFileManager01.04-s011 will not be installedload_pkgs: 691: ./install/pkgs/cdsFileManager01.04-s011.exe: not found

//////////////////////////////////////////////////////////////////////////////


what should i do now?
i dont want to reinstall the os  ubuntu 6.06.
can it be sovled under os ubuntu 6.10?

i have worked on it for many days,and i feel so upset...........

thx advanced ,,,,,plz help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!




















First, if your tar version is 1.5, change it to 1.4. 1.5 seems have a bug and can not operate properly.

execute SETUP.SH

exit when asked if to run softload

go to the install directory and find the following file:

modify io_fltr.c

    line 33 add: #include <errno.h>, also add #include <stdlib.h> at the file top

    line 54 add: #define lnx86

    line 68 change: "/bin/uncompress -c"

modify process_file.c

    line 511: change 1280 to 10000

gcc -o io_fltr io_fltr.c

gcc -o process_file process_file.c

modify vld:

    line 424 & 425: delete +2 -3

then do the following step:

./softload

(1) load available products

(1) local

(2) other

don't view readme file

(4) cadence catalog

(a) all of the above

(2) list installed products

(3) linux operating system(lnx86)

(q)



copy license.dat to cdsroot/share/license/

ln -s tools.lnx86 tools

you need the following environment variable:

CDSDIR=

CDS_ROOT=

CDS_INST_DIR=

# the above three is the root directory of cadence

CDS_INSTALL_DIR=root_of_cds/tools/dfII

export CDS_LIC_FILE=(the path to license)

export PATH=$CDS_ROOT/TOOLS/BINCDS_INSTALL_DIR/BINCDS_ROOT/TOOLS/SPECTRE/BINPATH



copy everything under /tools/dfII/sample/local to /tools/dfII/local

change cdsinit to .cdsinit



sudo apt-get install libstdc++2.10-glibc2.2

you also need the following environment variable:

export LD_ASSUME_KERNEL=2.4.21

do this under your /usr/lib:

sudo ln -sf libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2

libcwait.c file is:

#include <stdlib.h>

#include <stdio.h>

#include <errno.h>

#include <sys/syscall.h>

#include <sys/types.h>

#include <sys/wait.h>

pid_t

__libc_wait (int *status)

{

    int res;

    asm volatile ("pushl %%ebx\n\t"

            "movl %2, %%ebx\n\t"

            "movl %1, %%eax\n\t"

            "int $0x80\n\t"

            "popl %%ebx"

            : "=a" (res)

            : "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0),

            "S" (0));

    return res;

}

compile the file using the following command:

gcc -shared -o libcwait.so -fpic -O2 libcwait.c (NOTICE: "O" is not zero but letter o of upper case)

use also need this environment variable:

export LD_PRELOAD=/usr/lib/my/libcwait.so

(libcwait.so is generated by the previous command.

you'd better export LANG=POSIX to avoid some fonts problems when using cadence.

type icfb& in a terminal

then, enjoy ...





Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1484079
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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