Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Do you mean recompile the rpm utility?? Why would you need to do this?
What problem are you trying to solve?
What distribution?
I'm trying to install an Intuos serial wacom tablet on i386-redhat-linux. I attached my tablet and downloaded linuxwacom-0.7.6-4 from the linuxwacom.com site.
I unpacked the contents into /usr/X11R6/lib/modules and tried to run the ./configure script. I got error messages:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Then I did a search for my gcc and found it in:
/usr/libexec/gcc
Is there a problem with the path of gcc when it's trying to install the program into /usr/bin ?
What can I do to install this correctly?
I'm running KDE and am wondering if I need to recompile?
The root cause appears to be that it cannot find the compiler. Have you successfully compiled SW on this machine?---ie do you know that gcc is installed and working? Is /usr/libexec/gcc in PATH?
To fix this, you will wind up installing gcc---or possibly just changing the PATH variable. You will not need to recompile anything (and certainly not rpm)
What version of RedHat?---eg RedHat 9, Fedora XX, RedHat enterprise 3 or 4
You might need the compatibility (or whatever) files for an older compiler.Like compat-libstdc++-33 for "The compat-libstdc++ package contains compatibility standard C++ library
from GCC 3.3.4." They are available via yum.
The root cause appears to be that it cannot find the compiler. Have you successfully compiled SW on this machine?---ie do you know that gcc is installed and working? Is /usr/libexec/gcc in PATH?
This is the exact path to the gcc: /usr/libexec/gcc/i386-redhat-linux/4.0.0
I'm not sure if it's working, I think it's working ok. I was able to install other programs like Shake and Wine, Photoshop.
To fix this, you will wind up installing gcc---or possibly just changing the PATH variable. You will not need to recompile anything (and certainly not rpm)
I don't know how to change the PATH variable or where to change it. Do I need to specify the PATH when I'm running the ./configure && make command from /usr/X11R6/lib/modules where my Wacom driver files are? What would be the command for that?
What version of RedHat?---eg RedHat 9, Fedora XX, RedHat enterprise 3 or 4
I think I'm running FC4. How can I check the version? I have a KDE environment.
The root cause appears to be that it cannot find the compiler. Have you successfully compiled SW on this machine?---ie do you know that gcc is installed and working? Is /usr/libexec/gcc in PATH?
To fix this, you will wind up installing gcc---or possibly just changing the PATH variable. You will not need to recompile anything (and certainly not rpm)
What version of RedHat?---eg RedHat 9, Fedora XX, RedHat enterprise 3 or 4
Thanks!
This is the exact path to the gcc: /usr/libexec/gcc/i386-redhat-linux/4.0.0
I'm not sure if it's working, I think it's working ok. I was able to install other programs like Shake and Wine, Photoshop.
I don't know how to change the PATH variable or where to change it. Do I need to specify the PATH when I'm running the ./configure && make command from /usr/X11R6/lib/modules where my Wacom driver files are? What would be the command for that?
I think I'm running FC4. How can I check the version? I have a KDE environment.
You might need the compatibility (or whatever) files for an older compiler.Like compat-libstdc++-33 for "The compat-libstdc++ package contains compatibility standard C++ library
from GCC 3.3.4." They are available via yum.
Lazlow
This is probably a dumb question, but is there anything I need to uninstall before installing the compat-libstdc++-33-3.2.3-47.3.i386.rpm package?
Will it overwrite any of the programs I now have installed like Shake, Wine, Photoshop?
How can I specify where to istall it, or does it use a default path i.e. /usr/bin ?
Just 'yum install compat-libstdc++-33' it will take care of all the rest. It will add stuff, not replace stuff. It just adds the ability to run stuff that was made to use on the older compliers.
As a general rule one does not need to worry about where to install stuff, if one uses yum or rpms. The system puts stuff where it needs it to go. This is so if other stuff needs to use it too, it will know where to find it. I know it is quite a change from windows, but it is really nice once you get used to it.
Just 'yum install compat-libstdc++-33' it will take care of all the rest. It will add stuff, not replace stuff. It just adds the ability to run stuff that was made to use on the older compliers.
As a general rule one does not need to worry about where to install stuff, if one uses yum or rpms. The system puts stuff where it needs it to go. This is so if other stuff needs to use it too, it will know where to find it. I know it is quite a change from windows, but it is really nice once you get used to it.
I just tried to install the compat-libstdc++-33 and it looks like it's already installed:
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Examining compat-libstdc++-33-3.2.3-47.3.i386.rpm: compat-libstdc++-33 - 3.2.3-47.3.i386
compat-libstdc++-33-3.2.3-47.3.i386.rpm: does not update installed package.
Nothing to do
It doesn't seem to be helping my problem with gcc PATH not being found.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.