How do I know what libraries to install?
I got a bit further with some good advice about WHAT to install to get the compiler working BUT... It complains now about some libraries missing. It looks like I have some pertinent (or possibly pertinent, what do I know) libraries installed already like Common C++, Common C++-devel, glibc-devel, but I don't know exactly what I need. It reports that it cannot find the required X11 libraries, but checking the YaST library sets, the only C++ library listed in Development/Libraries/X11 (fltk) is installed already. Any help with this next wrinkle? TIA JeepNut In case it's helpful, here's what I get now... ./configure loading cache ./config.cache checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for nroff... /usr/bin/nroff checking for htmldoc... no checking whether byte ordering is bigendian... no checking size of short... 2 checking size of int... 4 checking size of long... 4 checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... gcc -E checking for sys/select.h... yes checking for sys/stdtypes.h... no checking for scandir... yes checking for vsnprintf... yes checking for snprintf... yes checking for vsprintf... yes checking for strings.h... yes checking for strcasecmp... yes checking for X... no configure: error: Configure could not find required X11 libraries __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
JeepNut wrote: It reports that it
cannot find the required X11 libraries, but checking the YaST library sets, the only C++ library listed in Development/Libraries/X11 (fltk) is installed already. Any help with this next wrinkle? Try xdevel or if you have enough space, install lots of libraries.
It doesn't have to be specifically a C++ library. C++ can use C libraries too and often does. Try the README or INSTALL file or read the configure file if you really can't work out what's needed. configure can be a bit crypic but should tell you what it's looking for. JDL
JeepNut wrote: It reports that it
cannot find the required X11 libraries, but checking the YaST library sets, the only C++ library listed in Development/Libraries/X11 (fltk) is installed already. Any help with this next wrinkle? Try xdevel or if you have enough space, install lots of libraries.
It doesn't have to be specifically a C++ library. C++ can use C libraries too and often does.
Try the README or INSTALL file or read the configure file if you really can't work out what's needed. configure can be a bit crypic but should tell you what it's looking for.
There should also be a config.log file created that tells you what it tried to compile to test for the existance of certain libraries. Josh
participants (3)
-
JeepNut
-
John Lamb
-
Josh Trutwin