proxmark / homebrew-proxmark3 Goto Github PK
View Code? Open in Web Editor NEWHomebrew Tap for OS X users
License: MIT License
Homebrew Tap for OS X users
License: MIT License
$ brew install proxmark3
==> Installing proxmark3 from proxmark/proxmark3
==> Downloading https://github.com/proxmark/proxmark3/archive/v2.3.0.tar.gz
Already downloaded: /Users/lukerehmann/Library/Caches/Homebrew/proxmark3-2.3.0.tar.gz
==> make clean
==> make all
Last 15 lines from /Users/lukerehmann/Library/Logs/Homebrew/proxmark3/02.make:
from /usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/stdio.h:61,
from ../include/hitagS.h:13,
from apps.h:19,
from start.c:13:
/usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/sys/_stdint.h:48:20: error: conflicting types for 'uint32_t'
typedef __uint32_t uint32_t ;
^
In file included from ../include/usb_cmd.h:21:0,
from ../include/proxmark3.h:17,
from start.c:12:
./stdint.h:21:24: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
make[1]: *** [obj/start.o] Error 1
make: *** [armsrc/all] Error 2
When you build Proxmark with these Homebrew scripts, it downloads a ZIP file of a tagged release from GitHub:
homebrew-proxmark3/proxmark3.rb
Line 4 in 801cb4a
GitHub does not include any git metadata in these ZIP files, which triggers Proxmark/proxmark3#12.
As a result, anyone flashing firmware built by these Homebrew scripts will have version information that looks like one of the (many) sellers of Proxmark3 hardware which do not comply with the GPL, and makes troubleshooting more difficult.
MacOSX High Sierra 10.13.4
brew install proxmark3
==> Installing proxmark3 from proxmark/proxmark3
==> Downloading https://github.com/proxmark/proxmark3/archive/v3.0.1.tar.gz
Already downloaded: /Users/zua691/Library/Caches/Homebrew/proxmark3-3.0.1.tar.gz
==> make clean
==> make all
Error: No such file or directory - client/emv/capk.txt
brew install --HEAD proxmark3 works
This seems to be superfluous. Remove?
My environment: macOS Sierra 10.12.3
Last 15 lines from /Users/xxxxxxxx/Library/Logs/Homebrew/proxmark3/02.make:
from /usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/stdio.h:61,
from ../include/hitagS.h:13,
from apps.h:19,
from start.c:13:
/usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/sys/_stdint.h:48:20: error: conflicting types for 'uint32_t'
typedef __uint32_t uint32_t ;
^
In file included from ../include/usb_cmd.h:21:0,
from ../include/proxmark3.h:17,
from start.c:12:
./stdint.h:21:24: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
make[1]: *** [obj/start.o] Error 1
make: *** [armsrc/all] Error 2
I'm on MacOS Sierra 10.12.4, installed latest Xcode and Homebrew.
brew install -HEAD proxmark3
==> Installing proxmark3 from proxmark/proxmark3
==> Downloading https://github.com/proxmark/proxmark3/archive/v2.3.0.tar.gz
Already downloaded: /Users/jinjirosan/Library/Caches/Homebrew/proxmark3-2.3.0.tar.gz
==> make clean
==> make all
Last 15 lines from /Users/jinjirosan/Library/Logs/Homebrew/proxmark3/02.make:
from /usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/stdio.h:61,
from ../include/hitagS.h:13,
from apps.h:19,
from start.c:13:
/usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/sys/_stdint.h:48:20: error: conflicting types for 'uint32_t'
typedef __uint32_t uint32_t ;
^
In file included from ../include/usb_cmd.h:21:0,
from ../include/proxmark3.h:17,
from start.c:12:
./stdint.h:21:24: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
make[1]: *** [obj/start.o] Error 1
make: *** [armsrc/all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/proxmark/homebrew-proxmark3/issues
Mac OS X 10.12.5
Homebrew 1.2.2-2-gb9cfd2cb5
Homebrew/homebrew-core (git revision fafe3; last commit 2017-06-05)
pfish-mbp:~ pfish$ brew install --HEAD proxmark3
==> Installing proxmark3 from proxmark/proxmark3
==> Cloning https://github.com/proxmark/proxmark3.git
Updating /Users/pfish/Library/Caches/Homebrew/proxmark3--git
==> Checking out branch master
==> make clean
==> make all
Last 15 lines from /Users/pfish/Library/Logs/Homebrew/proxmark3/02.make:
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_MACOSX -c -o lua.o lua.c
gcc -o lua lua.o liblua.a -lm -lreadline
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_MACOSX -c -o luac.o luac.c
gcc -o luac luac.o liblua.a -lm -lreadline
gcc -MT obj/proxmark3.o -MMD -MP -MF obj/proxmark3.Td -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -g -O3 -DHAVE_GUI -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/proxmark3.o proxmark3.c
mv -f obj/proxmark3.Td obj/proxmark3.d
gcc -MT obj/uart.o -MMD -MP -MF obj/uart.Td -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -g -O3 -DHAVE_GUI -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/uart.o uart.c
mv -f obj/uart.Td obj/uart.d
gcc -MT obj/util.o -MMD -MP -MF obj/util.Td -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -g -O3 -DHAVE_GUI -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/util.o util.c
util.c:670:17: error: use of undeclared identifier '_SC_NPROCESSORS_ONLN'
return sysconf(_SC_NPROCESSORS_ONLN);
^
1 error generated.
make[1]: *** [obj/util.o] Error 1
make: *** [client/all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/proxmark/homebrew-proxmark3/issues
pfish-mbp:~ pfish$
Steps carried out:
brew tap proxmark/proxmark3
brew install proxmark3
result:
Last 15 lines from /Users/Lewis/Library/Logs/Homebrew/proxmark3/02.make:
from /usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/stdio.h:61,
from ../include/hitagS.h:13,
from apps.h:19,
from start.c:13:
/usr/local/Cellar/arm-none-eabi-gcc/20160926/arm-none-eabi/include/sys/_stdint.h:48:20: error: conflicting types for 'uint32_t'
typedef __uint32_t uint32_t ;
^
In file included from ../include/usb_cmd.h:21:0,
from ../include/proxmark3.h:17,
from start.c:12:
./stdint.h:21:24: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
make[1]: *** [obj/start.o] Error 1
make: *** [armsrc/all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/proxmark/homebrew-proxmark3/issues
Second attempt:
brew install --HEAD proxmark3
result:
Last 15 lines from /Users/Lewis/Library/Logs/Homebrew/proxmark3/02.make:
gcc -o lua lua.o liblua.a -lm -lreadline
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_MACOSX -c -o luac.o luac.c
gcc -o luac luac.o liblua.a -lm -lreadline
gcc -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../tools -I../zlib -I/opt/local/include -I../liblua -Wall -g -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/proxmark3.o proxmark3.c
gcc -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../tools -I../zlib -I/opt/local/include -I../liblua -Wall -g -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/uart.o uart.c
gcc -std=c99 -D_ISOC99_SOURCE -I. -I../include -I../common -I../tools -I../zlib -I/opt/local/include -I../liblua -Wall -g -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/util.o util.c
util.c:44:27: error: use of undeclared identifier 'CMIN'
Ntty.c_cc[VMIN] = CMIN; /* minimum time to wait */
^
util.c:45:27: error: use of undeclared identifier 'CTIME'
Ntty.c_cc[VTIME] = CTIME; /* minimum characters to wait for */
^
2 errors generated.
make[1]: *** [obj/util.o] Error 1
make: *** [client/all] Error 2
Latest version of OSX is installed and a fresh install of Hombrew was also installed.
Any ideas?
@zhovner I've made an inital commit with homebrew files. Would you mind test and verifying?
I believe I just bricked my device (not sure how else to recover it other than JTAG):
Proxmark/proxmark3#994
It would be very helpful to others that follow if a warning message was displayed to use this instead:
https://github.com/RfidResearchGroup/homebrew-proxmark3
Or even just remove this tap since I don't think anyone will be using it
When I run: "brew install proxmark3" I got this error:
Last 15 lines from /Users/user/Library/Logs/Homebrew/proxmark3/02.make:
from /usr/local/Cellar/arm-none-eabi-gcc/20150921/arm-none-eabi/include/stdio.h:48,
from ../include/hitagS.h:13,
from apps.h:19,
from start.c:13:
/usr/local/Cellar/arm-none-eabi-gcc/20150921/arm-none-eabi/include/sys/_stdint.h:32:20: error: conflicting types for 'uint32_t'
typedef __uint32_t uint32_t ;
^
In file included from ../include/usb_cmd.h:21:0,
from ../include/proxmark3.h:17,
from start.c:12:
./stdint.h:21:24: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
make[1]: *** [obj/start.o] Error 1
make: *** [armsrc/all] Error 2
We need to edit MacOS section in all Readmes and wiki pages.
Hi,
I followed this tutorial trying to install Proxmark3 software on MacOS
https://github.com/Proxmark/proxmark3/wiki/MacOS
but failed on 'brew install proxmark3'
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).
No changes to formulae.
==> Installing proxmark3 from proxmark/proxmark3
==> Downloading https://github.com/proxmark/proxmark3/archive/v2.3.0.tar.gz
Already downloaded: /Users/nuomi/Library/Caches/Homebrew/proxmark3-2.3.0.tar.gz
==> make clean
==> make all
Last 15 lines from /Users/nuomi/Library/Logs/Homebrew/proxmark3/02.make:
from /usr/local/Cellar/arm-none-eabi-gcc/20150921/arm-none-eabi/include/stdio.h:48,
from ../include/hitagS.h:13,
from apps.h:19,
from start.c:13:
/usr/local/Cellar/arm-none-eabi-gcc/20150921/arm-none-eabi/include/sys/_stdint.h:32:20: error: conflicting types for 'uint32_t'
typedef __uint32_t uint32_t ;
^
In file included from ../include/usb_cmd.h:21:0,
from ../include/proxmark3.h:17,
from start.c:12:
./stdint.h:21:24: note: previous declaration of 'uint32_t' was here
typedef unsigned int uint32_t;
^
make[1]: *** [obj/start.o] Error 1
make: *** [armsrc/all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/proxmark/homebrew-proxmark3/issues
any help? thank you
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.