Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Intel C++ Compiler 11.*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Thu Jan 29, 2009 11:47 pm    Post subject: [SOLVED] Intel C++ Compiler 11.* Reply with quote

I don't know if exists any overlay to that, so I'm trying to install it directly from intel source.
The problem is that I'm having issues with dependencies:

Code:
The following required for installation commands are missing:
libstdc++.so.5 (library)

and
Code:
32-bit libraries not found on this system.
This product release requires the presence of 32-bit compatibility libraries
when running on Intel(R) 64 architecture systems. One or more of these libraries
could not be found:
    libstdc++
    libstdc++5
    glibc
    libgcc
Without these libraries, the compiler will not function properly. These
libraries,
if not installed, can be installed from the OS discs after finishing the
compiler
installation.


The funny thing is that I do have all these libraries installed in the default path: /usr/lib/libstdc++-v3/libstdc++.so.5, both in lib32 and lib64 directories (I tried also to link the libstdc++ to /usr/lib dir, without success). All other libs are propertly installed and app-emulation/emul-linux-x86-compat is also installed. All that I know is that it used to be the dependencies in previous releases, but I couldn't find anything else about the current release (not event he documentation that comes with the .tgz file talks too much about dependencies... ).

Well, if you could install it, can you please give me a clue?

Thanks!
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)


Last edited by Holysword on Mon Feb 02, 2009 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Fri Jan 30, 2009 10:20 am    Post subject: Reply with quote

checkout;

https://bugs.gentoo.org/246516
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Fri Jan 30, 2009 4:44 pm    Post subject: Reply with quote

Thanks man. I'm using the ebuild right now.

I have to install Intel Fortran Compiler 11.* too, there is such ebuild for ifc too? I didn't found it in bug.gentoo.org, and it has the very same problem that icc has...
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Sat Jan 31, 2009 3:34 pm    Post subject: Reply with quote

Man, there's got to be something wrong with this ebuild, its compiling for more than 30 hours...
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Sun Feb 01, 2009 8:10 am    Post subject: Reply with quote

Holysword wrote:
Man, there's got to be something wrong with this ebuild, its compiling for more than 30 hours...


ebuild works here for me. took me more than 30 hrs to install.
there are some errors to correct after install in the /etc/env.d/05icc file.
path is ia32 not intel32. then env-update && source /etc/profile otherwise you'll have complaints about libimf.so not found.

/etc/env.d/05icc should be edited like this;

PATH=/opt/intel/Compiler/11.0/074/bin/ia32
ROOTPATH=/opt/intel/Compiler/11.0/074/bin/ia32
LDPATH=/opt/intel/Compiler/11.0/074/lib/ia32
MANPATH=/opt/intel/Compiler/11.0/074/man
_________________
this is a strange strange world.


Last edited by tranquilcool on Sun Feb 01, 2009 4:54 pm; edited 2 times in total
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Sun Feb 01, 2009 1:30 pm    Post subject: Reply with quote

Yeah, it compiled during the night - finally.

And what about ifc-11*? Any similar ebuild? This icc version came with mkl-11* too or will I have to compile it too?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Sun Feb 01, 2009 4:55 pm    Post subject: Reply with quote

no other ebuilds that i know.
you can try to make one.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 946
Location: Greece

PostPosted: Mon Feb 02, 2009 1:53 am    Post subject: Reply with quote

FINALLY solved. You must basic follow this guide, and when you gonna run ./install_fc.sh --run --silent FILENAME, you must add the "-n" option to avoid rpm installation. Anyway, I was forced to install rpm here, so its kinda dependence. I discovered that while asking in this thread in intel forums, when I suddenly found this thread.

I have done the job again for icc, and its much more faster, less than one minute.

tranquilcool wrote:
no other ebuilds that i know.
you can try to make one.


Well, I have never tried that before, but I heard that its not hard. Maybe I will try, but first, I'm curious... why such huge difference between instalation times?There is any kind of improvement in this ebuild that its not achieved with the installation method that I just said above?
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Mon Feb 02, 2009 1:17 pm    Post subject: Reply with quote

Holysword wrote:
FINALLY solved. You must basic follow this guide, and when you gonna run ./install_fc.sh --run --silent FILENAME, you must add the "-n" option to avoid rpm installation. Anyway, I was forced to install rpm here, so its kinda dependence. I discovered that while asking in this thread in intel forums, when I suddenly found this thread.

I have done the job again for icc, and its much more faster, less than one minute.

tranquilcool wrote:
no other ebuilds that i know.
you can try to make one.


Well, I have never tried that before, but I heard that its not hard. Maybe I will try, but first, I'm curious... why such huge difference between instalation times?There is any kind of improvement in this ebuild that its not achieved with the installation method that I just said above?


to bad i didn't see that thread. could have saved myself a lot of time.
well i don't know why the ebuild takes so long and what could be the difference is besides me.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
wazoo42
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 165

PostPosted: Tue Aug 25, 2009 10:30 pm    Post subject: Reply with quote

Looks like thread 63038 doesn't exist any more on the intel forums. Does anybody have a copy of the instructions by chance?
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Tue Aug 25, 2009 11:51 pm    Post subject: Reply with quote

