Jump to content

GLIB >= 2.0.6 not installed!


Guest AL MOSLEM
 Share

Recommended Posts

Guest AL MOSLEM

hi

 

i download (( Web Downloader for X )) but when i write ./configure i have this problem

 

------------------------------------------------------------------------------

 

D4X -- Web Downloader for X (2.5.0rc1)

 

------------------------------------------------------------------------------

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 whether to enable maintainer-specific portions of Makefiles... no

checking for style of include used by make... GNU

checking for gcc... gcc

checking for C compiler default output... 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 dependency style of gcc... gcc3

checking whether struct tm is in sys/time.h or time.h... time.h

checking for struct tm.tm_zone... 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 for gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ANSI C... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking for a BSD-compatible install... /usr/bin/install -c

checking for gawk... (cached) gawk

checking for ranlib... ranlib

checking for msgfmt... /usr/bin/msgfmt

checking for gmsgfmt... /usr/bin/msgfmt

checking for xgettext... /usr/bin/xgettext

checking for msgmerge... /usr/bin/msgmerge

checking for strerror in -lcposix... no

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

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 for off_t... yes

checking for size_t... 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 inttypes.h... yes

checking for stdint.h... yes

checking for unsigned long long... yes

checking for inttypes.h... yes

checking whether the inttypes.h PRIxNN macros are broken... no

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... done

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 feof_unlocked... yes

checking for fgets_unlocked... yes

checking for getc_unlocked... 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 stpcpy... yes

checking for strcasecmp... yes

checking for strdup... yes

checking for strtoul... yes

checking for tsearch... yes

checking for __argz_count... yes

checking for __argz_stringify... yes

checking for __argz_next... 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 for autogen... ${SHELL} /home/abu_bakr/d4x-2.5.0rc1/admin/missing --run autogen

checking for doxygen... ${SHELL} /home/abu_bakr/d4x-2.5.0rc1/admin/missing --run doxygen

checking for rpm... /bin/rpm

checking for dot... no

checking whether ln -s works... yes

checking for esd-config... no

checking for ESD - version >= 0.2.7... no

*** The esd-config script installed by ESD could not be found

*** If ESD was installed in PREFIX, make sure PREFIX/bin is in

*** your path, or set the ESD_CONFIG environment variable to the

*** full path to esd-config.

checking for pkg-config... /usr/bin/pkg-config

checking for GLIB - version >= 2.0.6... 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.6 not installed! ***

 

i installed glib-2.6.1.tar.bz2 but when i try to install ( Web Downloader for X ) again i have the same problem

what can i do, please?

---------------------------------

