{"action":"created","issue":{"url":"https://api.github.com/repos/phpbrew/phpbrew/issues/794","repository_url":"https://api.github.com/repos/phpbrew/phpbrew","labels_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/794/comments","events_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/794/events","html_url":"https://github.com/phpbrew/phpbrew/pull/794","id":179931173,"number":794,"title":"Fixed automatic detection of --with-libdir (fixes #793).","user":{"login":"morozov","id":59683,"avatar_url":"https://avatars.githubusercontent.com/u/59683?v=3","gravatar_id":"","url":"https://api.github.com/users/morozov","html_url":"https://github.com/morozov","followers_url":"https://api.github.com/users/morozov/followers","following_url":"https://api.github.com/users/morozov/following{/other_user}","gists_url":"https://api.github.com/users/morozov/gists{/gist_id}","starred_url":"https://api.github.com/users/morozov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morozov/subscriptions","organizations_url":"https://api.github.com/users/morozov/orgs","repos_url":"https://api.github.com/users/morozov/repos","events_url":"https://api.github.com/users/morozov/events{/privacy}","received_events_url":"https://api.github.com/users/morozov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-29T01:27:22Z","updated_at":"2016-09-29T01:29:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phpbrew/phpbrew/pulls/794","html_url":"https://github.com/phpbrew/phpbrew/pull/794","diff_url":"https://github.com/phpbrew/phpbrew/pull/794.diff","patch_url":"https://github.com/phpbrew/phpbrew/pull/794.patch"},"body":"When installing PHP on Ubuntu, it's expected that phpbrew automatically appends `--with-libdir=lib/x86_64-linux-gnu` to the configure command. This feature is broken since e93f221:\r\n```\r\n↪  file /usr/lib/x86_64-linux-gnu/\r\n/usr/lib/x86_64-linux-gnu/: directory\r\n\r\n↪  phpbrew --debug install --dryrun 5.6.26\r\n./configure '--cache-file='\\''/home/morozov/.phpbrew/cache/config.cache'\\''' '--prefix=/home/morozov/.phpbrew/php/php-5.6.26' '--with-config-file-path=/home/morozov/.phpbrew/php/php-5.6.26/etc' '--with-config-file-scan-dir=/home/morozov/.phpbrew/php/php-5.6.26/var/db' '--disable-all' '--enable-phar' '--enable-session' '--enable-short-tags' '--enable-tokenizer' '--with-pcre-regex' '--with-zlib=/usr' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--enable-cli' '--enable-ctype' '--enable-dom' '--enable-fileinfo' '--enable-filter' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-json' '--enable-mbregex' '--enable-mbstring' '--with-mhash' '--enable-pcntl' '--with-pcre-regex' '--enable-pdo' '--enable-phar' '--enable-posix' '--with-readline=/usr' '--enable-sockets' '--enable-tokenizer' '--enable-dom' '--enable-libxml' '--enable-simplexml' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--with-libxml-dir=/usr' '--with-curl=/usr' '--enable-zip' '--with-openssl=/usr' '--enable-opcache' '--with-pear=/home/morozov/.phpbrew/php/php-5.6.26/lib/php' >> /home/morozov/.phpbrew/build/php-5.6.26/build.log 2>&1\r\n```\r\n\r\nGiven that `findLibPrefix()` calls `getLookupPrefixes()` internally, which is unaware of the `lib` suffix anymore, it makes sense to specify `lib/` explicitly when calling the former."},"comment":{"url":"https://api.github.com/repos/phpbrew/phpbrew/issues/comments/250347468","html_url":"https://github.com/phpbrew/phpbrew/pull/794#issuecomment-250347468","issue_url":"https://api.github.com/repos/phpbrew/phpbrew/issues/794","id":250347468,"user":{"login":"morozov","id":59683,"avatar_url":"https://avatars.githubusercontent.com/u/59683?v=3","gravatar_id":"","url":"https://api.github.com/users/morozov","html_url":"https://github.com/morozov","followers_url":"https://api.github.com/users/morozov/followers","following_url":"https://api.github.com/users/morozov/following{/other_user}","gists_url":"https://api.github.com/users/morozov/gists{/gist_id}","starred_url":"https://api.github.com/users/morozov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morozov/subscriptions","organizations_url":"https://api.github.com/users/morozov/orgs","repos_url":"https://api.github.com/users/morozov/repos","events_url":"https://api.github.com/users/morozov/events{/privacy}","received_events_url":"https://api.github.com/users/morozov/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T01:29:15Z","updated_at":"2016-09-29T01:29:15Z","body":"This patch will fix #793."}}
{"actor":{"display_login":"morozov"}}