Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4992 Discussions

openSUSE 12.3: VTune(TM) Amplifier XE 2013 Update 5: Cannot detect gtk library

John_C_7
Beginner
712 Views

I am trying to install from cpp_studio_xe_2013_update3.tgz onto openSUSE 12.3 (x86_64) and am encountering the following:

--------------------------------------------------------------------------------
Missing optional pre-requisites
-- Intel(R) VTune(TM) Amplifier XE 2013 Update 5: Cannot detect gtk library
-- Intel(R) VTune(TM) Amplifier XE 2013 Update 5: Driver build options are incomplete. Drivers cannot be built
-- Intel(R) VTune(TM) Amplifier XE 2013 Update 5: Power analysis is not enabled
--------------------------------------------------------------------------------

Both gtk2 and gtk3 appear to be installed from packages listed below.

Has anyone successfully installed on this platform? Any suggestions on how I can debug this problem?

Thanks in anticipation

John Connett

# rpm -q -a | fgrep gtk
libwx_gtk2u_aui-2_8-0-stl-2.8.12-17.1.1.x86_64
gtk2-tools-32bit-2.24.14-2.1.1.x86_64
libgtk-3-0-3.6.4-2.1.1.x86_64
libjavascriptcoregtk-3_0-0-1.10.2-3.2.1.x86_64
gtk2-immodule-vietnamese-2.24.14-2.1.1.x86_64
python-gtk-2.24.0-9.1.1.x86_64
go-go-gtk-doc-0.0.0+git20120304-6.1.1.x86_64
libcanberra-gtk3-0-0.30-3.2.2.x86_64
libcanberra-gtk3-module-32bit-0.30-3.2.2.x86_64
gtk2-immodule-thai-2.24.14-2.1.1.x86_64
libcanberra-gtk2-module-32bit-0.30-3.2.2.x86_64
gtk3-tools-32bit-3.6.4-2.1.1.x86_64
gtkmm3-devel-3.6.0-2.1.1.x86_64
libcanberra-gtk0-0.30-3.2.2.x86_64
gtk2-branding-openSUSE-12.2-4.1.1.noarch
kde-gtk-config-lang-2.1.1-4.1.1.noarch
gtk3-theming-engine-adwaita-3.6.2-3.4.1.x86_64
gtk2-tools-2.24.14-2.1.1.x86_64
libgtkmm-3_0-1-32bit-3.6.0-2.1.1.x86_64
gtk3-metatheme-adwaita-3.6.2-3.4.1.noarch
libgtk-2_0-0-32bit-2.24.14-2.1.1.x86_64
libwebkitgtk-1_0-0-1.10.2-3.2.1.x86_64
gtk3-immodule-inuktitut-3.6.4-2.1.1.x86_64
gtk2-theming-engine-adwaita-3.6.2-3.4.1.x86_64
gtk3-devel-32bit-3.6.4-2.1.1.x86_64
gtkmm2-tutorial-2.24.1-7.1.1.noarch
gtk2-metatheme-adwaita-3.6.2-3.4.1.noarch
gtk2-data-2.24.14-2.1.1.noarch
libwx_gtk2u_gl-2_8-0-stl-2.8.12-17.1.1.x86_64
gtk2-devel-2.24.14-2.1.1.x86_64
gtk3-branding-openSUSE-12.3-2.1.1.noarch
libjavascriptcoregtk-1_0-0-1.10.2-3.2.1.x86_64
libseed-gtk3-0-3.2.0-8.1.1.x86_64
libgtk-3-0-32bit-3.6.4-2.1.1.x86_64
libgtk-2_0-0-2.24.14-2.1.1.x86_64
libwx_gtk2u_html-2_8-0-stl-2.8.12-17.1.1.x86_64
gtk3-tools-3.6.4-2.1.1.x86_64
gtk3-immodule-thai-3.6.4-2.1.1.x86_64
libcanberra-gtk-module-common-0.30-3.2.2.x86_64
opera-gtk-12.15-4.1.x86_64
gtk3-devel-3.6.4-2.1.1.x86_64
libwx_gtk2u_core-2_8-0-stl-2.8.12-17.1.1.x86_64
gtk2-engine-oxygen-1.3.1-2.1.1.x86_64
python-gtk-vnc-0.5.1-2.1.1.x86_64
kde-gtk-config-2.1.1-4.1.1.x86_64
gtk3-engine-oxygen-1.1.1-2.1.1.x86_64
libgtkmm-2_4-1-2.24.2-7.1.1.x86_64
libwx_gtk2u_adv-2_8-0-stl-2.8.12-17.1.1.x86_64
gtk2-theme-clearlooks-2.20.2-13.1.1.noarch
libpeas-gtk-1_0-0-1.6.2-2.1.1.x86_64
vboxgtk-0.8.2-2.1.2.noarch
libcanberra-gtk3-0-32bit-0.30-3.2.2.x86_64
gtkmm2-devel-2.24.2-7.1.1.x86_64
gtk2-immodule-amharic-2.24.14-2.1.1.x86_64
gtk2-theme-oxygen-1.3.1-2.1.1.x86_64
libwx_gtk2u_xrc-2_8-0-stl-2.8.12-17.1.1.x86_64
gtk3-immodule-vietnamese-3.6.4-2.1.1.x86_64
libcanberra-gtk3-module-0.30-3.2.2.x86_64
gtk2-immodule-inuktitut-2.24.14-2.1.1.x86_64
libgtk-vnc-1_0-0-0.5.1-2.1.1.x86_64
libspice-client-gtk-2_0-4-0.14-3.1.2.x86_64
libgtkmm-3_0-1-3.6.0-2.1.1.x86_64
libwebkitgtk-devel-1.10.2-3.2.1.x86_64
gtk3-immodule-amharic-3.6.4-2.1.1.x86_64
vboxgtk-lang-0.8.2-2.1.2.noarch
libclutter-gtk-1_0-0-1.4.2-2.1.1.x86_64
libcanberra-gtk2-module-0.30-3.2.2.x86_64
gtk-vnc2-lang-0.5.1-2.1.1.noarch
go-go-gtk-0.0.0+git20120304-6.1.1.x86_64
gtk3-theme-oxygen-1.1.1-2.1.1.x86_64
gtk2-engine-clearlooks-2.20.2-13.1.1.x86_64
gtk3-data-3.6.4-2.1.1.noarch
libcanberra-gtk0-32bit-0.30-3.2.2.x86_64
at-spi2-atk-gtk2-2.6.2-2.1.1.x86_64
PackageKit-gtk3-module-0.8.7-4.8.2.x86_64

