Giter Club home page Giter Club logo

Comments (9)

stal888 avatar stal888 commented on August 30, 2024

Any particular reason you're building --without-audio?

from homebrew-tox.

insiderq avatar insiderq commented on August 30, 2024

That is just my ususal habbit) It doesn't matter, without this option there is the same error.

If i remember correctly, i forked and buit it with some of this changes, but it was blind changes, i didn't understand what i'm doing) After that it worked correctly, except of known CPU usage bug.

  • #ENV.append "CFLAGS", "-framework OpenAL"
  • depends_on "openal-soft"

from homebrew-tox.

stal888 avatar stal888 commented on August 30, 2024

Can I see a verbose install log? As far as I know, the missing package warnings are normal.

from homebrew-tox.

insiderq avatar insiderq commented on August 30, 2024

➭ brew install --HEAD toxic
==> Installing toxic from tox/homebrew-tox
==> Cloning git://github.com/Tox/toxic
Updating /Library/Caches/Homebrew/toxic--git
==> Checking out branch master
==> make PREFIX='/usr/local/Cellar/toxic/HEAD' DISABLE_DESKTOP_NOTIFY=YES DISABLE_X11=YES
Perhaps you should add the directory containing `openal.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openal', required by 'freealut', not found
make: *** [/private/tmp/toxic20150821-7256-7ouy5/build/toxic.o] Error 1
make: *** Waiting for unfinished jobs....

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/tox/homebrew-tox/issues

from homebrew-tox.

stal888 avatar stal888 commented on August 30, 2024

install with -v

from homebrew-tox.

insiderq avatar insiderq commented on August 30, 2024

==> Installing toxic from tox/homebrew-tox
==> Cloning git://github.com/Tox/toxic
git --git-dir /Library/Caches/Homebrew/toxic--git/.git status -s
Updating /Library/Caches/Homebrew/toxic--git
git config remote.origin.url git://github.com/Tox/toxic
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master
git fetch origin
git checkout -f master --
Already on 'master'
Your branch is up-to-date with 'origin/master'.
git reset --hard origin/master
HEAD is now at 92d76c7 Display a user warning when log fails to initialize
==> Checking out branch master
==> make PREFIX='/usr/local/Cellar/toxic/HEAD' DISABLE_DESKTOP_NOTIFY=YES DISABLE_X11=YES
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing openal.pc' to the PKG_CONFIG_PATH environment variable No package 'openal' found Package openal was not found in the pkg-config search path. Perhaps you should add the directory containingopenal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing openal.pc' to the PKG_CONFIG_PATH environment variable ________________this part repeats a lot of times_______________ No package 'openal' found Package openal was not found in the pkg-config search path. Perhaps you should add the directory containingopenal.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openal', required by 'freealut', not found
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:572:15: error: no member named 'tcp_port' in 'struct Tox_Options'
tox_opts->tcp_port = arg_opts.tcp_port;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:577:19: error: no member named 'tcp_port' in 'struct Tox_Options'
if (tox_opts->tcp_port)
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:578:73: error: no member named 'tcp_port' in 'struct Tox_Options'
queue_init_message("TCP relaying enabled on port %d", tox_opts->tcp_port);
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:669:31: error: no member named 'savedata_type' in 'struct Tox_Options'
tox_opts->savedata_type = TOX_SAVEDATA_TYPE_TOX_SAVE;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:669:47: error: use of undeclared identifier 'TOX_SAVEDATA_TYPE_TOX_SAVE'
tox_opts->savedata_type = TOX_SAVEDATA_TYPE_TOX_SAVE;
^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:670:31: error: no member named 'savedata_data' in 'struct Tox_Options'
tox_opts->savedata_data = (uint8_t *) plain;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:671:31: error: no member named 'savedata_length' in 'struct Tox_Options'
tox_opts->savedata_length = plain_len;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:673:50: error: too few arguments to function call, expected 4, have 2
m = tox_new(tox_opts, new_err);
~~~~~~~ ^
/usr/local/include/tox/tox.h:572:1: note: 'tox_new' declared here
Tox *tox_new(const struct Tox_Options *options, const uint8_t *data, size_t length, TOX_ERR_NEW *error);
^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:691:23: error: no member named 'savedata_type' in 'struct Tox_Options'
tox_opts->savedata_type = TOX_SAVEDATA_TYPE_TOX_SAVE;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:691:39: error: use of undeclared identifier 'TOX_SAVEDATA_TYPE_TOX_SAVE'
tox_opts->savedata_type = TOX_SAVEDATA_TYPE_TOX_SAVE;
^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:692:23: error: no member named 'savedata_data' in 'struct Tox_Options'
tox_opts->savedata_data = (uint8_t *) data;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:693:23: error: no member named 'savedata_length' in 'struct Tox_Options'
tox_opts->savedata_length = len;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:695:42: error: too few arguments to function call, expected 4, have 2
m = tox_new(tox_opts, new_err);
~~~~~~~ ^
/usr/local/include/tox/tox.h:572:1: note: 'tox_new' declared here
Tox *tox_new(const struct Tox_Options *options, const uint8_t *data, size_t length, TOX_ERR_NEW *error);
^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:708:19: error: no member named 'savedata_type' in 'struct Tox_Options'
tox_opts->savedata_type = TOX_SAVEDATA_TYPE_NONE;
~~~~~~~~ ^
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:708:35: error: use of undeclared identifier 'TOX_SAVEDATA_TYPE_NONE'
tox_opts->savedata_type = TOX_SAVEDATA_TYPE_NONE;
^
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing openal.pc' to the PKG_CONFIG_PATH environment variable No package 'openal' found Package openal was not found in the pkg-config search path. Perhaps you should add the directory containingopenal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
/private/tmp/toxic20150821-7990-jo9na8/src/toxic.c:710:38: error: too few arguments to function call, expected 4, have 2
m = tox_new(tox_opts, new_err);
~~~~~~~ ^
/usr/local/include/tox/tox.h:572:1: notePackage openal was not found in the pkg-config search path.
Perhaps you should add the directory containing `openal.pc'
to the PKG_CONFIG_PATH environment variable
: 'tox_new' declared herePackage 'openal', required by 'freealut', not found

