Not able to install kinetis design studio on 64-bit Ubuntu.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to install kinetis design studio on 64-bit Ubuntu.

Jump to solution
3,692 Views
germanrivera
Contributor III

I get the following error:

 

$ ~/Downloads/kinetis-design-studio_1.1.0-1_i386.deb.bin

/home/b46482/Downloads/kinetis-design-studio_1.1.0-1_i386.deb.bin: line 1: syntax error near unexpected token `newline'

/home/b46482/Downloads/kinetis-design-studio_1.1.0-1_i386.deb.bin: line 1: `!<arch>'

$

Labels (1)
1 Solution
1,772 Views
gschelotto
Contributor V

It finally works in my Ubuntu 12.04 LTS (64-bit). These are the KDS library dependencies:

linux-gate.so.1 =>  (0xf7706000)

libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76c9000)

libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76c4000)

libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7518000)

/lib/ld-linux.so.2 (0xf7707000)

regards,

gaston

View solution in original post

0 Kudos
19 Replies
1,772 Views
germanrivera
Contributor III

I seem to have the same library depdendecies in place:

$ ldd /opt/Freescale/KDS_1.1.0/eclipse/kinetis-design-studio 

  linux-gate.so.1 =>  (0xf76fb000)

  libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76b5000)

  libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76af000)

  libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74ff000)

  /lib/ld-linux.so.2 (0xf76fc000)

But stiil KDS doe snot work for me on Ubuntu 14.04. I get this error:

$ /opt/Freescale/KDS_1.1.0/eclipse/kinetis-design-studio

Gtk-Message: Failed to load module "overlay-scrollbar"

I also tried running plain 32-bit eclipse (Luna release). And I get the same error.

(However 64-bit plain eclipse works fine)

0 Kudos
1,772 Views
michaelball
Contributor III

I'm in the same boat...  Ubuntu 14.04  64bit, with no 32bit libraries.   I shall try the stackoverfow fix suggested above.

(Does anyone actually run Ubuntu 32bit?)

0 Kudos
1,772 Views
michaelball
Contributor III

Got it working!!!!

Arduino-Pi Ramblings: Running Kinetis Design Studio (32bit Eclipse) on 64bit Ubuntu

In a nutshell: install the deprecated ia32-libs..

sudo -i
cd /etc/apt/sources.list.d
echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
1,772 Views
christianrinn
Contributor I

That worked for me as well. Thank you very much Michael!

I'm also wondering who is running 32 bit linux systems these days...

1,772 Views
michaelball
Contributor III

I *suppose* there are some Pentium and lower out there... but nah... If you are installing 32bit Linux on an AMD or ANY recent Intel (by recent I mean 10 years or newer) then you're only getting half of the performance of the box.   I don't get it. 

Just because MicroSloth too forever to get a decent 64bit OS off the ground..... nuff said...

0 Kudos
1,772 Views
christianrinn
Contributor I

In factI have a few 32bit Linux systems arround but they are all ARM- and MIPS-based and I've never thought about installing any IDE on those :smileygrin:

Anyway I'm glad that it works and I definitely won't complain although it's good to hear that V2 will have native 64bit support. Actually the Linux support was one of the two reasons for me to order a few frdm-boards. The other reason by the way were Erich's tutorials on his blog. So thanks a lot for that as well.

0 Kudos
1,772 Views
BlackNight
NXP Employee
NXP Employee

Glad to hear that :-)

My view too is that 32bit Linux is going away for this kind of things. So V2.0.0 will be 64bit Linux only, and I hope now no-one will scream for 32bit binaries on Linux ;-)

0 Kudos
1,772 Views
BlackNight
NXP Employee
NXP Employee

KDS V2.0.0 will have Linux 64bit binaries.

0 Kudos
1,772 Views
gschelotto
Contributor V

Great.

Any estimated date for the V2.0.0 release?

regards,

gaston

0 Kudos
1,772 Views
BlackNight
NXP Employee
NXP Employee

No promise yet until plans are finalized. But it should be before end of this year.

0 Kudos
1,772 Views
michaelball
Contributor III

I want ALPHA privileges!    LOL

Please?

0 Kudos
1,772 Views
lategoodbye
Senior Contributor I

Hi German,

sorry about the confusion with the ldd command. The result isn't very helpful because it's only the launcher and not the real binary.

Please try to install gtk-library overlay-scrollbar in Ubuntu.

If it don't help may be this has something to do with the following: http://stackoverflow.com/questions/23182765/how-to-install-ia32-libs-in-ubuntu-14-04-lts

0 Kudos
1,772 Views
haidong_zheng
NXP Employee
NXP Employee

Hi, German:

You can user dpkg  extract the kinetis-design-studio_1.1.0-1_i386.deb.bin file and copy relative file to /opt directory.

0 Kudos
1,772 Views
germanrivera
Contributor III

Thanks for your replies. I tried:

Renamed kinetis-design-studio_1.1.0-1_i386.deb.bin as kinetis-design-studio_1.1.0-1_i386.deb, as suggested in another post

and then I did:

$ sudo dpkg -i kinetis-design-studio_1.1.0-1_i386.deb

Selecting previously unselected package kinetis-design-studio.

(Reading database ... 482724 files and directories currently installed.)

Preparing to unpack kinetis-design-studio_1.1.0-1_i386.deb ...

Unpacking kinetis-design-studio (1.1.0) ...

Setting up kinetis-design-studio (1.1.0) ...

KDS got installed at /opt/Freescale/KDS_1.1.0/

I tried to run it by doing:

$ /opt/Freescale/KDS_1.1.0/eclipse/kinetis-design-studio

Gtk-Message: Failed to load module "overlay-scrollbar"

Gtk-Message: Failed to load module "unity-gtk-module"

But it failed to load.

Am I missing something? Or could this be caused by using 64-bit Ubuntu instead of 32-bit Ubuntu?

Thanks,

German

1,773 Views
gschelotto
Contributor V

It finally works in my Ubuntu 12.04 LTS (64-bit). These are the KDS library dependencies:

linux-gate.so.1 =>  (0xf7706000)

libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76c9000)

libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76c4000)

libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7518000)

/lib/ld-linux.so.2 (0xf7707000)

regards,

gaston

0 Kudos
1,772 Views
lategoodbye
Senior Contributor I

Hi German,

maybe you could try the following to get an idea what library is missing:

ldd /opt/Freescale/KDS_1.1.0/eclipse/kinetis-design-studio

BR Stefan

1,772 Views
haidong_zheng
NXP Employee
NXP Employee

Hi German:

My running environment is 64bit ArchLinux and I don't meet the issue like you, from the error log seem you miss  some 32bit libs.

Maybe you can search the web find the reason.

1,772 Views
gschelotto
Contributor V

Hi,

I'm facing the same problem than German. Could someone help us with this issue?

regards,

gaston

0 Kudos
1,772 Views
BlackNight
NXP Employee
NXP Employee

Hello,

officially KDS V1.1.0 is only supported in 32-bit Ubuntu for now. It could be that the messages are caused by this, but I'm not sure.

0 Kudos