0 Kudos
9 Replies
Michal_Kvasnicka
Beginner
712 Views

Hi,

I have exactly the same problem!!! Any hints or help? Of course, opensuse 12.3 is not supported linux distro, but anyway ...

Michal

P.S. on this page you can read the following statement:

"COMPATIBLE Intel Compiler Versions: In order to use Intel® Compilers (C++  or  Fortran) under the lastest release of OpenSLES/SLES/SLED, you will need the latest version of the Intel compiler(s).   Do NOT try to install older Intel Compilers such as 12.x, 11.0, 10.x, 9.x or 8.x under OpenSUSE 12.3 or newer - they will not install easily and probably will not work - and they are NOT supported."

So, this means, that openSUSE 12.3 is compatible with Intel Compiler 13.x or not???

0 Kudos
John_C_7
Beginner
712 Views

Totally unscientific but I tried installing as many as possible of the rpms from the installation media using "rpm -Uvh". Apart from:

# rpm -Uvh intel-idb-common-163-13.0-3.noarch.rpm
error: Failed dependencies:
        intel-compilerpro-common-163 = 13.0 is needed by intel-idb-common-163-13.0-3.noarch
#

they have installed.

Turning to VTune(TM) Amplifier:

# pwd
/opt/intel/vtune_amplifier_xe_2013/bin64
# ldd amplxe-gui | fgrep -i gtk
        libwx_gtk2-2.8.so.0 => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2-2.8.so.0 (0x00007f53a677b000)
        libwx_gtk2_stc-2.8.so.0 => /opt/intel/vtune_amplifier_xe_2013/bin64/../lib64/libwx_gtk2_stc-2.8.so.0 (0x00007f53a6574000)
        libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f53a5171000)
#

it appears to find the installed gtk2 libraries.

Not sure what to conclude from this! However, it looks like the problem may be with the installer failing to detect the gtk library rather than a more fundamental incompatibility.

0 Kudos
TimP
Honored Contributor III
712 Views

