This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stubs-32.h missing.


Franklin Brown wrote:

I am attempting to install gcc compiler 4.2.4 onto our virtual private
server. I needed to install gmp-4.2.3 and mpfr-2.3.0 before doing this. After I began installation of gcc 4.2.4, towards the end, I received the
following error: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No
such file or directory.


Little information is provided as to where I can find or install this header
file.  Is there some other library that I must install first?  Is there a
specific command that I need to use?  I used the usual ./configure and make
to install gcc.

My platform is x86_64-unknown-linux-gnu
Current gcc compiler: version 4.1.1 20061011 (Red Hat 4.1.1-30)

Ok, you have a Fedora Core 6 distro or one of those RHEL distros, at least the FC6 has that gcc-4.1.1-30 RPMS... In that FC6 case something
like:


ftp://ftp.funet.fi/pub/Linux/mirrors/fedora/linux/core/6/x86_64/os/Fedora/RPMS

will keep the required RPM, this one had 'glibc-devel-2.5-3.i386.rpm'
for your possible FC6 needs related to 32-bit development...

I cannot guess on which level you are as a user, why you couldn't just
use something like "Applications / Add or remove programs / Development
packages / 32-bit development headers and libraries" from the provided
Gnome GUI... Or use the 'rpm' install program in a "shell", "command
prompt", "terminal" or something after all the advices got here from the
friendly people and then looking what could be needed and then
downloading that if using those "automatic install from the net" choices
in the GUI will go over your head... The previous route was taken from
my Fedora 8 but the FC6 GUI could have had everything somewhere else :)

You can seemingly download sources but seemingly not any pre-made
original distro RPMs and update RPMs for your distro - so updating parts
in your system (without rebuilding them from sources).  Maybe there is
no "automatic update" for FC6 or your RHEL any more so just using the
GUI choices doesn't work...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]