From: Jim <li...@yg...> - 2005-02-03 21:24:40
|
On Wed, 2 Feb 2005, Gregory Hicks wrote: > We have discussed the Win32 now, would you have any idea on where to > look for the HTdig to be installed on my Solaris box? I have the gcc > compiler from SunFreeware.com that installs to /usr/local installed, > but I also see the message "You might consider installing libstdc++..." > > gcc and libstdc++ are both reachable from $PATH and $LD_LIBRARY_PATH... > > Any thoughts? Have you verified that a C++ compiler and library is really installed and functional? Have you successfully compiled any other C++ code? If not, you might want to try compiling a small test program. If you are not familiar with C++, the following test might be helpful. Create a file named cpptest.cpp with the following code. #include <iostream> int main(int, char* []) { std::cout << "Success" << std::endl; return 0; } Save the file and then execute the following command. g++ -Wall cpptest.cpp -o cpptest If you make it that far, execute the following. ./cpptest You should see the word 'Success' output by the program. If you can't make it this far, then something is missing or fundamentally broken with respect to your environment or compiler install. Jim |