From: Jim C. <gre...@yg...> - 2002-03-08 04:19:31
|
David Sinfield's bits of Thu, 7 Mar 2002 translated to: >Looks like it's there... > ># find / -name fstream* >/opt/sfw/include/g++-3/fstream >/opt/sfw/include/g++-3/fstream.h > ... > >I've set the LD_RUN_PATH to point here but no luck. Any suggestions? If I knew where the ./config was looking for includes I could softlink or even move the files there. It looks like you have multiple, possibly incomplete, copies GCC installed, and that this is confusing the configure script. In a previous message you stated that you found libstdc++ in /usr/lib, /usr/include, and /opt/sfw/lib. However it looks like your only copy of fstream is in /opt/sfw/include. My guess would be that you have copies gcc and g++ installed someplace like /usr/bin that occurs early in your path, but that this install is missing the corresponding include files, which would typically reside in /usr/include. Since the compiler itself specifies where the configure script should search for include files, /opt/sfw/include is never checked. Perhaps the /opt/sfw install is complete. Are there copies of gcc and g++ in /opt/sfw/bin (or somewhere under /opt/sfw?). If so, I would try setting the PATH environment variable so that binaries under /opt/sfw are seen first. Also, when setting LD_RUN_PATH, use /opt/sfw/lib instead of /usr/lib. Jim |