configure에서 에러
글쓴이: semjase / 작성시간: 월, 2016/02/15 - 6:22오후
현재 민트리눅스 17.4 rosa 사용중입니다.
게임을 하나 받아서 컴파일중인데 configure를 통과 못하고 있네요.
여러가지 에러가 나와서 하나씩 해결했는데 여기서 통과를 못하고 있습니다.
gtk버젼이 문제인거같긴한데 어떻게 해야할지..
$ apt-cache search gtk+-3으로 검색해봤는데 3.0 이상은 안나오는거 같은데요..근데 제가 검색한 방법이 맞긴한건지요?
$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether to enable debugging... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... yes checking whether make supports nested variables... (cached) yes checking whether C compiler accepts -Werror=unknown-warning-option... no checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wnested-externs... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -Wno-missing-field-initializers... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wold-style-definition... yes checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wformat-nonliteral... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Winline... yes checking whether C compiler accepts -Wpacked... yes checking whether C compiler accepts -Wmissing-format-attribute... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wredundant-decls... (cached) yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wunused-but-set-variable... yes checking whether C compiler accepts -Warray-bounds... yes checking whether C compiler accepts -Wimplicit-function-declaration... yes checking whether C compiler accepts -Wreturn-type... yes checking whether C compiler accepts -Wswitch-enum... yes checking whether C compiler accepts -Wswitch-default... yes checking whether C compiler accepts -Wno-error=unused-parameter... yes checking whether C compiler accepts -Wno-error=missing-field-initializers... yes checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no checking whether the linker accepts -Wl,--no-as-needed... yes checking whether to build with code coverage support... no checking for glib-compile-resources... /usr/bin/glib-compile-resources checking whether NLS is requested... yes checking for intltool >= 0.50.2... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.18.2 checking for XML::Parser... ok checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for itstool... itstool checking for xmllint... xmllint checking for appstream-util... no checking for atexit... yes checking for GENERAL... no configure: error: Package requirements (glib-2.0 gio-2.0 >= 2.32 gtk+-3.0 >= 3.15.0 gmodule-2.0 cairo >= 1.4) were not met: Requested 'gtk+-3.0 >= 3.15.0' but version of GTK+ is 3.10.8 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GENERAL_CFLAGS and GENERAL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
Forums:
패키지 업데이트가 필요하신 것 같은데 아래 링크가
패키지 업데이트가 필요하신 것 같은데 아래 링크가 도움이 되겠네요.
http://www.gtk.org/download/linux.php
소곤소곤
왜 저 에러가 계속 나죠?
알려주신 사이트에서 6개의 패키지 다 받아서 컴파일 중인데요.
gdk-pixbuf 2.32.3
atk-2.18.0
pang-1.38.1
glib-2.46.2
이 네개는 컴파일 완료하였습니다.
이렇게 했구요.
현재 말썽인게 gtk+-3.18.7 과 gobject-introspection-1.46.0 이 두가지가 말썽입니다.
아래는 gtk 3.18.7 에러구요..
아래는 gobject-introspection-1.46.0 에러입니다.
.
Hey, RTF error message! At
Hey, RTF error message!
At least, try to read it!
결국 재설치 ㅠ.ㅠ
hitori라는 간단한 퍼즐게임 해볼려다가 민트 리눅스 재설치했네요.
문제는 뭔지 알겠는데 도무지 해결이 안되네요.
새로 컴파일한 glib가 아무리해도 인식이 안돼서 기존의 glib를 지우면 될까해서 지우고 또 뭔 짓을 더 했는데 기억이.. 잘..
갑자기 데스크릿이 하나도 실행이 안돼더군요.. 뭐지? 하면서 재부팅하니까
메뉴가 다 사라지고... 창을 띄우면 최대,최소화하는 버튼도 다 사라져서 창을 종료하는것도 불가능
터미널은 간신히 뜨는데 다른 프로그램을 띄우면 터미널에 입력조차 안돼더군요. 포커스가 터미널로 안가요..
실행할수있는게 겨우 터미널과 nemo정도..
이것저것 해보다 결국 포맷하고 재설치했네요.
아.. 어렵네요... 리눅스
.
systemback이란거 죽이네요
이런거 진작 알았으면 삽질 안해도 됐을텐데...
프로그램도 삭제하고 이것저것 막 하다가 Restore해주니까 순식간에 처음 상태로 복구해주네요.
참고로 모르는분을 위해 설명하자면 윈도우즈의 시스템 복원과 비슷한 프로그램입니다. 특정날짜로 복구..
http://sergeswin.com/1118
.
댓글 달기