In a new blog post Tony Bibbs talks about an issue that he’s been having (an “oh so familiar problem”) when trying to install the Zend Studio Neon IDE - the same as last time, an issue with a locked resource. The solution involves breaking the installer (pushing it to the background for a bit) at a certain point, executing a command to replace the variable name and resuming the install process to complete a correct software installation.

I tried to install Zend Studio Neon Beta on my openSUSE 10.3. I run installer but, got error:

beda-linux:/home/tomas/download # ./ZendStudioNeon-BETA.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

That is hnown bug in java-1.5.0-sun.

I found tutorial how to workaround this bug here but it isn’t for Neon.

Zend Studio Neon installer unpacks files to /temp. You have to break installer after unpacking the files. Run installer:

beda-linux:/home/tomas/download # ./ZendStudioNeon-BETA.bin

Immedietly after appearing

Launching installer...

break the installer with ctrl+z.

./ZendStudioNeon-BETA.bin
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
[1]+  Stopped                 ./ZendStudioNeon-BETA.bin

find Xinerama extension for java:

beda-linux:/home/tomas/download # find /tmp -name "libmawt.so"
/tmp/install.dir.16210/Linux/resource/jre/lib/i386/motif21/libmawt.so
/tmp/install.dir.16210/Linux/resource/jre/lib/i386/headless/libmawt.so
/tmp/install.dir.16210/Linux/resource/jre/lib/i386/xawt/libmawt.so

The right is that with „xawt/libawt.so

Apply workaround:

beda-linux:/home/tomas/download # sed -i 's/XINERAMA/FAKEEXTN/g' /tmp/install.dir.16210/Linux/resource/jre/lib/i386/xawt/libmawt.so

and resume installer:

beda-linux:/home/tomas/download # fg

It should start graphical installer and succesfuly install Zend Studio Neon.

Tags: Code, Extension, GD, Images, Install, Java, Linux, pear, PHP, Process, Resources, SuSE, Tutorial, Zend