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.

CCSV6 Linux install problems

Other Parts Discussed in Thread: CCSTUDIO

I am having an issue with installing the latest CCS6 under Linux (Mepis). I had a similar issue with CCSv5 until I used the offline installation. The issue arises when the initial download of Eclipse tries to access the TI repository at http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/featurerepo.

If I try to access this repository from an existing Eclipse IDE I have no problems, but from the installed version I get the following errors:


!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2014-03-07 12:02:39.506
!MESSAGE Connection to http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/featurerepo/p2.index failed on Connection to http://software-dl.ti.com refused. Retry attempt 0 started
!STACK 0
org.apache.http.conn.HttpHostConnectException: Connection to http://software-dl.ti.com refused
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)

and in the other logfile:

!SESSION 2014-03-07 12:02:38.162 -----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_AU
Framework arguments:  -application com.ti.ccstudio.p2app -repository http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/featurerepo -installiu com.ti.ccstudio.debugserver.linux.feature.group
Command-line arguments:  -os linux -ws gtk -arch x86 -application com.ti.ccstudio.p2app -repository http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/featurerepo -installiu com.ti.ccstudio.debugserver.linux.feature.group

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2014-03-07 12:02:39.506
!MESSAGE Connection to http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/featurerepo/p2.index failed on Connection to http://software-dl.ti.com refused. Retry attempt 0 started
!STACK 0
org.apache.http.conn.HttpHostConnectException: Connection to http://software-dl.ti.com refused
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
...
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Caused by: java.net.ConnectException: Network is unreachable
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at org.eclipse.ecf.internal.provider.filetransfer.httpclient4.ECFHttpClientProtocolSocketFactory.connectSocket(ECFHttpClientProtocolSocketFactory.java:84)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
    ... 34 more
etc.

I have run the installer both as a normal user and as root and this problem still occurs. I know I don't have a firewall or antivirus problem as I can access the repository with no problems under Eclipse.

 have tried running the installer up to the point of repository access failure but I can't prevent the install from deleting all of the downloaded files so that I can install the repository manually which is annoying and doesn't help with this type of repository access issue.

Would it be possible to split the install into different steps for people who already have Eclipse installed and only need to access the TI repository for the CCS software ? This would reduce the download size and prevent the currently downloaded Eclipse, JRE and other plugin software from being deleted when the install fails on any network problems. Surely the Eclipse software update process would be sufficient to cope with these sorts of issues.

In the meantime, there is obviously an issue with accessing the repository when running the downloaded eclipse app which needs to be resolved. Any suggestions ? Maybe it's a permission issue trying to run the downloaded JRE with the downloaded eclipse ? Can you suggest a way of installing the CCS for people who already have the latest JRE and Eclipse and want to use TI repository plugin installation only ?

Thanx.

  • Jeff, 

    Could you check to see if you have the environment variable http_proxy set? If so, unset it and run the installer from the same shell. If that doesn't work, your only option is to download the offline installer, for now.

    Danish

  • Hi Danish,


    Thanks for your quick response. I don't have the http_proxy environment variable set and I have a direct internet connection through my router.

    If the previous parts of the installer were able to download from http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/baserepo without problems, then the issue of install failure when running the eclipse command :

    "/home/jeff/ti/CCS_V6/ccsv6/eclipse/eclipse" -application com.ti.ccstudio.p2app -repository "http://software-dl.ti.com/ccs/esd/CCSv6/CCS6.0.0.00116_linux/featurerepo" -installiu com.ti.ccstudio.installer.linux.feature.group -nosplash

    is unlikely to be caused by a proxy connection as the base TI server hasn't changed. However, the program attempting the network connection viz. eclipse, has changed. My working theory would be to check whether the command line invocation of eclipse requires some permission or something to allow the network connection to proceed. Just a thought...

    Do you have a link to the offline install for the latest CCS v6 beta ?

    Thanx.

  • Hi Jeff,

    We've been scratching our heads about the proxy issues for a while now. Will definitely look into the permissions as you suggested. 

    The offline installer can be picked up here:

    http://software-dl.ti.com/dsps/forms/self_cert_export.html?prod_no=CCS6.0.0.00116_win32.zip&ref_url=http://software-dl.ti.com/ccs/esd/CCSv6/CCS_6_0_0/

    Please note, they're planning on posting a new beta in the next day or two.

    Danish

  • Thanks for the link. Once I have downloaded this offline version, would I be able to update it with the newer version using the software update mechanism under Eclipse ?

    Jeff

  • Danish,

    Do you have the link for the Linux version as this appears to be the CCS version for Windows.
    Thanks.

    Jeff

  • Hi Danish,
    I have fixed the problem. It appears to be related to IPV6. On Debian systems, a sysctl.conf flag (net.ipv6.bindv6only) is set by default to 1, so that whenever programs are interested in both IPv4 and IPv6 connections they must open two listening sockets. When set to zero, programs listening on IPv6 sockets will also accept IPv4 connections.

    By setting this flag to zero, the eclipse p2 app was able to access the repository without creating a second socket so that the network was accessible. See this bug fix for details :

    https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/486215

    I hope this stops you scratching your head about this issue and helps other Linux users to download CCS. Thanks for your help.

    jeff

  • Thanks a ton for the tip, Jeff!

    Btw, the new CCSv6 was released today. Updates are not supported in the beta versions, though. 

    Danish

  • No problem. I would suggest this tip needs to be added to the Linux host page:

    http://processors.wiki.ti.com/index.php/Linux_Host_Support.

    I will get the latest beta now that the installer works.

    Now if only I can get the CCS debugger for the Tiva LaunchPad to work under Linux.... Oh well just another Linux issue I guess.

    Jeff

  • For CentOS 6.5 64bit (preliminary) the instructions say: "sudo ln -s /usr/lib/libusb-1.0.so.0 /usr/lib/libusb-1.0.so" but the actual file is /usr/lib/libusb-1.0.so.0.1.0 so it should actually be "sudo ln -s /usr/lib/libusb-1.0.so.0.1.0 /usr/lib/libusb-1.0.so" in my case for it to work.

  • I am attempting to install CCS v6.1.2 for Linux under Ubuntu 15.04 32 bit, using the offline installer.

    I followed the instructions

    http://processors.wiki.ti.com/index.php/Linux_Host_Support_CCSv

    (deleted the last character so that it does NOT display a useless icon)

    for Ubuntu 15.04 64 bit, because that is all that is presented.

    There was a failure with the install/update process for libgcrypt, but everything else seemed to install/update correctly.

    The CCS installation eventually failed, and brought up a dialog that claimed it would send the log files to TI. But submitting that failed, too.

    Any suggestions, other than giving up?

  • Hi,
    Could you zip up the contents of all install_logs* folders under <installdir>/ccsv6 and post them here?
    Thanks
    Danish