Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler error when installing nginx-full ---with-upload-module #304

Open
3 of 5 tasks
ghost opened this issue Jun 22, 2017 · 1 comment
Open
3 of 5 tasks

Compiler error when installing nginx-full ---with-upload-module #304

ghost opened this issue Jun 22, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 22, 2017

Indicate troubleshooting steps taken

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • Checked that a similar issue hasn't already been filed?
  • Looked up the software bug tracker if reporting a build error?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports / build errors:

Installing nginx-full with upload-module through linuxbrew throws a compiler error.

Brief summary of issue:

BrewIssue

The complete command that you issued:

brew install nginx-full --with-upload-module

Gist with output of brew doctor:

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /usr/local/bin/pcre-config

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/pcre_scanner.h
  /usr/local/include/pcre.h
  /usr/local/include/pcreposix.h
  /usr/local/include/pcrecpp.h
  /usr/local/include/pcre_stringpiece.h
  /usr/local/include/pcrecpparg.h

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
  /usr/local/lib/libpcre.la
  /usr/local/lib/libpcrecpp.la
  /usr/local/lib/libpcreposix.la

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/libpcrecpp.pc
  /usr/local/lib/pkgconfig/libpcreposix.pc
  /usr/local/lib/pkgconfig/libpcre.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libz.a
  /usr/local/lib/libpcreposix.a
  /usr/local/lib/libpcre.a
  /usr/local/lib/libpcrecpp.a

Link output by brew gist-logs <formula>:

https://gist.github.com/7ce6036fd68b07a623521e729d1d3896

Output of brew config:

│HOMEBREW_VERSION: 1.2.1
│ORIGIN: https://github.com/Linuxbrew/brew
│HEAD: 2e121544fb3671e2ae7ccfaff574ba313976b65b
│Last commit: 13 days ago
│Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
│Core tap HEAD: 3b2eb9a0be68dadfa16e954569ca26b5085bcf12
│Core tap last commit: 19 hours ago
│HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
│HOMEBREW_REPOSITORY: /home/linuxbrew/.linuxbrew/Homebrew
│HOMEBREW_CELLAR: /home/linuxbrew/.linuxbrew/Cellar
│HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
│CPU: quad-core 64-bit merom
│Homebrew Ruby: 2.3.1 => /usr/bin/ruby2.3
│Clang: N/A
│Git: 2.7.4 => /usr/bin/git
│Perl: /home/linuxbrew/.linuxbrew/bin/perl => /home/linuxbrew/.linuxbrew/Cellar/perl/5.24.1/bin/perl
│Python: /usr/bin/python => /usr/bin/python2.7
│Ruby: /usr/bin/ruby => /usr/bin/ruby2.3
│Java: N/A
│Kernel: Linux 4.4.0-81-generic x86_64 GNU/Linux
│OS: Ubuntu 16.04.2 LTS (xenial)
│Host glibc: 2.23
│/usr/bin/gcc: 5.4.0
│glibc: N/A
│gcc: 5.3.0
│xorg: N/A

Formula Requests:

The quickest way to get a new formula into Homebrew is to file a Pull Request.

We will consider your request but it may be closed if it's something we're not actively planning to work on.

@asakasinsky
Copy link

I have this trouble too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants