I’ve installed URSim-3.4.0-39 in a clean installation of Ubuntu 14.04, 64-bit (not the starter package).
When I run the install script of the SDK, everything goes well until I get prompted to install the C/C++ cross compiler toolchain. This is the error I’m getting:
Optional: Do you want to install the UR C/C++ cross-compiler toolchain? The toolchain minimally requires a x86_64 host system and Debian-based OS (y/N)?y
Installing native UR tool chain…
Reading package lists… Done
Building dependency tree
Reading state information… Done
lib32gcc1 is already the newest version.
libc6-i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
(Reading database … 202172 files and directories currently installed.)
Preparing to unpack urtool/urtool3_0.3_amd64.deb …
Unpacking urtool3 (0.3) …
dpkg: error processing archive urtool/urtool3_0.3_amd64.deb (–install):
trying to overwrite ‘/opt/urtool-3.0/lib/libxmlrpc_server.so.3.33’, which is also in package libxmlrpc-c-ur 1.33.14
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
Done. Please log out and back in.
I think this is why I can’t compile “mydaemon” sample.
Is there something I can do to solve this installation issue?
Thanks in advance.
For the record, I managed to install the UR toolchain by forcing the last line of install.sh:
sudo dpkg -i urtool/.deb --> sudo dpkg -i --force-overwrite urtool/.deb.
Perhaps there is a better solution, this is just a workaround.
After this step and installing scons from apt, I could build “mydaemon” sample.