<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WSL ubuntu 24.04 apt install intel-oneapi-toolkit ERROR version.h not found while vtune compile in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/WSL-ubuntu-24-04-apt-install-intel-oneapi-toolkit-ERROR-version/m-p/1749069#M4759</link>
    <description>&lt;P&gt;I gave up 'apt' and tried&lt;A title="Get the Intel® oneAPI Toolkit" href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/oneapi-toolkit-download.html?packages=oneapi-toolkit&amp;amp;oneapi-toolkit-os=linux&amp;amp;oneapi-lin=offline" target="_blank" rel="noopener"&gt; 'offline installer' of '&lt;SPAN&gt;Intel® oneAPI Toolkit' for 'linux'&lt;/SPAN&gt;&lt;/A&gt;, which works fine without an ERROR on WSL (ubuntu24.04).&lt;/P&gt;&lt;P&gt;less /tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/*.log | grep ERROR&lt;/P&gt;&lt;P&gt;(nothing)&lt;/P&gt;&lt;P&gt;ls /tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/*vtune*.log&lt;BR /&gt;'/tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/pm.intel.oneapi.lin.vtune,v=2026.0.0+325.2026.05.26.12.02.27.422451.log'&lt;BR /&gt;'/tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/pm.intel.oneapi.lin.vtune.eclipse-plugin,v=2026.0.0+325.2026.05.26.12.02.26.878056.log'&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2026 04:39:57 GMT</pubDate>
    <dc:creator>macanori</dc:creator>
    <dc:date>2026-05-26T04:39:57Z</dc:date>
    <item>
      <title>WSL ubuntu 24.04 apt install intel-oneapi-toolkit ERROR version.h not found while vtune compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/WSL-ubuntu-24-04-apt-install-intel-oneapi-toolkit-ERROR-version/m-p/1749060#M4758</link>
      <description>&lt;P&gt;On my&amp;nbsp;Windows Subsystem for Linux (WSL) - ubuntu 24.04, I tried&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;sudo apt install intel-oneapi-toolkit&lt;/P&gt;&lt;P&gt;but got an error message during vtune compilation as below.&lt;/P&gt;&lt;P&gt;Does anyone know how to solve this?&lt;/P&gt;&lt;P&gt;I've manually installed 'linux-headers-6.6.114.1-microsoft-standard-WSL2' as below but still got the same error message.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Get:70 &lt;A href="https://apt.repos.intel.com/oneapi" target="_blank"&gt;https://apt.repos.intel.com/oneapi&lt;/A&gt; all/main amd64 intel-oneapi-vtune amd64 2026.1.0-13 [538 MB]&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Selecting previously unselected package intel-oneapi-vtune.&lt;BR /&gt;Preparing to unpack .../69-intel-oneapi-vtune_2026.1.0-13_amd64.deb ...&lt;BR /&gt;Unpacking intel-oneapi-vtune (2026.1.0-13) ...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Setting up intel-oneapi-vtune (2026.1.0-13) ...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;C compiler version: 13.3.0&lt;BR /&gt;Make version: 4.3&lt;BR /&gt;Kernel version: 6.6.114&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ERROR: The following required item(s) are not found:&lt;BR /&gt;version.h&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;If required item(s) are due to incorrectly installed or corrupted kernel headers,&lt;BR /&gt;Please use the following command to reinstall kernel header on Ubuntu:&lt;BR /&gt;apt install --reinstall linux-headers-6.6.114.1-microsoft-standard-WSL2&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Configuring sep5 boot script with the following options:&lt;BR /&gt;driver files = /opt/intel/oneapi/vtune/2026.1/sepdk/src/.&lt;BR /&gt;Creating boot script /etc/init.d/sep5 ... done.&lt;BR /&gt;Configuring autoload of sep5 driver for runlevels 2 through 5 ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults&lt;BR /&gt;done.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I am using WSL (ubuntu24.04) running on&amp;nbsp;Win 11 Pro, intel core ultra9 285K:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~$ more /etc/lsb-release&lt;BR /&gt;DISTRIB_ID=Ubuntu&lt;BR /&gt;DISTRIB_RELEASE=24.04&lt;BR /&gt;DISTRIB_CODENAME=noble&lt;BR /&gt;DISTRIB_DESCRIPTION="Ubuntu 24.04.4 LTS"&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~$ uname -r&lt;BR /&gt;6.6.114.1-microsoft-standard-WSL2&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads/WSL2-Linux-Kernel$ sudo apt install --reinstall linux-headers-6.6.114.1-microsoft-standard-WSL2&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;E: Unable to locate package linux-headers-6.6.114.1-microsoft-standard-WSL2&lt;BR /&gt;E: Couldn't find any package by glob 'linux-headers-6.6.114.1-microsoft-standard-WSL2'&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads$ git clone &lt;A href="https://github.com/microsoft/WSL2-Linux-Kernel.git" target="_blank"&gt;https://github.com/microsoft/WSL2-Linux-Kernel.git&lt;/A&gt;&lt;BR /&gt;Cloning into 'WSL2-Linux-Kernel'...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads/WSL2-Linux-Kernel$ git switch user/chessturo/6.6.114.1&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads/WSL2-Linux-Kernel$ git branch -a&lt;BR /&gt;linux-msft-wsl-6.18.y&lt;BR /&gt;* user/chessturo/6.6.114.1&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads/WSL2-Linux-Kernel$ make KCONFIG_CONFIG=Microsoft/config-wsl -j16&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads/WSL2-Linux-Kernel$ make headers_install&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;user@host:~/Downloads/WSL2-Linux-Kernel$ sudo ln -s /usr/include/linux /usr/src/linux-6.6.114.1-microsoft-standard-WSL2&lt;/P&gt;&lt;P&gt;The folder '/usr/include/linux' contains a 'version.h' file (attached).&lt;/P&gt;&lt;P&gt;Before installing the header above, I got another error message as below during "apt install intel-oneapi-toolkit":&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Setting up intel-oneapi-vtune (2026.1.0-13) ...&lt;BR /&gt;C compiler version: 13.3.0&lt;BR /&gt;Make version: 4.3&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ERROR: kernel source directory "/usr/src/linux-6.6.114.1-microsoft-standard-WSL2" either does not exist or not a valid kernel source directory.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Please use the following command to install kernel header on Ubuntu:&lt;BR /&gt;apt install linux-headers-6.6.114.1-microsoft-standard-WSL2&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Configuring sep5 boot script with the following options:&lt;BR /&gt;driver files = /opt/intel/oneapi/vtune/2026.1/sepdk/src/.&lt;BR /&gt;Creating systemd load script /usr/local/sbin/sep5-load.sh ...&lt;BR /&gt;done.&lt;BR /&gt;Creating systemd boot config file /usr/lib/systemd/system/sep5.service ...&lt;BR /&gt;done.&lt;BR /&gt;Configuring autoload of sep5.service service ...&lt;BR /&gt;Created symlink /etc/systemd/system/multi-user.target.wants/sep5.service → /usr/lib/systemd/system/sep5.service.&lt;BR /&gt;Job for sep5.service failed because the control process exited with error code.&lt;BR /&gt;See "systemctl status sep5.service" and "journalctl -xeu sep5.service" for details.&lt;BR /&gt;WARNING: systemctl start returned error 1 ...&lt;BR /&gt;./boot-script: 926: getenforce: not found&lt;BR /&gt;done.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2026 02:30:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/WSL-ubuntu-24-04-apt-install-intel-oneapi-toolkit-ERROR-version/m-p/1749060#M4758</guid>
      <dc:creator>macanori</dc:creator>
      <dc:date>2026-05-26T02:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: WSL ubuntu 24.04 apt install intel-oneapi-toolkit ERROR version.h not found while vtune compile</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/WSL-ubuntu-24-04-apt-install-intel-oneapi-toolkit-ERROR-version/m-p/1749069#M4759</link>
      <description>&lt;P&gt;I gave up 'apt' and tried&lt;A title="Get the Intel® oneAPI Toolkit" href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/oneapi-toolkit-download.html?packages=oneapi-toolkit&amp;amp;oneapi-toolkit-os=linux&amp;amp;oneapi-lin=offline" target="_blank" rel="noopener"&gt; 'offline installer' of '&lt;SPAN&gt;Intel® oneAPI Toolkit' for 'linux'&lt;/SPAN&gt;&lt;/A&gt;, which works fine without an ERROR on WSL (ubuntu24.04).&lt;/P&gt;&lt;P&gt;less /tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/*.log | grep ERROR&lt;/P&gt;&lt;P&gt;(nothing)&lt;/P&gt;&lt;P&gt;ls /tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/*vtune*.log&lt;BR /&gt;'/tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/pm.intel.oneapi.lin.vtune,v=2026.0.0+325.2026.05.26.12.02.27.422451.log'&lt;BR /&gt;'/tmp/user/intel_oneapi_installer/2026.05.26.12.02.24.309/pm.intel.oneapi.lin.vtune.eclipse-plugin,v=2026.0.0+325.2026.05.26.12.02.26.878056.log'&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2026 04:39:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/WSL-ubuntu-24-04-apt-install-intel-oneapi-toolkit-ERROR-version/m-p/1749069#M4759</guid>
      <dc:creator>macanori</dc:creator>
      <dc:date>2026-05-26T04:39:57Z</dc:date>
    </item>
  </channel>
</rss>

