agiliopadua / homebrew-extras Goto Github PK
View Code? Open in Web Editor NEWSome Homebrew formulae.
Some Homebrew formulae.
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.
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/.
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?
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)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.