Xilinx ISE WebPACK - FreeBSD

Xilinx: ISE WebPACK

Links: ArchLinux: Xilinx ISE WebPACK, Embedded Micro Installing ISE,

local links: c1, e1,

back to main ISE page.

History

2018-08-22: c1 - ISE - try the libstdc++ fix from the ArchLinux wiki FreeBSD has

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS]$ ls -l /compat/linux/lib/*stdc++*
lrwxr-xr-x  1 root  wheel      18 Mar  5  2015 /compat/linux/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x  1 root  wheel  739520 Mar  5  2015 /compat/linux/lib/libstdc++.so.5.0.7
lrwxr-xr-x  1 root  wheel      19 Mar  6 22:27 /compat/linux/lib/libstdc++.so.6 -> libstdc++.so.6.0.19
-rwxr-xr-x  1 root  wheel  930604 Mar  6 22:27 /compat/linux/lib/libstdc++.so.6.0.19

or (for 64-bit)

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ ls -l /compat/linux/lib64/*stdc++*
lrwxr-xr-x  1 root  wheel      18 Mar  6  2015 /compat/linux/lib64/libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x  1 root  wheel  830776 Mar  6  2015 /compat/linux/lib64/libstdc++.so.5.0.7
lrwxr-xr-x  1 root  wheel      19 Mar  6 21:35 /compat/linux/lib64/libstdc++.so.6 -> libstdc++.so.6.0.19
-rwxr-xr-x  1 root  wheel  995840 Mar  6 21:36 /compat/linux/lib64/libstdc++.so.6.0.19

and ISE has

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS]$ pwd
/home/tingo/progs/xilinux/14.7/ISE_DS

versions

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS]$ ls -l ISE/lib/lin64/*stdc*
-rwxr-xr-x  1 tingo  users  979472 Oct 13  2013 ISE/lib/lin64/libstdc++.so
-rwxr-xr-x  1 tingo  users  979472 Oct 13  2013 ISE/lib/lin64/libstdc++.so.6
-rwxr-xr-x  1 tingo  users  979472 Oct 13  2013 ISE/lib/lin64/libstdc++.so.6.0.8

move them away

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS]$ cd ISE/lib/lin64
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ mv libstdc++.so libstdc++.so.bak
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ mv libstdc++.so.6 libstdc++.so.6.bak
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ mv libstdc++.so.6.0.8 libstdc++.so.6.0.8.bak

link in the system ones

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ ln -s /compat/linux/usr/lib/libstdc++.so.6.0.19 libstdc++.so
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ ln -s libstdc++.so libstdc++.so.6   
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ ln -s libstdc++.so libstdc++.so.6.0.8   

next, in common/lib/lin64

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/ISE/lib/lin64]$ cd ../../../common/lib/lin64/
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/common/lib/lin64]$ mv libstdc++.so libstdc++.so.bak
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/common/lib/lin64]$ mv libstdc++.so.6 libstdc++.so.6.bak
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/common/lib/lin64]$ mv libstdc++.so.6.0.8 libstdc++.so.6.0.8.bak

link system libraries

[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/common/lib/lin64]$ ln -s /compat/linux/usr/lib/libstdc++.so.6.0.19 libstdc++.so
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/common/lib/lin64]$ ln -s libstdc++.so libstdc++.so.6
[tingo@kg-core1 ~/progs/xilinux/14.7/ISE_DS/common/lib/lin64]$ ln -s libstdc++.so libstdc++.so.6.0.8

test by starting ISE again. Nope - the problem still persists.

2018-08-22: c1 - Linux compat - check if ncusers5 is installed, or copy the relevant files from the Linux laptop (z30b)

root@kg-core1# pwd
/compat/linux/lib64

first check what we have

root@kg-core1# ll *form*5*
lrwxr-xr-x  1 root  wheel     14 Sep  7  2017 libform.so.5@ -> libform.so.5.9
-rwxr-xr-x  1 root  wheel  67864 Sep  7  2017 libform.so.5.9*
lrwxr-xr-x  1 root  wheel     15 Sep  7  2017 libformw.so.5@ -> libformw.so.5.9
-rwxr-xr-x  1 root  wheel  72192 Sep  7  2017 libformw.so.5.9*
root@kg-core1# ll *menu*5*
lrwxr-xr-x  1 root  wheel     14 Sep  7  2017 libmenu.so.5@ -> libmenu.so.5.9
-rwxr-xr-x  1 root  wheel  33016 Sep  7  2017 libmenu.so.5.9*
lrwxr-xr-x  1 root  wheel     15 Sep  7  2017 libmenuw.so.5@ -> libmenuw.so.5.9
-rwxr-xr-x  1 root  wheel  33040 Sep  7  2017 libmenuw.so.5.9*
root@kg-core1# ll *curses*5*
lrwxr-xr-x  1 root  wheel      19 Sep  7  2017 libncurses++.so.5@ -> libncurses++.so.5.9
-rwxr-xr-x  1 root  wheel   78520 Sep  7  2017 libncurses++.so.5.9*
lrwxr-xr-x  1 root  wheel      20 Sep  7  2017 libncurses++w.so.5@ -> libncurses++w.so.5.9
-rwxr-xr-x  1 root  wheel   78520 Sep  7  2017 libncurses++w.so.5.9*
lrwxr-xr-x  1 root  wheel      17 Sep  7  2017 libncurses.so.5@ -> libncurses.so.5.9
-rwxr-xr-x  1 root  wheel  163696 Sep  7  2017 libncurses.so.5.9*
lrwxr-xr-x  1 root  wheel      18 Sep  7  2017 libncursesw.so.5@ -> libncursesw.so.5.9
-rwxr-xr-x  1 root  wheel  234720 Sep  7  2017 libncursesw.so.5.9*
root@kg-core1# ll *panel*5*
lrwxr-xr-x  1 root  wheel     15 Sep  7  2017 libpanel.so.5@ -> libpanel.so.5.9
-rwxr-xr-x  1 root  wheel  15256 Sep  7  2017 libpanel.so.5.9*
lrwxr-xr-x  1 root  wheel     16 Sep  7  2017 libpanelw.so.5@ -> libpanelw.so.5.9
-rwxr-xr-x  1 root  wheel  15256 Sep  7  2017 libpanelw.so.5.9*
root@kg-core1# ll *tic*5*
lrwxr-xr-x  1 root  wheel     13 Sep  7  2017 libtic.so.5@ -> libtic.so.5.9
-rwxr-xr-x  1 root  wheel  61560 Sep  7  2017 libtic.so.5.9*
root@kg-core1# ll *tinfo*5*
lrwxr-xr-x  1 root  wheel      15 Sep  7  2017 libtinfo.so.5@ -> libtinfo.so.5.9
-rwxr-xr-x  1 root  wheel  174576 Sep  7  2017 libtinfo.so.5.9*

ok, we're all good there.

2018-08-22: c1 - ISE - instructions says it requires ncurses-compat-libs. Let me try to install that, and see if that helps. On a laptop with Fedora (z30b) installed the package has these files

[tingo@localhost ~]$ rpm -ql ncurses-compat-libs.x86_64
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/b924496ba256e5952ff877f41ddc4f19b3418a
/usr/lib/.build-id/23
/usr/lib/.build-id/23/3332f1495a3e75386b5c04800233a283a569ea
/usr/lib/.build-id/23/6327074fb84af268836e9db7d2823d28ff158b
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/1ddfc1dc3eb17f378a5b77220a10c0c8c0c97c
/usr/lib/.build-id/48
/usr/lib/.build-id/48/c839968bd0fc9b8db1c858dcb84298a3baefb4
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/7a9a52668b41927e5713eca22a654c6acba247
/usr/lib/.build-id/71
/usr/lib/.build-id/71/8df2f85458951266932b381c7e9bcb295b11fd
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/cea67a979995f18c2a7b37324a2cfc3a64cca4
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/d21d22a972e2db0114f00e9d2612e61f8270f6
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/87366941e70bfe58024605bc9e429ddebfe986
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/91688330f7c2beb48ccdf1967586c7a85c059a
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/cdfab2881edac87ea47ff81628e9d30146058d
/usr/lib64/libform.so.5
/usr/lib64/libform.so.5.9
/usr/lib64/libformw.so.5
/usr/lib64/libformw.so.5.9
/usr/lib64/libmenu.so.5
/usr/lib64/libmenu.so.5.9
/usr/lib64/libmenuw.so.5
/usr/lib64/libmenuw.so.5.9
/usr/lib64/libncurses++.so.5
/usr/lib64/libncurses++.so.5.9
/usr/lib64/libncurses++w.so.5
/usr/lib64/libncurses++w.so.5.9
/usr/lib64/libncurses.so.5
/usr/lib64/libncurses.so.5.9
/usr/lib64/libncursesw.so.5
/usr/lib64/libncursesw.so.5.9
/usr/lib64/libpanel.so.5
/usr/lib64/libpanel.so.5.9
/usr/lib64/libpanelw.so.5
/usr/lib64/libpanelw.so.5.9
/usr/lib64/libtic.so.5
/usr/lib64/libtic.so.5.9
/usr/lib64/libtinfo.so.5
/usr/lib64/libtinfo.so.5.9

checking for links

[tingo@localhost ~]$ ls -l --color=never /usr/lib64/libform*5* /usr/lib64/libmenu*5* /usr/lib64/libncurses*5* /usr/lib64/libpanel*5* /usr/lib64/libtic*5* /usr/lib64/libtinfo*5*
lrwxrwxrwx. 1 root root     14 May  9 15:14 /usr/lib64/libform.so.5 -> libform.so.5.9
-rwxr-xr-x. 1 root root  78144 May  9 15:15 /usr/lib64/libform.so.5.9
lrwxrwxrwx. 1 root root     15 May  9 15:14 /usr/lib64/libformw.so.5 -> libformw.so.5.9
-rwxr-xr-x. 1 root root  82272 May  9 15:15 /usr/lib64/libformw.so.5.9
lrwxrwxrwx. 1 root root     14 May  9 15:14 /usr/lib64/libmenu.so.5 -> libmenu.so.5.9
-rwxr-xr-x. 1 root root  39792 May  9 15:15 /usr/lib64/libmenu.so.5.9
lrwxrwxrwx. 1 root root     15 May  9 15:14 /usr/lib64/libmenuw.so.5 -> libmenuw.so.5.9
-rwxr-xr-x. 1 root root  43888 May  9 15:15 /usr/lib64/libmenuw.so.5.9
lrwxrwxrwx. 1 root root     17 May  9 15:14 /usr/lib64/libncurses.so.5 -> libncurses.so.5.9
lrwxrwxrwx. 1 root root     19 May  9 15:14 /usr/lib64/libncurses++.so.5 -> libncurses++.so.5.9
-rwxr-xr-x. 1 root root 183528 May  9 15:15 /usr/lib64/libncurses.so.5.9
-rwxr-xr-x. 1 root root  74488 May  9 15:15 /usr/lib64/libncurses++.so.5.9
lrwxrwxrwx. 1 root root     20 May  9 15:14 /usr/lib64/libncurses++w.so.5 -> libncurses++w.so.5.9
lrwxrwxrwx. 1 root root     18 May  9 15:14 /usr/lib64/libncursesw.so.5 -> libncursesw.so.5.9
-rwxr-xr-x. 1 root root  74488 May  9 15:15 /usr/lib64/libncurses++w.so.5.9
-rwxr-xr-x. 1 root root 243496 May  9 15:15 /usr/lib64/libncursesw.so.5.9
lrwxrwxrwx. 1 root root     15 May  9 15:14 /usr/lib64/libpanel.so.5 -> libpanel.so.5.9
-rwxr-xr-x. 1 root root  19248 May  9 15:15 /usr/lib64/libpanel.so.5.9
lrwxrwxrwx. 1 root root     16 May  9 15:14 /usr/lib64/libpanelw.so.5 -> libpanelw.so.5.9
-rwxr-xr-x. 1 root root  19248 May  9 15:15 /usr/lib64/libpanelw.so.5.9
lrwxrwxrwx. 1 root root     13 May  9 15:14 /usr/lib64/libtic.so.5 -> libtic.so.5.9
-rwxr-xr-x. 1 root root  65904 May  9 15:15 /usr/lib64/libtic.so.5.9
lrwxrwxrwx. 1 root root     15 May  9 15:14 /usr/lib64/libtinfo.so.5 -> libtinfo.so.5.9
-rwxr-xr-x. 1 root root 188280 May  9 15:15 /usr/lib64/libtinfo.so.5.9

ok.

2018-08-19: c1 - ISE - here is the error message

Parsing VHDL file "/zs/tingo/personal/projects/fpga/xilinx/Switches_LEDs/Switches_LEDs.vhd" into library work
Parsing entity <Switches_LEDs>.
Parsing architecture <Behavioral> of entity <switches_leds>.
ERROR:HDLCompiler:1091 - "Unknown" Line 0: Save failed due to mkdir failure
-->

that's it.

2018-08-18: c1 - ISE - turning off "Always open last project" in ISE preferences seems to help

Project%20Navigator/Project%20Manager/Preferences/OpenPreviousProject=false

in ISE.conf (~/.config/Xlilinx) but ISE still doesn't work, I get an "unknown error" when compiling a project (any project, even a very simple one).

2018-08-18: c1 - the first startup worked. I opened an example project. On subsequent startups I get:

INFO:ProjectMgmt - Parsing design hierarchy completed successfully.
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

FATAL_ERROR:GuiUtilities:Gui_Clip_ApplicationBase.c:369:1.30 -
   boost::filesystem::current_path: Cannot allocate memoryThis application has
   performed an illegal operation and must be shut down.  For technical support
   on this issue, please visit http://www.xilinx.com/support.

crap. Let me see if I can work around that in ISE.conf

tingo@kg-core1$ ll ~/.config/Xilinx/
total 28
drwxr-xr-x   2 tingo  users  -   512 Aug 18 21:04 ./
drwxr-xr-x  33 tingo  users  -  1024 Aug 18 20:57 ../
-rw-r--r--   1 tingo  users  -   220 Aug 18 21:04 INSTALL.conf
-rw-r--r--   1 tingo  users  - 16148 Aug 18 21:18 ISE.conf

hmm,

2018-08-18: c1 - license file placed in ~/.Xilinx

tingo@kg-core1$ ll ~/.Xilinx/
total 12
drwxr-xr-x   2 tingo  users  -  512 Aug 18 21:02 ./
drwxr-xr-x  32 tingo  users  - 1536 Aug 18 21:01 ../
-rw-r--r--   1 tingo  wheel  -  984 Aug 18 21:02 Xilinx.lic

and now

2018-08-18: c1 - created a startup script

tingo@kg-core1$ cat ~/progs/xilinux/14.7/ISE_DS/run_ise.sh
#!/usr/local/bin/bash
. /home/tingo/progs/xilinx/14.7/ISE_DS/settings64.sh
ise
# -[ e o f ]-

set it executable

tingo@kg-core1$ chmod u+x ~/progs/xilinux/14.7/ISE_DS/run_ise.sh

now, test it. OK, fix a speeling error

tingo@kg-core1$ cat ~/progs/xilinux/14.7/ISE_DS/run_ise.sh
#!/usr/local/bin/bash
. /home/tingo/progs/xilinux/14.7/ISE_DS/settings64.sh
ise
# -[ e o f ]-

and ISE starts up.

2018-08-18: c1 - see if the installer will start directory

tingo@kg-core1$ pwd
/home/tingo/doc/Xilinx/ise_webpack/temp/Xilinx_ISE_DS_Lin_14.7_1015_1

try it

tingo@kg-core1$ ./xsetup
Un-supported platform: FreeBSD

ok, the setup script needs to be modified.

tingo@kg-core1$ mv xsetup xsetup_org
tingo@kg-core1$ cp -pv xsetup_org xsetup
xsetup_org -> xsetup

(modified the setup script) I also modified the ./bin/lin64/xsetup script. try ./xsetup again - yes, now the installer starts up

- I selected ISE WebPACK
- use multiple cores for faster installation
- unchecked "Acquire or manage a License Key"
- ensure linux system generator symlinks
- changed install location to: /home/tingo/progs/xilinux/14.7/ISE_DS

and choose not to import tool preferences from previous versions installation - options summary is

Install Location(s):

/home/tingo/progs/xilinux/14.7/ISE_DS

Edition : ISE WebPACK

ISE DS Common

Install Location: /home/tingo/progs/xilinux/14.7/ISE_DS/common

Module: ISE DS Common

EDK

Install Location: /home/tingo/progs/xilinux/14.7/ISE_DS/EDK

Module: EDK

PlanAhead Analysis Tool

Install Location: /home/tingo/progs/xilinux/14.7/ISE_DS/PlanAhead

Module: PlanAhead Files

Option: setupEnv.sh

ISE

Install Location: /home/tingo/progs/xilinux/14.7/ISE_DS/ISE

Module: Design Environment Tools

Module: WebPACK Devices

Option: Install Linux System Generator Info XML

Option: Ensure Linux System Generator Symlinks

Option: Enable WebTalk to send software, IP and device usage statistics to Xilinx (Always enabled for WebPACK license)

and the installation is started. A while later, the install completes, and writes

The environment variables are written to settings[32|64].(c)sh at "/home/tingo/progs/xilinux/14.7/ISE_DS". To launch the Xilinx tools, first source the settings script:

C-shell 64 bit environment...

source /home/tingo/progs/xilinux/14.7/ISE_DS/settings64.csh

Shell, Bash shell, Korn Shell 64 bit environment...

. /home/tingo/progs/xilinux/14.7/ISE_DS/settings64.sh

C-shell 32 bit environment...

source /home/tingo/progs/xilinux/14.7/ISE_DS/settings32.csh

Shell, Bash shell, Korn Shell 32 bit environment...

. /home/tingo/progs/xilinux/14.7/ISE_DS/settings32.sh

ok.

2018-08-18: c1 - try to install on my FreeBSD workstation

tingo@kg-core1$ uname -a
FreeBSD kg-core1.kg4.no 10.4-STABLE FreeBSD 10.4-STABLE #1 r329982: Sun Feb 25 20:35:06 CET 2018     root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

ok