editing the Env. Var. PATH
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. PATH=/home/mathay/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/sbin:/bi n:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin: ********************** whereis gcc gcc: /usr/lib/gcc My question is, how to modify the ENV entry and what modification to make? Thank you in advance for your help. |
Code:
export PATH=$PATH:/path/to/add gcc binary should be in /usr/bin/ - that's in your path :) |
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: libstdc++-3-libc6.1-2-2.10.0.so libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2 libstdc++-libc6.1-2.so.3 libstdc++-libc6.2-2.so.3 libstdc++.so.2.7.2 libstdc++.so.2.7.2.8 libstdc++.so.2.8 libstdc++.so.2.8.0 libstdc++.so.2.9 libstdc++.so.2.9.0 libstdc++.so.5 libstdc++.so.5.0.7 libstdc++.so.6 libstdc++.so.6.0.8 linux-lqc2:/usr/lib # This is a beta release...is there possibly a bug or omission in the dependencies listing? Matthew |
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.
|
All times are GMT -5. The time now is 10:58 PM. |