LPCXpresso 8 on Ubuntu 14.04 64 bit

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

LPCXpresso 8 on Ubuntu 14.04 64 bit

2,343 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by peterpalace on Tue Feb 16 06:47:09 MST 2016
Hi,
I'm trying to install LPCXpresso IDE 8 on ubuntu 14.04 64 bit but I receive an error:
No protocol specified
invalid command name "bind"
    while executing
"::unknown bind Text <Tab>"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $next $args"
    (procedure "::obj::Unknown" line 3)
    invoked from within
"bind Text <Tab>"
    (procedure "::InstallJammer::InitializeGui" line 19)
    invoked from within
"::InstallJammer::InitializeGui "
    (procedure "::InstallJammer::InitInstall" line 68)
    invoked from within
"::InstallJammer::InitInstall"
    (file "/installkitvfs/main.tcl" line 38978)

I've installed:
sudo apt-get install libgtk2.0-0:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 libxtst6:i386

and
sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libpangox-1.0-0:i386 \
         libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 \
 libncurses5:i386 libudev1:i386 libusb-1.0:i386 libusb-0.1:i386 \
 gtk2-engines-murrine:i386 libnss3-1d:i386

and
cd /lib/i386-linux-gnu
sudo ln -sf libudev.so.1 libudev.so.0


But nothing seems working.
Can someone help me with this?
0 Kudos
Reply
7 Replies

1,610 Views
robin48gx
Contributor I

$ /usr/local/lpcxpresso_8.2.2_650/lpcxpresso/lpcxpresso

(LPCXpresso:30217): Gtk-WARNING **: 14:50:59.992: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:50:59.992: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.401: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.401: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.425: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.425: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.456: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.456: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:01.305: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:01.305: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:01.305: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf6f7f1aa, pid=30217, tid=4156991232
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode linux-x86 )
# Problematic frame:
# C [libX11.so.6+0x261aa] XDefaultRootWindow+0x1a
#
# Core dump written. Default location: /home/robin/Downloads/lcpxpresso/core or core.30217
#
# An error report file with more information is saved as:
# /home/robin/Downloads/lcpxpresso/hs_err_pid30217.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

 

Got the install working using the --console mode option.

Windows come up blank but with lots of modal error windows titled "error" but with no text in them and an OK button.

Then it core dumps.

 

$ /usr/local/lpcxpresso_8.2.2_650/lpcxpresso/lpcxpresso

(LPCXpresso:30217): Gtk-WARNING **: 14:50:59.992: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:50:59.992: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.401: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.401: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.425: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.425: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.456: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:00.456: Negative content height -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:01.305: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:01.305: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

(LPCXpresso:30217): Gtk-WARNING **: 14:51:01.305: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf6f7f1aa, pid=30217, tid=4156991232
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode linux-x86 )
# Problematic frame:
# C [libX11.so.6+0x261aa] XDefaultRootWindow+0x1a
#
# Core dump written. Default location: /home/robin/Downloads/lcpxpresso/core or core.30217
#
# An error report file with more information is saved as:
# /home/robin/Downloads/lcpxpresso/hs_err_pid30217.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

0 Kudos
Reply

1,875 Views
psubiaco
Contributor II

SOLVED

I've got the same error  invalid command name "bind"  on Debian.
The problem, in my case, was /tmp partition that was not executable.

You can check your partitions typing the command mount and fix the problem with

mount -o remount,exec /tmp

Regards.

Paolo

0 Kudos
Reply

1,875 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by peterpalace on Wed Feb 17 02:51:31 MST 2016
sudo ./Installer_LPCXpresso_8.0.0_526_Linux-x86  --mode console


resolved the problem.
I don't know why but with "--mode console" the installation went fine.
0 Kudos
Reply

1,611 Views
robin48gx
Contributor I

The default install tries to use something called InstallJammer. This was a general purpose installer using tcl/tk  that was supposed to look like the windows installer. According to wiki this has not been maintained since 2011.

 

0 Kudos
Reply

1,875 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Feb 17 02:34:41 MST 2016
I just tried this on a clean Ubutntu 14.04 64-bit machine. I downloaded LPCXpresso 8.0.0 and run the following command (pasted directly from INSTALL.txt)


Quote:
sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libpangox-1.0-0:i386 \
         libpangoxft-1.0-0:i386 libidn11:i386 libglu1-mesa:i386 \
libncurses5:i386 libudev1:i386 libusb-1.0:i386 libusb-0.1:i386 \
gtk2-engines-murrine:i386 libnss3-1d:i386



The install worked, and the product runs. Perhaps you should try running the above command - in case one of the required libraries was missed for some reason?
0 Kudos
Reply

1,875 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by peterpalace on Wed Feb 17 01:47:21 MST 2016
Thanks but it didn't solve the problem. I took the list of libraries from INSTALL.txt and that library is not included.
0 Kudos
Reply

1,875 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by 1234567890 on Tue Feb 16 10:05:11 MST 2016
Why didn't you copy&paste the essentials from the v8 manual? Obviously you missed
libwebkitgtk-1.0-0
0 Kudos
Reply