Giter Site home page Giter Site logo

homebrew-extras's People

Contributors

agiliopadua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebrew-extras's Issues

how to get the 'x11' by homebrew

I have modify your xcrysden.rb to match current homebrew. like change "x11" to :x11, but I found that you did the opposite way.

then how to get the 'x11' by homebrew?

I can build the package but get the error

/usr/local/Cellar/xcrysden/1.5.60/share/xcrysden-1.5.60/xcrysden: line 260: 46556 Segmentation fault: 11  ${XCRYSDEN_XCRYS_DIR}/xcrys ${XCRYSDEN_TOPDIR}/Tcl/xcInit.tcl $USE -- $XCRYSDEN_TOPDIR $XCRYSDEN_SCRATCH "$@" > /dev/null

each time starts.

Build of xcrysden failed

Tried installing xcrysden using homebrew, but says 'GL/gl.h' not found.
The error output looks like this:

==> Installing agiliopadua/extras/xcrysden
==> Patching
==> Applying xcrysden-homebrew.patch
patching file F/gengeom.f
patching file Tcl/Viewer.tcl
patching file Tcl/fs/FS_Main.tcl
patching file Tcl/fs/FS_Multi.tcl
patching file Tcl/stereo.tcl
patching file system/Make.macosx-x11
==> make xcrysden
Last 15 lines from /Users/mathholic/Library/Logs/Homebrew/xcrysden/01.make:
#   Compiling XCRYSDEN C-code  #
#                              #
#------------------------------#

cd C; /Library/Developer/CommandLineTools/usr/bin/make "TOPDIR=/private/tmp/xcrysden-20210510-56348-4am1zk/xcrysden-1.5.60" compile
make  TOPDIR=/private/tmp/xcrysden-20210510-56348-4am1zk/xcrysden-1.5.60
gcc -O2 -fPIC -DTOGL_USE_FONTS -DHAVE_NO_GETLINE -DUSE_INTERP_RESULT  -DUSE_FONTS -I/usr/local/include  -I/usr/local/opt/tcl-tk-x11/include -I/usr/local/opt/tcl-tk-x11/include -I/opt/X11/include -I/opt/X11/include  -c detnsplit.c
In file included from detnsplit.c:22:
./struct.h:47:10: fatal error: 'GL/gl.h' file not found
#include <GL/gl.h>
         ^~~~~~~~~
1 error generated.
make[2]: *** [detnsplit.o] Error 1
make[1]: *** [compile] Error 2
make: *** [src-C] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/agiliopadua/homebrew-extras/issues

These open issues may also help:
New version of xcrysden https://github.com/agiliopadua/homebrew-extras/issues/3

Error: Your Xcode (12.1) is outdated.
Please update to Xcode 12.4 (or delete it).
Xcode can be updated from the App Store.


Error: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

New version of xcrysden

First of all, thank you for the great job, your code works like a charm!
But there is a fresh version of xcrysden (1.6.2).
Is it possible to update formula?

Can't install xcrysden

Homebrew does not have formula "x11". By the way, I have Xquatz installed. Are there any options to use "my" available xquartz? Thank you.

==> Installing xcrysden from agiliopadua/extras
Error: No available formula with the name "x11" (dependency of agiliopadua/extras/xcrysden)
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
This similarly named formula was found:
x11vnc
To install it, run:
brew install x11vnc
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

Homebrew 1.7.0
Homebrew/homebrew-core (git revision b47f6e; last commit 2018-07-19)
MacOS 10.13.5
XQuartz 2.7.11 (xorg-server 1.18.4)

`depends_on :x11` is now deprecated.

Brew complains:

Warning: Calling depends_on :x11 is deprecated! Use depends_on specific X11 formula(e) instead.
Please report this issue to the agiliopadua/extras tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/agiliopadua/homebrew-extras/xcrysden.rb:11

And building xcrysden yeilds:

gcc -O2 -fPIC -DTOGL_USE_FONTS -DHAVE_NO_GETLINE -DUSE_INTERP_RESULT  -DUSE_FONTS -I/usr/local/include  -I/usr/local/opt/tcl-tk-x11/include -I/usr/local/opt/tcl-tk-x11/include -I/usr/X11/include -I/usr/X11/include  -c xcviewport.c
xcviewport.c:21:10: fatal error: 'GL/glu.h' file not found
#include <GL/glu.h>
         ^~~~~~~~~~
1 error generated.
make[2]: *** [xcviewport.o] Error 1
make[1]: *** [compile] Error 2
make: *** [src-C] Error 2

even though I have Xquratz installed and /usr/X11/include included.

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.