wazoo42 wrote:
Looks like thread 63038 doesn't exist any more on the intel forums. Does anybody have a copy of the instructions by chance?



you don't need those instructions.
unpack go into the directory and run sh install.sh as root. that's it.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
wazoo42
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 165

PostPosted: Wed Aug 26, 2009 12:01 am    Post subject: Reply with quote

I get the same error they were getting before where libstdc++ isn't found. I thought this meant I had to use the same procedure Holysword did, no?

Code:

The following required for installation commands are missing:
libstdc++.so.5 (library)
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7189
Location: almost Mile High in the USA

PostPosted: Wed Aug 26, 2009 12:04 am    Post subject: Reply with quote

So, for those who installed it, anyone care to mention what's in the 1+ GB download for icc-11?
*shiver*

BTW, my libstdc++.so.5.0.6 was installed by emerging sys-libs/libstdc++-v3-3.3.4 ... it was a dependency for something that I don't remember anymore...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Aug 26, 2009 12:31 am    Post subject: Reply with quote

eccerr0r wrote:
it was a dependency for something that I don't remember anymore...


Shouldn't equery show you this?

For example:

Code:

gentoob0x ~ # equery depends glib
[ Searching for packages depending on glib... ]
app-admin/syslog-ng-2.1.3 (>=dev-libs/glib-2.4)
dev-libs/liboil-0.3.15 (=dev-libs/glib-2*)
dev-util/subversion-1.6.3 (gnome-keyring? dev-libs/glib:2)
media-libs/gst-plugins-base-0.10.22 (>=dev-libs/glib-2.8)
media-libs/gstreamer-0.10.22 (>=dev-libs/glib-2.12:2)
media-sound/mpd-0.15 (>=dev-libs/glib-2.4:2)
net-im/pidgin-2.5.8 (>=dev-libs/glib-2.0)
net-irc/irssi-0.8.13-r1 (>=dev-libs/glib-2.2.1)

_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
wazoo42
Apprentice
Apprentice


Joined: 13 Apr 2004
Posts: 165

PostPosted: Wed Aug 26, 2009 2:59 am    Post subject: Reply with quote

This was posted on the original intel forum thread (62836) by one of their staff. I emerged rpm and went through the install as detailed on this page and everything appears ok thus far (for ifort and icc).

http://software.intel.com/en-us/articles/intel-compilers-for-linux-version-111-silent-installation-guide/
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1160

PostPosted: Wed Aug 26, 2009 5:59 am    Post subject: Reply with quote

eccerr0r wrote:
So, for those who installed it, anyone care to mention what's in the 1+ GB download for icc-11?
*shiver*

BTW, my libstdc++.so.5.0.6 was installed by emerging sys-libs/libstdc++-v3-3.3.4 ... it was a dependency for something that I don't remember anymore...


x32 and x64
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7189
Location: almost Mile High in the USA

PostPosted: Wed Aug 26, 2009 3:01 pm    Post subject: Reply with quote

cach0rr0 wrote:

Shouldn't equery show you this?


Yes, but, whatever it is, it's gone now. Other than for icc I should just uninstall it.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
daniel.santos
n00b
n00b


Joined: 05 Jun 2007
Posts: 48

PostPosted: Fri Oct 07, 2011 3:51 am    Post subject: Sad Reply with quote

Well, well. It would appear that Intel didn't count on people having more than one version of gcc installed at once (Gentoo's USE=multilib). So what happens is that it doesn't find them. The saddest part is that if they called find correctly, it might have found it. So if you edit pset/32e/install.32e in your favorite hex editor and look for the definition of a bash function named PR_COMPILER_CHECK, you can edit it and just comment out the offending functions (good to make sure you really have everything installed 1st though). It's at 0xcc89f in the binary I have:
Code:
PR_COMPILER_CHECK()
{
   #PR_REQ_COMMANDS
   #PR_JRE_15_DBG
   
   #PR_UBU_32_ON_64_TRIAL

   #PR_32_BIT_LIBRARIES
    PR_CPU_CHECK
    PR_INSTANCE_STARTED
}
I've probably commented out more than what's necessary here. And, obviously, modify an existing space, don't insert or delete any characters (do I really need to say that?)

However, if anybody from Intel is interested, this problem might be solved by assuring you are feeding find a directory and not a symlink:
Code:
sed 's:find /usr/lib :find /usr/lib/ :g'
Although I'm not sure if they are intending to search for a 32-bit or 64-bit library here. I see some places where they explicitly say "/usr/lib64", so I hope they aren't thinking /usr/lib will be 32-bit.

UPDATE: OK, so just commenting out the PR_32_BIT_LIBRARIES bash function call and then doing one of the following appears to solve the installer problem. 1.) fixing the find statement as above (find the text 'local RESULT=$(find /usr/lib ', un-indent it by one space and then add the trailing slash) or 2.) set the LD_LIBRARY_PATH
Code:
LD_LIBRARY_PATH=$(g++ -m32 -print-search-dirs|grep '^libraries'|sed 's/^libraries: =//g') ./install.sh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum