This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I'm trying to get Code Composer 6 installed on Ubuntu 14.04. I've followed the directions from the wiki but after calling the installer the program just returns to the shell. I have installed the 32 bit libraries mentioned in the wiki.
otto@AFLAB2369297:~/Downloads/CCS$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty otto@AFLAB2369297:~/Downloads/CCS$ uname -a Linux AFLAB2369297 3.16.0-45-generic #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux otto@AFLAB2369297:~/Downloads/CCS$ sudo apt-get install libc6:i386 libx11-6:i386 libasound2:i386 libatk1.0-0:i386 libcairo2:i386 libcups2:i386 libdbus-glib-1-2:i386 libgconf-2-4:i386 libgdk-pixbuf2.0-0:i386 libgtk-3-0:i386 libice6:i386 libncurses5:i386 libsm6:i386 liborbit2:i386 libudev1:i386 libusb-0.1-4:i386 libstdc++6:i386 libxt6:i386 libxtst6:i386 libgnomeui-0:i386 libusb-1.0-0-dev:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 Reading package lists... Done Building dependency tree Reading state information... Done gtk2-engines-murrine:i386 is already the newest version. libasound2:i386 is already the newest version. libatk1.0-0:i386 is already the newest version. libcanberra-gtk-module:i386 is already the newest version. libdbus-glib-1-2:i386 is already the newest version. libgconf-2-4:i386 is already the newest version. libgdk-pixbuf2.0-0:i386 is already the newest version. libgnomeui-0:i386 is already the newest version. libice6:i386 is already the newest version. libncurses5:i386 is already the newest version. liborbit2:i386 is already the newest version. libsm6:i386 is already the newest version. libusb-0.1-4:i386 is already the newest version. libusb-1.0-0-dev:i386 is already the newest version. libx11-6:i386 is already the newest version. libxt6:i386 is already the newest version. libxtst6:i386 is already the newest version. libc6:i386 is already the newest version. libcairo2:i386 is already the newest version. libcups2:i386 is already the newest version. libgtk-3-0:i386 is already the newest version. libstdc++6:i386 is already the newest version. libudev1:i386 is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-3.16.0-30 linux-headers-3.16.0-30-generic linux-image-3.16.0-30-generic linux-image-extra-3.16.0-30-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. otto@AFLAB2369297:~/Downloads/CCS$ chmod +x ccs_setup_6.1.0.00104.bin otto@AFLAB2369297:~/Downloads/CCS$ ./ccs_setup_6.1.0.00104.bin otto@AFLAB2369297:~/Downloads/CCS$
Are there other dependencies that I am missing?
Thanks!
Hi Otto,
You will probably need the libgcrypt (version 1) libs as well, both 32 and 64 bit.
That looks strange on my pc - hope it looks okay to you... Anyway, you want libgcrypt.so.11 off launchpad...
Thanks S.A.
I believe I have those installed as well.
otto@AFLAB2369297:~/Downloads/CCS$ aptitude search '?narrow(?installed,libgcrypt)' i libgcrypt11 - LGPL Crypto library - runtime library i libgcrypt11:i386 - LGPL Crypto library - runtime library otto@AFLAB2369297:~/Downloads/CCS$ ./ccs_setup_6.1.0.00104.bin otto@AFLAB2369297:~/Downloads/CCS$
There must be some other library missing. Those were installed via apt, is it necessary to use the linked launchpad files vs what is in apt?
-Otto
So I did some more messing around and looked at the help options from the .bin. I noticed that there is a --mode option that allows you to select text. xwindow, or gtk.
When I selected any of those options I would get a wizard. However no text was displayed for the questions. Included below is what was output to the terminal when I selected text mode for the install:
otto@AFLAB2369297:~/Downloads/CCS$ ./ccs_setup_6.1.0.00104.bin --mode text ---------------------------------------------------------------------------- Welcome to the Code Composer Studio 6.1.0 Setup Wizard. ---------------------------------------------------------------------------- [y/N]: ---------------------------------------------------------------------------- [y/N]: ---------------------------------------------------------------------------- [y/N]: ---------------------------------------------------------------------------- [y/N]: ---------------------------------------------------------------------------- [y/N]: ---------------------------------------------------------------------------- [/tmp]:
At that point I canceled the installer because I have no idea how to answer those blank questions. I also tried to download CCS5 to see if that would result in similar problems. CCS5's installer seems to be made slightly different, but also fails.
otto@AFLAB2369297:~/Downloads/CCS5$ ./ccs_setup_5.5.0.00077.bin Error in action ExecuteAction Error in action ExecuteScript couldn't find procedure Tcl_Init while executing "::InstallJammer::actions::$component $this" while executing "$obj execute" (procedure "::InstallJammer::ExecuteActions" line 69) invoked from within "::InstallJammer::ExecuteActions $action -parent $id -conditions $eval" (procedure "::InstallJammer::actions::ExecuteAction" line 35) invoked from within "::InstallJammer::actions::$component $this" while executing "$obj execute" (procedure "::InstallJammer::ExecuteActions" line 69) invoked from within "::InstallJammer::ExecuteActions "Startup Actions"" (procedure "::InstallJammer::InstallMain" line 10) invoked from within "::InstallJammer::InstallMain" (procedure "ThemeMain" line 2) invoked from within "ThemeMain " invoked from within "if {![info exists ::InstallJammer]} { ThemeMain }" (file "/installkitvfs/main2.tcl" line 57001) invoked from within "source [file join $::installkit::root main2.tcl]" (file "/installkitvfs/main.tcl" line 3)
Hope these new discoveries might help find a solution!
Thanks,
Otto
Hi Otto,
The installer does not run in text mode. Could you please set your display and try the install again. If it exits, please take a look at the /tmp folder and look for bitrock*log files, zip them up and post them here.
Danish
I have seen the installer silently exit if the 32-bit version of glibc isn't installed - see ccs_setup_6.0.0.00175.bin silently exits on CentOS 6.5 64-bit if glibc.i686 or libX11.i686 not installedOtto Schnarr14 said:Are there other dependencies that I am missing?
Also, running the installer under strace may reveal why the installer silently exists.
danishinnis said:Hi Otto,
The installer does not run in text mode. Could you please set your display and try the install again. If it exits, please take a look at the /tmp folder and look for bitrock*log files, zip them up and post them here.
Danish
otto@AFLAB2369297:~/Downloads/CCS$ ./ccs_setup_6.1.0.00104.bin --help Code Composer Studio 6.1.0 6.1.0.00104 Usage: --help Display the list of valid options --version Display product information --unattendedmodeui <unattendedmodeui> Unattended Mode UI Default: none Allowed: none minimal minimalWithDialogs --optionfile <optionfile> Installation option file Default: --debuglevel <debuglevel> Debug information level of verbosity Default: 2 Allowed: 0 1 2 3 4 --mode <mode> Installation mode Default: unattended Allowed: gtk xwindow text unattended
I've attached the bitrock_installer.log. Looking at the log it seems to default to unattended mode for installation. The --help seems to confirm this. When I select --mode gtk I get a Setup wizard however all the questions are Yes/No with no dialog as to what I am answering until it asks me for a directory which defaults to /tmp(again not telling me what the directory is to be used for. Similar to my previous post of the textmode install.
Thanks for the suggestions Danish, hope the logs help resolve this.
Just a final update. I believe I have the installer working now.
It may be useful to add to the FAQ to check how /tmp is mounted. I saw that you could use --temp to select a different tmp directory, but that does not seem to work well. I suppose that is also why Danish mentioned that text mode was not valid.
Looking at /tmp I noticed it was mounted noexec.
otto@AFLAB2369297:~/Downloads/CCS$ sudo mount -o remount exec /tmp
After this the installer GUI came up just fine. I'll mark this reply as the answer once the installer finishes.
Thanks for all the help!
Hi,
Thanks for the information. I'll open a bug regarding the --temp option and also to test for noexec tmp folders.
Danish