{"action":"created","issue":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/2533","labels_url":"https://api.github.com/repos/fontforge/fontforge/issues/2533/labels{/name}","comments_url":"https://api.github.com/repos/fontforge/fontforge/issues/2533/comments","events_url":"https://api.github.com/repos/fontforge/fontforge/issues/2533/events","html_url":"https://github.com/fontforge/fontforge/issues/2533","id":111798565,"number":2533,"title":"FontForge Python interpreter error on centos 6.6","user":{"login":"sathishks","id":6150047,"avatar_url":"https://avatars.githubusercontent.com/u/6150047?v=3","gravatar_id":"","url":"https://api.github.com/users/sathishks","html_url":"https://github.com/sathishks","followers_url":"https://api.github.com/users/sathishks/followers","following_url":"https://api.github.com/users/sathishks/following{/other_user}","gists_url":"https://api.github.com/users/sathishks/gists{/gist_id}","starred_url":"https://api.github.com/users/sathishks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathishks/subscriptions","organizations_url":"https://api.github.com/users/sathishks/orgs","repos_url":"https://api.github.com/users/sathishks/repos","events_url":"https://api.github.com/users/sathishks/events{/privacy}","received_events_url":"https://api.github.com/users/sathishks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fontforge/fontforge/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-10-16T09:50:53Z","updated_at":"2015-10-28T05:02:36Z","closed_at":null,"body":"Hi,\r\n\r\nWhen I try to install  Fontgorge latest version, we got below error.\r\n\r\n\r\nchecking build system type... x86_64-pc-linux-gnu\r\nchecking host system type... x86_64-pc-linux-gnu\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking how to create a pax tar archive... gnutar\r\nchecking whether to enable maintainer-specific portions of Makefiles... yes\r\nchecking for style of include used by make... GNU\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether gcc understands -c and -o together... yes\r\nchecking dependency style of gcc... gcc3\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking minix/config.h usability... no\r\nchecking minix/config.h presence... no\r\nchecking for minix/config.h... no\r\nchecking whether it is safe to define __EXTENSIONS__... yes\r\nchecking whether _XOPEN_SOURCE should be defined... no\r\nchecking for ar... ar\r\nchecking the archiver (ar) interface... ar\r\nchecking whether make supports nested variables... (cached) yes\r\nchecking how to print strings... printf\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for fgrep... /bin/grep -F\r\nchecking for ld used by gcc... /usr/bin/ld\r\nchecking if the linker (/usr/bin/ld) is GNU ld... yes\r\nchecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\r\nchecking the name lister (/usr/bin/nm -B) interface... BSD nm\r\nchecking whether ln -s works... yes\r\nchecking the maximum length of command line arguments... 1966080\r\nchecking whether the shell understands some XSI constructs... yes\r\nchecking whether the shell understands \"+=\"... yes\r\nchecking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop\r\nchecking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop\r\nchecking for /usr/bin/ld option to reload object files... -r\r\nchecking for objdump... objdump\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for dlltool... no\r\nchecking how to associate runtime and link libraries... printf %s\\n\r\nchecking for archiver @FILE support... @\r\nchecking for strip... strip\r\nchecking for ranlib... ranlib\r\nchecking command to parse /usr/bin/nm -B output from gcc object... ok\r\nchecking for sysroot... no\r\nchecking for mt... no\r\nchecking if : is a manifest tool... no\r\nchecking for dlfcn.h... yes\r\nchecking for objdir... .libs\r\nchecking if gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for gcc option to produce PIC... -fPIC -DPIC\r\nchecking if gcc PIC flag -fPIC -DPIC works... yes\r\nchecking if gcc static flag -static works... no\r\nchecking if gcc supports -c -o file.o... yes\r\nchecking if gcc supports -c -o file.o... (cached) yes\r\nchecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking for shl_load... no\r\nchecking for shl_load in -ldld... no\r\nchecking for dlopen... no\r\nchecking for dlopen in -ldl... yes\r\nchecking whether a program can dlopen itself... yes\r\nchecking whether a statically linked program can dlopen itself... yes\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... yes\r\nchecking which extension is used for runtime loadable modules... .so\r\nchecking which variable specifies run-time module search path... LD_LIBRARY_PATH\r\nchecking for the default library search path... /lib /usr/lib /usr/lib64/atlas \r\nchecking for library containing dlopen... -ldl\r\nchecking for dlerror... yes\r\nchecking for shl_load... (cached) no\r\nchecking for shl_load in -ldld... (cached) no\r\nchecking for dld_link in -ldld... no\r\nchecking for _ prefix in compiled symbols... no\r\nchecking whether deplibs are loaded by dlopen... yes\r\nchecking for argz.h... yes\r\nchecking for error_t... yes\r\nchecking for argz_add... yes\r\nchecking for argz_append... yes\r\nchecking for argz_count... yes\r\nchecking for argz_create_sep... yes\r\nchecking for argz_insert... yes\r\nchecking for argz_next... yes\r\nchecking for argz_stringify... yes\r\nchecking if argz actually works... yes\r\nchecking whether libtool supports -dlopen/-dlpreopen... yes\r\nchecking for ltdl.h... no\r\nchecking where to find libltdl headers... -I${top_srcdir}/libltdl\r\nchecking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la\r\nchecking for unistd.h... (cached) yes\r\nchecking for dl.h... no\r\nchecking for sys/dl.h... no\r\nchecking for dld.h... no\r\nchecking for mach-o/dyld.h... no\r\nchecking for dirent.h... yes\r\nchecking for closedir... yes\r\nchecking for opendir... yes\r\nchecking for readdir... yes\r\nchecking for strlcat... no\r\nchecking for strlcpy... no\r\nchecking for X... disabled\r\nchecking for gawk... (cached) gawk\r\nchecking for gcc... (cached) gcc\r\nchecking whether we are using the GNU C compiler... (cached) yes\r\nchecking whether gcc accepts -g... (cached) yes\r\nchecking for gcc option to accept ISO C89... (cached) none needed\r\nchecking whether gcc understands -c and -o together... (cached) yes\r\nchecking dependency style of gcc... (cached) gcc3\r\nchecking for gcc option to accept ISO C99... -std=gnu99\r\nchecking for Minix Amsterdam compiler... no\r\nchecking for gcc -std=gnu99 option to accept ISO C99... (cached) -std=gnu99\r\nchecking for gcc -std=gnu99 -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for grep that handles long lines and -e... (cached) /bin/grep\r\nchecking whether ln -s works... yes\r\nchecking whether make sets $(MAKE)... (cached) yes\r\nchecking for a sed that does not truncate output... (cached) /bin/sed\r\nchecking for pkg-config... /usr/bin/pkg-config\r\nchecking pkg-config is at least version 0.25... no\r\nchecking for msgfmt... /usr/bin/msgfmt\r\nchecking for xgettext... /usr/bin/xgettext\r\nchecking for indent... indent\r\nchecking for wget... /usr/bin/wget\r\nchecking for unzip... /usr/bin/unzip\r\nchecking for update-mime-database... /usr/bin/update-mime-database\r\nchecking for update-desktop-database... /usr/bin/update-desktop-database\r\nchecking for plutil... :\r\nchecking for a Python interpreter with version >= 2.7... python\r\nchecking for python... /usr/local/bin/python\r\nchecking for python version... 2.7\r\nchecking for python platform... linux2\r\nchecking for python script directory... ${prefix}/lib/python2.7/site-packages\r\nchecking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages\r\nchecking for PYTHON... no\r\nconfigure: error: in `/root/pdf2htmlEX-0.14.6/fontforge-20150824':\r\nconfigure: error: The pkg-config script could not be found or is too old.  Make sure it\r\nis in your PATH or set the PKG_CONFIG environment variable to the full\r\npath to pkg-config.\r\n\r\nAlternatively, you may set the environment variables PYTHON_CFLAGS\r\nand PYTHON_LIBS to avoid the need to call pkg-config.\r\nSee the pkg-config man page for more details.\r\n\r\nTo get pkg-config, see <http://pkg-config.freedesktop.org/>.\r\nSee `config.log' for more details"},"comment":{"url":"https://api.github.com/repos/fontforge/fontforge/issues/comments/151726175","html_url":"https://github.com/fontforge/fontforge/issues/2533#issuecomment-151726175","issue_url":"https://api.github.com/repos/fontforge/fontforge/issues/2533","id":151726175,"user":{"login":"JoesCat","id":1127313,"avatar_url":"https://avatars.githubusercontent.com/u/1127313?v=3","gravatar_id":"","url":"https://api.github.com/users/JoesCat","html_url":"https://github.com/JoesCat","followers_url":"https://api.github.com/users/JoesCat/followers","following_url":"https://api.github.com/users/JoesCat/following{/other_user}","gists_url":"https://api.github.com/users/JoesCat/gists{/gist_id}","starred_url":"https://api.github.com/users/JoesCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoesCat/subscriptions","organizations_url":"https://api.github.com/users/JoesCat/orgs","repos_url":"https://api.github.com/users/JoesCat/repos","events_url":"https://api.github.com/users/JoesCat/events{/privacy}","received_events_url":"https://api.github.com/users/JoesCat/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T05:02:35Z","updated_at":"2015-10-28T05:02:35Z","body":"Hi Matthew,\nI was fairly sure there was some auxiliary library introduced a couple \nmonths ago that had a hard dependency on python 2.7, but now while I took a \nlook at the main Makefile and configure.ac to point-out which one it is, I \ndon't recall what the library is, or maybe was. It could have been \nintroduced a while ago, but then decided to be taken out.\n\nin configure.ac, there are three lines which may be remnants of the past, \nbut the middle line really won't give you a choice to say no:\nAM_PATH_PYTHON([2.7])\nPKG_CHECK_MODULES([PYHTON],[python-\"${PYTHON_VERSION}\"])\ni_do_have_python_scripting=yes;\n\nMaybe @frank-trampe remembers what lib needs the python 2.7 (2014-05-29)?\n\nMaybe the library got removed afterwards, in which case, we should take-out \nthis hard dependency in the configure.ac file.\n\nOn October 27, 2015 02:24:02 AM Matthew Skala wrote:\n> Is having Python at all, now a hard dependency of FontForge?  If so,\n> maybe the significant amount of code that exists to support the\n> no-Python case could be removed, which would help address issues like\n> #1277.\n"}}