[[soft:cadence:icfb61_old:|Old version of this site.]]
====== ICFB61 on Ubuntu 12.04.2 LTS (kernel 3.5) ======
Checking Ubuntu distribution:
lsb_release -a
**__ WARNING: __** Ubuntu 12.04.2 LTS comes with kernel 3.5 (from Ubuntu 12.10) [[https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop|Ubuntu Release notes]].\\
Under kernel 3.5 LVS won't display final error report window and I don't know how to fix it.\\
You can determinate your kernel version using command:
uname -a
If you have kernel >3.2 downgrade is necessary.\\
You can install Ubuntu 12.04.1 LTS (from [[http://old-releases.ubuntu.com/releases/precise/|Ubuntu Precise repository]]) and '' dist-upgrade'' it to 12.04.2 maintaining kernel 3.2.*
===== Modifications in Cadence files: =====
In file ''sysname'' in function ''check_linux()'' (line ~191): in case section for 2.6* add 3.*:
2.6* | 3.*) if [ "$compiler" = "" ]
ICFB: ''/cad/2010_2011/cds_ic6.1.4/share/oa/bin/sysname'' \\
Assura: ''/cad/2010_2011/cds_ass4.1oa-614/share/oa/bin/sysname'' \\
QRC: ''/cad/2010_2011/cds_ext9.1/oa_v22.04.050/bin/sysname'' \\
RCX (needed by QRC): ''/cad/2010_2011/cds_ets9.1/oa_v22.04.061/bin/sysname'' \\
===== System modifications =====
apt-get install ksh csh xfs xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-biznet-100dpi xfonts-biznet-75dpi xfonts-biznet-base xfonts-encodings xfonts-scalable xfonts-terminus xfonts-unifont tcl8.5 tk8.5 ia32-libs libjpeg62
Restart the machine.
Next step is to change the default shell environment: call
dpkg-reconfigure dash
and choose ''no'' to choose bash. \\
Do symlink for awk: \\
ln -s /usr/bin/awk /bin/awk
\\
For ADE XL: make directory:
mkdir -p /usr/X11R6/lib/X11
and symlink
ln -s /usr/share/fonts/X11 /usr/X11R6/lib/X11/fonts
\\
For APS: install developer packages:
apt-get install build-essential
\\
For x86 and i386 compatibility:
libelf-dev libelf-dev:i386 - rather NOT!
apt-get install libc6-dev-i386 libelf1 libelf1:i386
Not needed: ln -s /usr/lib/i386-linux-gnu/libelf.so.1 /usr/lib32/libelf.so.1
\\
For Conformal and QRC:
ln -s /lib/x86_64-linux-gnu/libncurses.so.5 /lib/x86_64-linux-gnu/libtermcap.so.2
\\
install mpstat:
apt-get install sysstat isag
\\
Symlink libraries:
ln -s /usr/lib/x86_64-linux-gnu/crti.o /usr/lib/crti.o
ln -s /usr/lib/x86_64-linux-gnu/crtn.o /usr/lib/crtn.o
ln -s /usr/lib/x86_64-linux-gnu/libc.so /lib64/libc.so
ln -s /usr/lib/x86_64-linux-gnu/libc.a /lib64/libc.a
ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6
mkdir /usr/lib64
ln -s /usr/lib/x86_64-linux-gnu/libc_nonshared.a /usr/lib64/libc_nonshared.a
\\
Install Qt (for LVS window ???):
apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
apt-get install qt3-dev-tools
\\
===== Java from Oracle (not needed) =====
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-java7-installer
====== Cadence 2012/2013 (ic 6.1.5) on Ubuntu 12.04.2 LTS (kernel 3.5) ======
==== To run lmstat ====
apt-get install lsb-core
==== To run ADE XL ====
install lib32gcc1 package and overwrite 2012_2013/cds_ic_6.1.5hf132/tools.lnx86/lib/vnclibs/libgcc_s.so.1 cadence library with /usr/lib32/libgcc_s.so.1 library from a new installed package.