If your blockage is at the point of building a driver for openSuSE,note that you will have needed to install kernel-development option.as well as the g++ development option.

did you try:

accept the installation with missing prerequisites

go to the instructions for building SuSE driver for amplifier

note the steps in the vtune installation directory, in /sepdk/src/README.txt including configuring kernel sources as if you intended to rebuild the kernel.  This should allow the build-driver and insmod scripts to run.

If you are interested, you could dig into the install script to see what steps would be taken for SLES if VTune driver has to be built.

"non-support" of opensuse includes lack of a matching pre-built vtune driver and not attempting the SLES part of the install script.

0 Kudos
John_C_7
Beginner
712 Views

TimP (Intel) wrote:

If your blockage is at the point of building a driver for openSuSE,note that you will have needed to install kernel-development option.as well as the g++ development option.

I was missing the kernel-devel rpm. I have added it (and kernel-source) and the installation now runs to completion using the default options. The installation reports:

--------------------------------------------------------------------------------
Installing Amplifier XE Sampling driver kit component...
  WARNING: Failed to build driver.
Suggestion: after the installation completes, see
'/opt/intel/vtune_amplifier_xe_2013/sepdk/src/README.txt' for information on how
to build and load the driver into the kernel.
--------------------------------------------------------------------------------

I haven't yet tried to build the kernel driver but the instructions in the README.txt file should be sufficient once I remond myself how to build kernel modules under openSUSE. My main interest is looking at C++-11 features so I am mostly interested in the compiler.

Many thanks for the prompt and useful help!

0 Kudos
Peter_W_Intel
Employee
712 Views

My experience is:

When installing latest Update 7, there were some messages of complaining panbox, gtk missed I mean prerequisite step. You can ignore these messages and installation finished successfully. 

SuSE 12.3 is kernel 3.7.10 version, if you installed components g++ development tool and kernel development tool - there is no problem to build sep driver and install the driver to the system. amplxe-gui cannot be used - but amplxe-cl can be used to collect data, and result directory can be used on other machine (old supported SuSE OS) which can run ampxe-gui to open result...this is a temp workaround. 

0 Kudos
Michal_Kvasnicka
Beginner
712 Views

Peter Wang (Intel) wrote:

My experience is:

When installing latest Update 7, there were some messages of complaining panbox, gtk missed I mean prerequisite step. You can ignore these messages and installation finished successfully. 

SuSE 12.3 is kernel 3.7.10 version, if you installed components g++ development tool and kernel development tool - there is no problem to build sep driver and install the driver to the system. amplxe-gui cannot be used - but amplxe-cl can be used to collect data, and result directory can be used on other machine (old supported SuSE OS) which can run ampxe-gui to open result...this is a temp workaround. 

So finaly, the VTune is not fully compatible with openSUSE 12.3 (amplxe-gui does not work!!!). The main recomendation is that users can ignore every warning messages during instalation.  Am I right?

What exactly do you mean under installed g++ and kernel development tool requirements?

Could somebody write down brief list of prerequisities and installation steps?

0 Kudos
Peter_W_Intel
Employee
712 Views

> What exactly do you mean under installed g++ and kernel development tool requirements?

gcc is compiler to work with vtune driver code & linux kernel source to build vtune drivers.

0 Kudos
Michal_Kvasnicka
Beginner
712 Views

Peter Wang (Intel) wrote:

> What exactly do you mean under installed g++ and kernel development tool requirements?

gcc is compiler to work with vtune driver code & linux kernel source to build vtune drivers.

Strange!!! Because on Debian/Ubuntu distros is not necessary to install linux kernel source to build vtune driver?!

0 Kudos
Peter_W_Intel
Employee
712 Views

Michal Kvasnicka wrote:

Quote:

Peter Wang (Intel)wrote:

> What exactly do you mean under installed g++ and kernel development tool requirements?

gcc is compiler to work with vtune driver code & linux kernel source to build vtune drivers.

Strange!!! Because on Debian/Ubuntu distros is not necessary to install linux kernel source to build vtune driver?!

I don't know (not verified on Debian/Ubuntu, probably you did apt-get to download linux kernel after installing the OS), but for SuSE 12.3 - if you didn't install linux-kernel-development tool (see attached screen shot), when building vtune driver, you will get error:

ERROR: invalid or inaccessible kernel source directory "usr/src/linux-3.7.10..."

0 Kudos
Reply