Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I am trying to compile and install an updated kde3 program.
It exits and balks that it can't find a 'c' compiler in the PATH.
This is the Err. Msg. from the shell:
checking where to install... /opt/kde3 (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
*****************
Following is my PATH Env. entry.
Thanks, JinJ
Unix has a humbling effect on me. I am constantly reminded of how silly I can make myself look.
However, I installed gcc and resolved a few more dependencies but still have a problem.
*********
these are a few lines from the config.log
contrary to the last line, I did locate and install the package mentioned.
********
configure:3717: checking whether we are using the GNU C compiler
configure:3746: gcc -c conftest.c >&5
configure:3752: $? = 0
configure:3769: result: yes
configure:3774: checking whether gcc accepts -g
configure:3804: gcc -c -g conftest.c >&5
configure:3810: $? = 0
configure:3909: result: yes
configure:3926: checking for gcc option to accept ISO C89
configure:4000: gcc -c conftest.c >&5
configure:4006: $? = 0
configure:4029: result: none needed
configure:4049: checking dependency style of gcc
configure:4139: result: gcc3
configure:4162: checking how to run the C preprocessor
configure:4202: gcc -E conftest.c
configure:4208: $? = 0
configure:4239: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4245: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "digikam-0.9.3-beta1"
| #define VERSION "3.5.8"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
*******************************
configure:22953: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev.
*********
Any ideas?
The err msg : " if you're using a Linux distribution you might miss
a package named similar to libstdc++-dev." persists, even after I did the following:
linux-lqc2:/usr/lib # export PATH=$PATH:/usr/lib/libstdc++
followed by a search:
********************
linux-lqc2:/usr/lib # ls | less | grep c++
***************
yielding:
After visiting the home site of "digikam-0.9.3-beta1" and reading Forum notes, comments etc.. I found nothing helpful. However, I did read that another major upgrade is underway to accommodate Kde_4 which is shortly due for release. I've decided therefore that my time can be more profitably spent elsewhere and I will wait until the release of Kde_4.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.