{"action":"created","issue":{"url":"https://api.github.com/repos/vysheng/tg/issues/463","labels_url":"https://api.github.com/repos/vysheng/tg/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/vysheng/tg/issues/463/comments","events_url":"https://api.github.com/repos/vysheng/tg/issues/463/events","html_url":"https://github.com/vysheng/tg/issues/463","id":65932277,"number":463,"title":"Not installing in Ubuntu","user":{"login":"Vadimkin","id":2240404,"avatar_url":"https://avatars.githubusercontent.com/u/2240404?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadimkin","html_url":"https://github.com/Vadimkin","followers_url":"https://api.github.com/users/Vadimkin/followers","following_url":"https://api.github.com/users/Vadimkin/following{/other_user}","gists_url":"https://api.github.com/users/Vadimkin/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadimkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadimkin/subscriptions","organizations_url":"https://api.github.com/users/Vadimkin/orgs","repos_url":"https://api.github.com/users/Vadimkin/repos","events_url":"https://api.github.com/users/Vadimkin/events{/privacy}","received_events_url":"https://api.github.com/users/Vadimkin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-02T13:59:09Z","updated_at":"2015-04-10T19:22:18Z","closed_at":"2015-04-10T19:22:18Z","body":"Hello!\r\n\r\nI want to install Telegram-CLI on Ubuntu 14.04 (DigitalOcean default droplet) and get error:\r\n```\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto/auto.d -MQ objs/auto/auto.o -o objs/auto/auto.o auto/auto.c\r\n\r\ngcc: internal compiler error: Killed (program cc1)\r\nPlease submit a full bug report,\r\nwith preprocessed source if appropriate.\r\nSee <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.\r\nmake: *** [objs/auto/auto.o] Error 4\r\n```\r\n\r\nThis problem repeated for two independent droplets on DigitalOcean. All packages are installed. \r\n\r\nHow can I fix this problem?\r\n\r\nFull trace:\r\n```\r\nroot@Projects:/home/tg# ./configure\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 for sqrt in -lm... yes\r\nchecking for library containing clock_gettime... none required\r\nchecking for library containing backtrace... none required\r\nchecking for event_base_new in -levent... yes\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 event2/event.h usability... yes\r\nchecking event2/event.h presence... yes\r\nchecking for event2/event.h... yes\r\nchecking for pkg-config... /usr/bin/pkg-config\r\nchecking whether compiling and linking against OpenSSL works... yes\r\nchecking if zlib is wanted... yes\r\nchecking for inflateEnd in -lz... yes\r\nchecking zlib.h usability... yes\r\nchecking zlib.h presence... yes\r\nchecking for zlib.h... yes\r\nchecking for rl_save_prompt in -lreadline... yes\r\nchecking for libconfig... enabled\r\nchecking for config_init in -lconfig... yes\r\nchecking for liblua... enabled\r\nchecking for lua... /usr/bin/lua\r\nchecking if /usr/bin/lua is a Lua interpreter... yes\r\nchecking for lua version... 5.2\r\nchecking for lua platform... unknown\r\nchecking for lua script directory... ${prefix}/share/lua/5.2\r\nchecking for lua module directory... ${exec_prefix}/lib/lua/5.2\r\nchecking if LUA_VERSION is defined... yes\r\nchecking lua.h usability... no\r\nchecking lua.h presence... no\r\nchecking for lua.h... no\r\nchecking lualib.h usability... no\r\nchecking lualib.h presence... no\r\nchecking for lualib.h... no\r\nchecking lauxlib.h usability... no\r\nchecking lauxlib.h presence... no\r\nchecking for lauxlib.h... no\r\nchecking luaconf.h usability... no\r\nchecking luaconf.h presence... no\r\nchecking for luaconf.h... no\r\nchecking for Lua headers in... /usr/include/lua5.2\r\nchecking lua.h usability... yes\r\nchecking lua.h presence... yes\r\nchecking for lua.h... yes\r\nchecking lualib.h usability... yes\r\nchecking lualib.h presence... yes\r\nchecking for lualib.h... yes\r\nchecking lauxlib.h usability... yes\r\nchecking lauxlib.h presence... yes\r\nchecking for lauxlib.h... yes\r\nchecking luaconf.h usability... yes\r\nchecking luaconf.h presence... yes\r\nchecking for luaconf.h... yes\r\nchecking for Lua header version... 5.2\r\nchecking if Lua header version matches 5.2... yes\r\nchecking if LUA_VERSION is defined... yes\r\nchecking for library containing exp... none required\r\nchecking for library containing dlopen... -ldl\r\nchecking for library containing lua_load... -llua5.2\r\ndefault\r\nchecking execinfo.h usability... yes\r\nchecking execinfo.h presence... yes\r\nchecking for execinfo.h... yes\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking malloc.h usability... yes\r\nchecking malloc.h presence... yes\r\nchecking for malloc.h... yes\r\nchecking netdb.h usability... yes\r\nchecking netdb.h presence... yes\r\nchecking for netdb.h... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for string.h... (cached) yes\r\nchecking for unistd.h... (cached) yes\r\nchecking arpa/inet.h usability... yes\r\nchecking arpa/inet.h presence... yes\r\nchecking for arpa/inet.h... yes\r\nchecking mach/mach.h usability... no\r\nchecking mach/mach.h presence... no\r\nchecking for mach/mach.h... no\r\nchecking netinet/in.h usability... yes\r\nchecking netinet/in.h presence... yes\r\nchecking for netinet/in.h... yes\r\nchecking sys/file.h usability... yes\r\nchecking sys/file.h presence... yes\r\nchecking for sys/file.h... yes\r\nchecking sys/socket.h usability... yes\r\nchecking sys/socket.h presence... yes\r\nchecking for sys/socket.h... yes\r\nchecking termios.h usability... yes\r\nchecking termios.h presence... yes\r\nchecking for termios.h... yes\r\nchecking for size_t... yes\r\nchecking for uid_t in sys/types.h... yes\r\nchecking for inline... inline\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible malloc... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible realloc... yes\r\nchecking for alarm... yes\r\nchecking for endpwent... yes\r\nchecking for memset... yes\r\nchecking for memmove... yes\r\nchecking for mkdir... yes\r\nchecking for select... yes\r\nchecking for socket... yes\r\nchecking for strdup... yes\r\nchecking for strndup... yes\r\nchecking for uname... yes\r\nchecking for __builtin_bswap32... yes\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating config.h\r\n```\r\n\r\n```\r\nroot@Projects:/home/tg#  make\r\ncat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/crc32.d -MQ objs/crc32.o -o objs/crc32.o tgl/tl-parser/crc32.c\r\ngcc objs/tl-parser.o objs/tlc.o objs/crc32.o -L/usr/local/lib -L/usr/lib -L/usr/lib   -rdynamic -ggdb -levent -lconfig -lz -levent -lm   -lreadline -llua5.2  -ldl -lssl -lcrypto   -o bin/tl-parser\r\nbin/tl-parser -e auto/scheme.tlo auto/scheme.tl\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c\r\ngcc objs/generate.o objs/tools.o -L/usr/local/lib -L/usr/lib -L/usr/lib   -rdynamic -ggdb -levent -lconfig -lz -levent -lm   -lreadline -llua5.2  -ldl -lssl -lcrypto   -o bin/generate\r\nbin/generate auto/scheme.tlo > auto/auto.c\r\nbin/generate -H auto/scheme.tlo > auto/auto-header.h\r\nbin/tl-parser -E auto/scheme.tl 2> auto/scheme2.tl  || ( cat auto/scheme2.tl && rm auto/scheme2.tl && false )\r\nawk -f ./tgl/gen_constants_h.awk < auto/scheme2.tl > auto/constants.h\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/main.d -MQ objs/main.o -o objs/main.o main.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/loop.d -MQ objs/loop.o -o objs/loop.o loop.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/interface.d -MQ objs/interface.o -o objs/interface.o interface.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/lua-tg.d -MQ objs/lua-tg.o -o objs/lua-tg.o lua-tg.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-common.d -MQ objs/mtproto-common.o -o objs/mtproto-common.o tgl/mtproto-common.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-client.d -MQ objs/mtproto-client.o -o objs/mtproto-client.o tgl/mtproto-client.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/queries.d -MQ objs/queries.o -o objs/queries.o tgl/queries.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/structures.d -MQ objs/structures.o -o objs/structures.o tgl/structures.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/binlog.d -MQ objs/binlog.o -o objs/binlog.o tgl/binlog.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl.d -MQ objs/tgl.o -o objs/tgl.o tgl/tgl.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/updates.d -MQ objs/updates.o -o objs/updates.o tgl/updates.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl-net.d -MQ objs/tgl-net.o -o objs/tgl-net.o tgl/tgl-net.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl-timers.d -MQ objs/tgl-timers.o -o objs/tgl-timers.o tgl/tgl-timers.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tg-mime-types.d -MQ objs/tg-mime-types.o -o objs/tg-mime-types.o tgl/tg-mime-types.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-utils.d -MQ objs/mtproto-utils.o -o objs/mtproto-utils.o tgl/mtproto-utils.c\r\ngcc -I. -I. -g -O2  -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.2   -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto/auto.d -MQ objs/auto/auto.o -o objs/auto/auto.o auto/auto.c\r\ngcc: internal compiler error: Killed (program cc1)\r\nPlease submit a full bug report,\r\nwith preprocessed source if appropriate.\r\nSee <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.\r\nmake: *** [objs/auto/auto.o] Error 4\r\n```"},"comment":{"url":"https://api.github.com/repos/vysheng/tg/issues/comments/91657339","html_url":"https://github.com/vysheng/tg/issues/463#issuecomment-91657339","issue_url":"https://api.github.com/repos/vysheng/tg/issues/463","id":91657339,"user":{"login":"Vadimkin","id":2240404,"avatar_url":"https://avatars.githubusercontent.com/u/2240404?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadimkin","html_url":"https://github.com/Vadimkin","followers_url":"https://api.github.com/users/Vadimkin/followers","following_url":"https://api.github.com/users/Vadimkin/following{/other_user}","gists_url":"https://api.github.com/users/Vadimkin/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadimkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadimkin/subscriptions","organizations_url":"https://api.github.com/users/Vadimkin/orgs","repos_url":"https://api.github.com/users/Vadimkin/repos","events_url":"https://api.github.com/users/Vadimkin/events{/privacy}","received_events_url":"https://api.github.com/users/Vadimkin/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T19:22:18Z","updated_at":"2015-04-10T19:22:18Z","body":"@Bers thanks for you help! It works for me!"}}