I have mandrake 10.1 official ( 3 CD's )

 

and this problem in other programmes

ex: mozilla firefox

 

[moved from Software by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

have you set up some update-mirrors already? if not, use the easyurpmi-link on top of this page. after that, go to the mandrake control center and install the newest glib packages on your system.

Link to comment
Share on other sites

When compiling software, you need to specify the installation path, or a default will be used. You do this with the command ./configure --prefix=/usr. If you don't give the prefix, your files will install to /usr/local. Having said that, you shouldn't install a new version of glib from source unless you really know what you're doing. Otherwise, you can break your system. The most common cause of the error you're getting is from not having the libglib2.0_0-devel package installed.

Link to comment
Share on other sites

Guest AL MOSLEM

Thank you

 

i installed glib-2.6.1 by ./configure --prefix=/usr

 

but when i try to install D4x i have

configure: error: *** GTK >= 2.0.6 not installed! ***

 

i try to install gtk+-2.6.1.tar.bz2 by ./configure --prefix=/usr

but i have

[root@shrook2005 abu_bakr]# cd gtk+-2.6.1

[root@shrook2005 gtk+-2.6.1]# ./configure

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 build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for native Win32... no

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 special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... 64

checking for _LARGE_FILES value needed for large files... no

checking whether to enable maintainer-specific portions of Makefiles... no

checking for some Win32 platform... no

checking whether build environment is sane... yes

checking for strerror in -lcposix... no

checking for gcc option to accept ANSI C... none needed

checking for a BSD-compatible install... /usr/bin/install -c

checking whether make sets $(MAKE)... (cached) yes

checking for pkg-config... /usr/bin/pkg-config

checking for glib-2.0 >= 2.6.0    atk >= 1.0.1    pango >= 1.7.0... Package pango was not found in the pkg-config search path.

Perhaps you should add the directory containing `pango.pc'

to the PKG_CONFIG_PATH environment variable

No package 'pango' found

 

configure: error: Library requirements (glib-2.0 >= 2.6.0    atk >= 1.0.1    pango >= 1.7.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

[root@shrook2005 gtk+-2.6.1]# ./configure --prefix=/usr

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 build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for native Win32... no

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 special C compiler options needed for large files... no

checking for _FILE_OFFSET_BITS value needed for large files... 64

checking for _LARGE_FILES value needed for large files... no

checking whether to enable maintainer-specific portions of Makefiles... no

checking for some Win32 platform... no

checking whether build environment is sane... yes

checking for strerror in -lcposix... no

checking for gcc option to accept ANSI C... none needed

checking for a BSD-compatible install... /usr/bin/install -c

checking whether make sets $(MAKE)... (cached) yes

checking for pkg-config... /usr/bin/pkg-config

checking for glib-2.0 >= 2.6.0    atk >= 1.0.1    pango >= 1.7.0... Package pango was not found in the pkg-config search path.

Perhaps you should add the directory containing `pango.pc'

to the PKG_CONFIG_PATH environment variable

No package 'pango' found

 

configure: error: Library requirements (glib-2.0 >= 2.6.0    atk >= 1.0.1    pango >= 1.7.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

 

i try to install pango-1.0.5 but i have

[root@shrook2005 pango-1.0.5]# ./configure --prefix=/usr

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... yes

checking for working aclocal-1.4... missing

checking for working autoconf... missing

checking for working automake-1.4... missing

checking for working autoheader... missing

checking for working makeinfo... found

checking for gcc... gcc

checking for C compiler default output... 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 c++... c++

checking whether we are using the GNU C++ compiler... yes

checking whether c++ accepts -g... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

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 dependant libraries... pass_all

checking command to parse /usr/bin/nm -B output... ok

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 ranlib... ranlib

checking for strip... strip

checking for objdir... .libs

checking for gcc option to produce PIC... -fPIC

checking if gcc PIC flag -fPIC works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.lo... yes

checking if gcc supports -fno-rtti -fno-exceptions... yes

checking whether the linker (/usr/bin/ld) supports shared libraries... yes

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking dynamic linker characteristics... GNU/Linux ld.so

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking whether -lc should be explicitly linked in... no

creating libtool

checking for flex... no

checking for lex... no

./configure: line 7601: flex: command not found

checking for flex... no

checking for lex... no

checking for yywrap in -lfl... no

checking for yywrap in -ll... no

checking for bison... no

checking for byacc... no

checking for some Win32 platform... no

checking for native Win32... no

checking for perl5... perl5

checking for X... no

configure: WARNING: X development libraries not found

checking for freetype-config... no

checking freetype/internal/tterrors.h usability... no

checking freetype/internal/tterrors.h presence... no

checking for freetype/internal/tterrors.h... no

checking for FT_Get_First_Char... no

configure: error: *** Didn't find any of FreeType, X11, or Win32.

*** Must have at least one backend to build Pango.

 

what can i do please?

Edited by AL MOSLEM
Link to comment
Share on other sites

In each of these cases, you appear to be missing dependencies that can be solved by installing the appropriate devel packages. If you don't want to use RPMs, you can compile each dependency as it's reported missing. In this case, atk is the next one to try. You'll also need headers for Freetype and Xorg.

Edited by Dyslexic
Link to comment
Share on other sites

Listen to Iphitus, he's a wise antipodean....

 

Seriously, think long and hard before installing from source unless you already have the deps.

When it starts off missing X<Y<Z but its as fundamental as glibc then the chance is its going to effect everything.

 

If you are doing this becase you haven't tried URPMI then you should probably look into URPMI ... if your doing it for fun then ... erm this one looks like a long painful road.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...