{"action":"created","issue":{"url":"https://api.github.com/repos/mgdm/Mosquitto-PHP/issues/12","repository_url":"https://api.github.com/repos/mgdm/Mosquitto-PHP","labels_url":"https://api.github.com/repos/mgdm/Mosquitto-PHP/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mgdm/Mosquitto-PHP/issues/12/comments","events_url":"https://api.github.com/repos/mgdm/Mosquitto-PHP/issues/12/events","html_url":"https://github.com/mgdm/Mosquitto-PHP/issues/12","id":32628170,"number":12,"title":"Can not install on Ubuntu 12.04 with Mosquite 3.1","user":{"login":"ajt2","id":201322,"avatar_url":"https://avatars.githubusercontent.com/u/201322?v=3","gravatar_id":"","url":"https://api.github.com/users/ajt2","html_url":"https://github.com/ajt2","followers_url":"https://api.github.com/users/ajt2/followers","following_url":"https://api.github.com/users/ajt2/following{/other_user}","gists_url":"https://api.github.com/users/ajt2/gists{/gist_id}","starred_url":"https://api.github.com/users/ajt2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajt2/subscriptions","organizations_url":"https://api.github.com/users/ajt2/orgs","repos_url":"https://api.github.com/users/ajt2/repos","events_url":"https://api.github.com/users/ajt2/events{/privacy}","received_events_url":"https://api.github.com/users/ajt2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2014-05-01T16:49:36Z","updated_at":"2016-11-21T19:32:43Z","closed_at":"2016-01-28T17:39:12Z","body":"||/ Name                         Version                      Description\n+++-============================-============================-========================================================================\nii  libmosquitto0                0.15-0ubuntu1.12.04.1        MQTT version 3.1 client library\nii  libmosquitto0-dev            0.15-0ubuntu1.12.04.1        MQTT version 3.1 client library, development files\nii  mosquitto-clients            0.15-0ubuntu1.12.04.1        Mosquitto command line MQTT clients\n\n$ sudo pecl install Mosquitto-alpha\ndownloading Mosquitto-0.2.1.tgz ...\nStarting to download Mosquitto-0.2.1.tgz (15,958 bytes)\n......done: 15,958 bytes\n4 source files, building\nrunning: phpize\nConfiguring for:\nPHP Api Version:         20121113\nZend Module Api No:      20121212\nZend Extension Api No:   220121212\nPlease provide the prefix of the libmosquitto installation [autodetect] : \nbuilding in /tmp/pear/temp/pear-build-rootEO3vH6/Mosquitto-0.2.1\nrunning: /tmp/pear/temp/Mosquitto/configure --with-mosquitto\nchecking for grep that handles long lines and -e... /bin/grep\nchecking for egrep... /bin/grep -E\nchecking for a sed that does not truncate output... /bin/sed\nchecking for cc... cc\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables...\nchecking whether we are cross compiling... no\nchecking for suffix of object files... o\nchecking whether we are using the GNU C compiler... yes\nchecking whether cc accepts -g... yes\nchecking for cc option to accept ISO C89... none needed\nchecking how to run the C preprocessor... cc -E\nchecking for icc... no\nchecking for suncc... no\nchecking whether cc understands -c and -o together... yes\nchecking for system library directory... lib\nchecking if compiler supports -R... no\nchecking if compiler supports -Wl,-rpath,... yes\nchecking build system type... x86_64-unknown-linux-gnu\nchecking host system type... x86_64-unknown-linux-gnu\nchecking target system type... x86_64-unknown-linux-gnu\nchecking for PHP prefix... /usr\nchecking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib\nchecking for PHP extension directory... /usr/lib/php5/20121212\nchecking for PHP installed headers prefix... /usr/include/php5\nchecking if debug is enabled... no\nchecking if zts is enabled... no\nchecking for re2c... no\nconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.\nchecking for gawk... no\nchecking for nawk... nawk\nchecking if nawk is broken... no\nchecking for mosquitto support... yes, shared\nchecking for mosquitto files in default path... checking /usr... found in /usr\nchecking for ANSI C header files... yes\nchecking for sys/types.h... yes\nchecking for sys/stat.h... yes\nchecking for stdlib.h... yes\nchecking for string.h... yes\nchecking for memory.h... yes\nchecking for strings.h... yes\nchecking for inttypes.h... yes\nchecking for stdint.h... yes\nchecking for unistd.h... yes\nchecking whether strerror_r is declared... yes\nchecking for strerror_r... yes\nchecking whether strerror_r returns char _... no\nchecking how to print strings... printf\nchecking for a sed that does not truncate output... (cached) /bin/sed\nchecking for fgrep... /bin/grep -F\nchecking for ld used by cc... /usr/bin/ld\nchecking if the linker (/usr/bin/ld) is GNU ld... yes\nchecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\nchecking the name lister (/usr/bin/nm -B) interface... BSD nm\nchecking whether ln -s works... yes\nchecking the maximum length of command line arguments... 1572864\nchecking whether the shell understands some XSI constructs... yes\nchecking whether the shell understands \"+=\"... yes\nchecking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop\nchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop\nchecking for /usr/bin/ld option to reload object files... -r\nchecking for objdump... objdump\nchecking how to recognize dependent libraries... pass_all\nchecking for dlltool... no\nchecking how to associate runtime and link libraries... printf %s\\n\nchecking for ar... ar\nchecking for archiver @FILE support... @\nchecking for strip... strip\nchecking for ranlib... ranlib\nchecking for gawk... (cached) nawk\nchecking command to parse /usr/bin/nm -B output from cc object... ok\nchecking for sysroot... no\nchecking for mt... mt\nchecking if mt is a manifest tool... no\nchecking for dlfcn.h... yes\nchecking for objdir... .libs\nchecking if cc supports -fno-rtti -fno-exceptions... no\nchecking for cc option to produce PIC... -fPIC -DPIC\nchecking if cc PIC flag -fPIC -DPIC works... yes\nchecking if cc static flag -static works... yes\nchecking if cc supports -c -o file.o... yes\nchecking if cc supports -c -o file.o... (cached) yes\nchecking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes\nchecking whether -lc should be explicitly linked in... no\nchecking dynamic linker characteristics... GNU/Linux ld.so\nchecking how to hardcode library paths into programs... immediate\nchecking whether stripping libraries is possible... yes\nchecking if libtool supports shared libraries... yes\nchecking whether to build shared libraries... yes\nchecking whether to build static libraries... no\nconfigure: creating ./config.status\nconfig.status: creating config.h\nconfig.status: executing libtool commands\nrunning: make\n/bin/bash /tmp/pear/temp/pear-build-rootEO3vH6/Mosquitto-0.2.1/libtool --mode=compile cc  -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootEO3vH6/Mosquitto-0.2.1/include -I/tmp/pear/temp/pear-build-rootEO3vH6/Mosquitto-0.2.1/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/Mosquitto/mosquitto.c -o mosquitto.lo\nlibtool: compile:  cc -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootEO3vH6/Mosquitto-0.2.1/include -I/tmp/pear/temp/pear-build-rootEO3vH6/Mosquitto-0.2.1/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/Mosquitto/mosquitto.c  -fPIC -DPIC -o .libs/mosquitto.o\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client___construct':\n/tmp/pear/temp/Mosquitto/mosquitto.c:111:2: warning: passing argument 2 of 'mosquitto_new' makes pointer from integer without a cast [enabled by default]\n/usr/include/mosquitto.h:196:34: note: expected 'void *' but argument is of type 'zend_bool'\n/tmp/pear/temp/Mosquitto/mosquitto.c:111:2: error: too many arguments to function 'mosquitto_new'\n/usr/include/mosquitto.h:196:34: note: declared here\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_setWill':\n/tmp/pear/temp/Mosquitto/mosquitto.c:284:2: warning: passing argument 3 of 'mosquitto_will_set' makes pointer from integer without a cast [enabled by default]\n/usr/include/mosquitto.h:268:20: note: expected 'const char *' but argument is of type 'int'\n/tmp/pear/temp/Mosquitto/mosquitto.c:284:2: warning: passing argument 4 of 'mosquitto_will_set' makes integer from pointer without a cast [enabled by default]\n/usr/include/mosquitto.h:268:20: note: expected 'uint32_t' but argument is of type 'void *'\n/tmp/pear/temp/Mosquitto/mosquitto.c:284:2: warning: passing argument 5 of 'mosquitto_will_set' makes pointer from integer without a cast [enabled by default]\n/usr/include/mosquitto.h:268:20: note: expected 'const uint8_t *' but argument is of type 'long int'\n/tmp/pear/temp/Mosquitto/mosquitto.c:284:2: error: too few arguments to function 'mosquitto_will_set'\n/usr/include/mosquitto.h:268:20: note: declared here\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_connect':\n/tmp/pear/temp/Mosquitto/mosquitto.c:355:3: error: too few arguments to function 'mosquitto_connect'\n/usr/include/mosquitto.h:322:20: note: declared here\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_onConnect':\n/tmp/pear/temp/Mosquitto/mosquitto.c:418:2: warning: passing argument 2 of 'mosquitto_connect_callback_set' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:618:21: note: expected 'void (_)(void _, int)' but argument is of type 'void (_)(struct mosquitto _, void *, int)'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_onDisconnect':\n/tmp/pear/temp/Mosquitto/mosquitto.c:452:2: warning: passing argument 2 of 'mosquitto_disconnect_callback_set' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:634:21: note: expected 'void (_)(void _)' but argument is of type 'void (_)(struct mosquitto _, void *, int)'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_onSubscribe':\n/tmp/pear/temp/Mosquitto/mosquitto.c:520:2: warning: passing argument 2 of 'mosquitto_subscribe_callback_set' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:693:21: note: expected 'void (_)(void _, uint16_t,  int,  const uint8_t *)' but argument is of type 'void (_)(struct mosquitto _, void *, int,  int,  const int *)'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_onUnsubscribe':\n/tmp/pear/temp/Mosquitto/mosquitto.c:554:2: warning: passing argument 2 of 'mosquitto_unsubscribe_callback_set' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:710:21: note: expected 'void (_)(void _, uint16_t)' but argument is of type 'void (_)(struct mosquitto _, void *, int)'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_onMessage':\n/tmp/pear/temp/Mosquitto/mosquitto.c:588:2: warning: passing argument 2 of 'mosquitto_message_callback_set' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:673:21: note: expected 'void (_)(void _, const struct mosquitto_message *)' but argument is of type 'void (_)(struct mosquitto _, void *, const struct mosquitto_message *)'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_publish':\n/tmp/pear/temp/Mosquitto/mosquitto.c:667:2: warning: passing argument 2 of 'mosquitto_publish' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:395:20: note: expected 'uint16_t *' but argument is of type 'int *'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_subscribe':\n/tmp/pear/temp/Mosquitto/mosquitto.c:692:2: warning: passing argument 2 of 'mosquitto_subscribe' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:417:20: note: expected 'uint16_t *' but argument is of type 'int *'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_unsubscribe':\n/tmp/pear/temp/Mosquitto/mosquitto.c:716:2: warning: passing argument 2 of 'mosquitto_unsubscribe' from incompatible pointer type [enabled by default]\n/usr/include/mosquitto.h:438:20: note: expected 'uint16_t *' but argument is of type 'int *'\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'zim_Mosquitto_Client_loop':\n/tmp/pear/temp/Mosquitto/mosquitto.c:740:2: error: too many arguments to function 'mosquitto_loop'\n/usr/include/mosquitto.h:503:20: note: declared here\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'mosquitto_client_object_destroy':\n/tmp/pear/temp/Mosquitto/mosquitto.c:796:2: error: too many arguments to function 'mosquitto_loop'\n/usr/include/mosquitto.h:503:20: note: declared here\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'php_mosquitto_handle_errno':\n/tmp/pear/temp/Mosquitto/mosquitto.c:847:12: warning: assignment makes pointer from integer without a cast [enabled by default]\n/tmp/pear/temp/Mosquitto/mosquitto.c: In function 'php_mosquitto_connect_callback':\n/tmp/pear/temp/Mosquitto/mosquitto.c:872:10: warning: assignment makes pointer from integer without a cast [enabled by default]\nmake: *_\\* [mosquitto.lo] Error 1\nERROR: `make' failed\n"},"comment":{"url":"https://api.github.com/repos/mgdm/Mosquitto-PHP/issues/comments/262042287","html_url":"https://github.com/mgdm/Mosquitto-PHP/issues/12#issuecomment-262042287","issue_url":"https://api.github.com/repos/mgdm/Mosquitto-PHP/issues/12","id":262042287,"user":{"login":"Albinv06","id":14865518,"avatar_url":"https://avatars.githubusercontent.com/u/14865518?v=3","gravatar_id":"","url":"https://api.github.com/users/Albinv06","html_url":"https://github.com/Albinv06","followers_url":"https://api.github.com/users/Albinv06/followers","following_url":"https://api.github.com/users/Albinv06/following{/other_user}","gists_url":"https://api.github.com/users/Albinv06/gists{/gist_id}","starred_url":"https://api.github.com/users/Albinv06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Albinv06/subscriptions","organizations_url":"https://api.github.com/users/Albinv06/orgs","repos_url":"https://api.github.com/users/Albinv06/repos","events_url":"https://api.github.com/users/Albinv06/events{/privacy}","received_events_url":"https://api.github.com/users/Albinv06/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T19:32:43Z","updated_at":"2016-11-21T19:32:43Z","body":"how to install the Mosquitto-alpha. i'm new this.please help me."}}
{"actor":{"display_login":"Albinv06"}}