Viper_Maniac Posted January 12, 2005 Report Share Posted January 12, 2005 I'm trying to install my first program (tar.bz2 file) and ran into a problem. When I do the ./configure command I get this: checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for sed... /bin/sed checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. What do I need to do? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
bvc Posted January 12, 2005 Report Share Posted January 12, 2005 urpmi gcc and install the gcc pkgs listed Quote Link to comment Share on other sites More sharing options...
Viper_Maniac Posted January 13, 2005 Author Report Share Posted January 13, 2005 (edited) Just did that and now it says this: checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for sed... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. Edited January 13, 2005 by Viper_Maniac Quote Link to comment Share on other sites More sharing options...
bvc Posted January 13, 2005 Report Share Posted January 13, 2005 localhost:/# rpm -qa | grep c++gcc-c++-3.4.3-1mdk libsigc++2.0_0-2.0.6-1mdk libstdc++6-devel-3.4.3-1mdk libstdc++5-devel-3.3.4-4mdk libsigc++1.2_5-1.2.5-11mdk libstdc++6-3.4.3-1mdk libstdc++5-3.3.4-4mdk localhost:/# rpm -qa | grep gcc gcc-c++-3.4.3-1mdk libgcc1-3.4.3-1mdk gcc-3.4.3-1mdk gcc-cpp-3.4.3-1mdk localhost:/# urpmi gcc-c++ Quote Link to comment Share on other sites More sharing options...
Viper_Maniac Posted January 13, 2005 Author Report Share Posted January 13, 2005 checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for sed... /bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ranlib... (cached) ranlib checking for library containing strerror... none required checking for an ANSI C-conforming const... yes checking for signed... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for long long... yes checking for long double... yes checking for wchar_t... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking whether integer division by zero raises SIGFPE... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory done checking for ptrdiff_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for asprintf... yes checking for fwprintf... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for wcslen... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for __fsetlocking... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... no checking whether getc_unlocked is declared... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for locale.h... (cached) yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for strftime... yes checking for strdup... (cached) yes checking for strstr... yes checking for atexit... yes checking for getopt_long... yes checking for inet_aton... yes checking for gethostent in -lnsl... yes checking for socket... yes checking for getaddrinfo... yes checking for socklen_t... yes checking for pkg-config... /usr/bin/pkg-config checking for silc... Package silc was not found in the pkg-config search path. Perhaps you should add the directory containing `silc.pc' to the PKG_CONFIG_PATH environment variable No package 'silc' found checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for uname... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... no *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GLIB is incorrectly installed. configure: error: *** GLib 2.0 is required to build Gaim; please make sure you have the GLib *** development headers installed. The latest version of GLib is *** always available at http://www.gtk.org/. Do I do something like urpmi glib or do I have to go to that website? BTW I really appreciate your help here. Quote Link to comment Share on other sites More sharing options...
bvc Posted January 13, 2005 Report Share Posted January 13, 2005 localhost:/# rpm -qa | grep glib glibc-devel-2.3.3-23mdk libglib2.0_0-devel-2.6.0-2mdk localhost:/# Quote Link to comment Share on other sites More sharing options...
Viper_Maniac Posted January 13, 2005 Author Report Share Posted January 13, 2005 I'm confused on what I should do with that. I typed in the first part and got this: libglib1.2-1.2.10-14mdk glibc-2.3.3-23.1.101mdk libdbus-glib-1_0-0.22-3mdk glibc-devel-2.3.3-23.1.101mdk libglib2.0_0-2.4.6-1mdk libtaglib0-1.3-1mdk Quote Link to comment Share on other sites More sharing options...
bvc Posted January 13, 2005 Report Share Posted January 13, 2005 I'm confused on what I should do with that. I typed in the first part and got this: libglib1.2-1.2.10-14mdk glibc-2.3.3-23.1.101mdk libdbus-glib-1_0-0.22-3mdk glibc-devel-2.3.3-23.1.101mdk libglib2.0_0-2.4.6-1mdk libtaglib0-1.3-1mdk <{POST_SNAPBACK}> I'd guess you are missing libglib2.0_0-devel-2.4.6-1mdk Quote Link to comment Share on other sites More sharing options...
Viper_Maniac Posted January 13, 2005 Author Report Share Posted January 13, 2005 How do I get that? Quote Link to comment Share on other sites More sharing options...
bvc Posted January 13, 2005 Report Share Posted January 13, 2005 urpmi libglib2.0_0-devel Quote Link to comment Share on other sites More sharing options...
Viper_Maniac Posted January 13, 2005 Author Report Share Posted January 13, 2005 Looks like I'm gonna have to update my urpmi. It says no package named libglib2.0_0-devel. Quote Link to comment Share on other sites More sharing options...
Viper_Maniac Posted January 13, 2005 Author Report Share Posted January 13, 2005 On the easy urpmi page, what do I really need to check? Just main and updates? Quote Link to comment Share on other sites More sharing options...
bvc Posted January 13, 2005 Report Share Posted January 13, 2005 (edited) should be in main and you should have it already...weird http://rpm.pbone.net/...mdk.i586.rpm Edited January 13, 2005 by bvc Quote Link to comment Share on other sites More sharing options...
Qchem Posted January 13, 2005 Report Share Posted January 13, 2005 Before you keep trawling through this dependancy hell, have you checked to make sure the program isn't available as an rpm somewhere? Adding the sources from easyrupmi is probably the best way to check. Quote Link to comment Share on other sites More sharing options...
bvc Posted January 13, 2005 Report Share Posted January 13, 2005 that's what he's doing.... ...why isn't it already there is what I don't understand...everything else is, in terms of devel pkgs. He already has the pkg, but the devel pkg for this pkg is not available in his current sources.Weird. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.