Tox tox_new(const struct Tox_Options *options, const uint8_t *data, size_t length, TOX_ERR_NEW *error);
^
16 errors generated.
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing openal.pc' to the PKG_CONFIG_PATH environment variable No package 'openal' found Package openal was not found in the pkg-config search path. Perhaps you should add the directory containingopenal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing openal.pc' to the PKG_CONFIG_PATH environment variable Package 'openal', required by 'freealut', not found Package openal was not found in the pkg-config search path. Perhaps you should add the directory containingopenal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openal' found
Package openal was not found in the pkg-config search path.
Perhaps you should add the directory containing openal.pc' to the PKG_CONFIG_PATH environment variable No package 'openal' found Package openal was not found in the pkg-config search path. Perhaps you should add the directory containingopenal.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openal', required by 'freealut', not found
make: *
* [/private/tmp/toxic20150821-7990-jo9na8/build/toxic.o] Error 1
make: *** Waiting for unfinished jobs....
CC toxic_strings.o
==> Formula
Tap: tox/homebrew-tox
Path: /usr/local/Library/Taps/tox/homebrew-tox/Formula/toxic.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: ab8fb061de4e05c4306bf76daa39e6bb5273f4b3
Last commit: 10 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.10.4-x86_64
Xcode: 6.4
CLT: 6.4.0.0.1.1435007323
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/insider/.rvm/rubies/ruby-2.2.0/bin/ruby
Java: 1.8.0_51
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CFLAGS: -DPACKAGE_DATADIR="/usr/local/Cellar/toxic/HEAD/share/toxic" -g -framework OpenAL
LDFLAGS: -lncursesw -ltoxcore -ltoxdns -lresolv -lalut -lconfig -ltoxencryptsave -g -ltoxav
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/ncurses:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libsodium/lib/pkgconfig:/usr/local/opt/opus/lib/pkgconfig:/usr/local/opt/libvpx/lib/pkgconfig:/usr/local/opt/libtoxcore/lib/pkgconfig:/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/freealut/lib/pkgconfig:/usr/local/opt/libconfig/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/libtoxcore/bin:/usr/local/opt/ncurses/bin:/usr/local/opt/freealut/bin:/usr/local/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: tox/tox/toxic HEAD did not build
Logs:
/Users/insider/Library/Logs/Homebrew/toxic/01.make
/Users/insider/Library/Logs/Homebrew/toxic/01.make.cc

from homebrew-tox.

stal888 avatar stal888 commented on August 30, 2024

brew reinstall --HEAD libtoxcore

from homebrew-tox.

insiderq avatar insiderq commented on August 30, 2024

I've reinstalled libtoxcore, everything seems ok, thank you very much!

from homebrew-tox.

stal888 avatar stal888 commented on August 30, 2024

cheers mate 🍺

from homebrew-tox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.