1) скачал gtk+-2.14.7.tar.bz2 с оф.сайта2) распаковываю вручную в /home/3) в командной строке:petr@petr-laptop:~036; cd /home/petr/gtk+-2.14.7/petr@petr-laptop:~/gtk+-2.14.7036; ./configure --prefix=/opt/gtkchecking for a BSD-compatible install . /usr/bin/install -c checking whether build environment is sane . yes checking for gawk . no checking for mawk . mawk checking whether make sets 036;(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 ISO C89 . none needed checking for style of include used by make . GNU checking dependency style of gcc . gcc3 checking for c++ . c++ checking whether we are using the GNU C++ compiler . yes checking whether c++ accepts -g . yes checking dependency style of c++ . gcc3 checking for a sed that does not truncate output . /bin/sed checking for grep that handles long lines and -e . /bin/grepchecking for egrep . /bin/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 recognize 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 how to run the C++ preprocessor . c++ -E checking for g77 . no checking for xlf . no checking for f77 . no checking for frt . no checking for pgf77 . no checking for cf77 . no checking for fort77 . no checking for fl32 . no checking for af77 . no checking for xlf90 . no checking for f90 . no checking for pgf90 . no checking for
продолжение:checking for epcf90 . no checking for gfortran . no checking for g95 . no checking for xlf95 . no checking for f95 . no checking for fort . no checking for ifort . no checking for ifc . no checking for efc . no checking for pgf95 . no checking for lf95 . no checking for ftn . no checking whether we are using the GNU Fortran 77 compiler . nochecking whether accepts -g . no checking the maximum length of command line arguments . 1572864checking command to parse /usr/bin/nm -B output from gcc object . okchecking for objdir . .libs checking for ar . ar checking for ranlib . ranlib checking for strip . strip 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 static flag -static works . yes checking if gcc supports -c -o file.o . yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries . yeschecking 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 libtoolchecking for ld used by c++ . /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld . yeschecking whether the c++ linker (/usr/bin/ld) supports shared libraries . yeschecking for c++ option to produce PIC . -fPICchecking if c++ PIC flag -fPIC works . yeschecking if c++ static flag -static works . yeschecking if c++ supports -c -o file.o . yeschecking whether the c++ linker (/usr/bin/ld) supports shared libraries . yeschecking dynamic linker characteristics . GNU/Linux ld.so(cached) (cached) checking how to hardcode library paths into programs . immediateappending configuration tag F77 to libtoolchecking for special C compiler options needed for large files . nochecking for _FILE_OFFSET_BITS value needed for large files . 64checking for nm . /usr/bin/nm -Bchecking whether to enable maintainer-specific portions of Makefiles . nochecking for some Win32 platform . nochecking whether build environment is sane . yeschecking for library containing strerror . none requiredchecking for gcc option to accept ANSI C . none neededchecking for a BSD-compatible install . /usr/bin/install -cchecking whether make sets 036;(MAKE) . (cached) yeschecking for pkg-config . nochecking for BASE_DEPENDENCIES . configure: error: in `/home/petr/gtk+-2.14.739;:configure: error: The pkg-config script could not be found or is too old. Make sure itis in your PATH or set the PKG_CONFIG environment variable to the full
продолжение:path to pkg-config.Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGSand BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.To get pkg-config, see lt;http://pkg-config.freedesktop.org/gt;.See `config.log39; for more details.конец работы в консоле.Что-то видимо не так пошло. Что и как это исправить?
checking for pkg-config . no помойму ясно написанно ) не видит он pkg-config , либо в ./config его местоположения передавать , либо установить ) а вобще проверь если в env PKG_CONFIG есть
/usr/bin/install: cannot create regular file `/usr/bin/pkg-config39;: Permission denied sudo / sudo -s тебе в помощьа вобще на твои вопросы все ответы на форуме убунты либо на офф сайте проектов