Comments (9)
Forgot to install commandline developer tools with "xcode-select --install". After doing that I still get an error:
$ make
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o outputs/fuse/fuse.o outputs/fuse/fuse.c
touch dislocker.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o dislocker.o dislocker.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o common.o common.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o sectors.o sectors.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o config.o config.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o xstd/xstdio.o xstd/xstdio.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o xstd/xstdlib.o xstd/xstdlib.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D__RUN_FUSE -DFUSE_USE_VERSION=26 -c -o outputs/prepare.o outputs/prepare.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -DVERSION=\"0.3.1\" -D_FILE_OFFSET_BITS=64 -DAUTHOR="\"Romain Coltel\"" -D__OS=\"Darwin\" -D__ARCH=\"x86_64\" -D__ARCH_X86_64 -D__DARWIN -I. -I/usr/local/include -I.. -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -c -o stretch_key.o stretch_key.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -D__DARWIN -I/usr/include -I../.. -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -c -o read_bekfile.o read_bekfile.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -D_FILE_OFFSET_BITS=64 -D__DARWIN -I/usr/include -I../../ -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -c -o recovery_password.o recovery_password.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -D_FILE_OFFSET_BITS=64 -D__DARWIN -I/usr/include -I../../ -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -c -o user_pass.o user_pass.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -D_FILE_OFFSET_BITS=64 -D__DARWIN -I/usr/include -I.. -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D __ARCH_X86_64 -c -o metadata.o metadata.c
cc -Wall -Werror -Wextra -DPROGNAME=\"dislocker\" -D_FILE_OFFSET_BITS=64 -D__DARWIN -I/usr/include -I.. -fstack-protector -fPIC -D_FORTIFY_SOURCE=2 -O1 -D __ARCH_X86_64 -c -o print_metadata.o print_metadata.c
print_metadata.c:88:10: error: array index 55 is past the end of the array (which contains 7 elements) [-Werror,-Warray-bounds]
return states_str[sizeof(states_str) - 1];
^ ~~~~~~~~~~~~~~~~~~~~~~
print_metadata.c:28:1: note: array 'states_str' declared here
static const char* states_str[] =
^
1 error generated.
make[1]: *** [print_metadata.o] Error 1
make: *** [libs] Error 2
from dislocker.
This second problem should be fixed now (commit 3fd3f45), I didn't know about the first one, thanks for sharing how to solve it.
from dislocker.
downloaded the latest developer brance, but still the same:
$ brew install brew_install_dislocker.rb
Error: uninitialized constant BrewInstallDislocker
Please report this bug:
https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formulary.rb:15:in `const_get'
/usr/local/Library/Homebrew/formulary.rb:15:in `get_formula_class'
/usr/local/Library/Homebrew/formulary.rb:76:in `klass'
/usr/local/Library/Homebrew/formulary.rb:50:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:198:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `block in formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:27:in `install'
/usr/local/Library/brew.rb:131:in `<main
from dislocker.
Ok, so your second post here was for issue #11, I didn't understand that.
I don't have access to a Mavericks install at the moment, I'll try to fix that when I have.
from dislocker.
I'm sorry I mixed that up. The second comment should belong to issue #11
from dislocker.
No problem, as long as that's clear now.
from dislocker.
Correct brew file (tested on 10.9.4):
#
# this brew file *must* be called 'dislocker.rb' to match the Formula
#
require "formula"
class Dislocker < Formula
homepage "https://github.com/Aorimn/dislocker"
url "https://github.com/Aorimn/dislocker/archive/master.zip"
sha1 "f366f788d5a79c975e553f496ffd4eadc8427b2a"
version "0.3.1"
depends_on "polarssl"
depends_on "osxfuse"
def install
system "make -C src fuse"
system "make -C src install INSTALL_PATH=#{prefix}/ MAN_PATH=#{prefix}/"
end
end
When executed :
chris@bigmac:~/dislocker-develop/src % brew install dislocker.rb
==> Downloading https://github.com/Aorimn/dislocker/archive/master.zip
Already downloaded: /Library/Caches/Homebrew/dislocker-0.3.1.zip
==> make -C src fuse
==> make -C src install INSTALL_PATH=/usr/local/Cellar/dislocker/0.3.1/ MAN_PATH=/usr/local/Cellar/dislocker/0.3.1/
/usr/local/Cellar/dislocker/0.3.1: 6 files, 120K, built in 3 seconds
from dislocker.
@hugsy Worked great for me thanks!
steves-mbp:Downloads stevemoss$ brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 531dae0f7104028cbb89b04d6cfd1ebad4cf8266
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.9.4-x86_64
Xcode: 5.1.1
Clang: 5.1 build 503
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-451
Perl: /Users/stevemoss/perl5/perlbrew/perls/perl-5.20.0/bin/perl
Python: /Users/stevemoss/.pyenv/shims/python
Ruby: /Users/stevemoss/.rbenv/shims/ruby
steves-mbp:Downloads stevemoss$ brew reinstall dislocker.rb
==> Reinstalling dislocker
==> Downloading https://github.com/Aorimn/dislocker/archive/master.zip
Already downloaded: /Library/Caches/Homebrew/dislocker-0.3.1.zip
==> make -C src fuse
==> make -C src install INSTALL_PATH=/usr/local/Cellar/dislocker/0.3.1/ MAN_PATH=/usr/local/Cellar/dislocker/0.3.1/
🍺 /usr/local/Cellar/dislocker/0.3.1: 6 files, 120K, built in 4 seconds
from dislocker.
@gawbul : thanks for testing
@hugsy : thanks for fixing the brew file
from dislocker.
Related Issues (20)
- Mounts read only after update Arch Linux HOT 1
- Can Dislocker decrypt Volume Master Key by using BitLocker Recovery Key?
- mbedtls - build fail HOT 2
- Release HOT 1
- svg in README.md no longer available
- NTFS errors after forced shutdown HOT 1
- delete this please - I was wrong expecting an error
- Not able to compile on Ubuntu 22.04 libmbedcrypto.so not found, ruby.h not found
- double free
- Dislocker On Mac with homebrew HOT 9
- Loop devices are not supported on ChromeOS HOT 1
- merge multi-byte characters password patch
- [Question] Can I use it with "Used Space Only" encryption without protectors? HOT 1
- dislocker-metadata returns multiple Recovery Key GUIDs HOT 2
- libpolarssl-dev --> libmbedtls-dev
- Decrypt when Bitlocker is "suspended" HOT 1
- dislocker 0.73 reporting as 0.72
- Errors compiling
- can the recovery key be written BACK to Bitlocker-ed partition?
- Recovery Password Option Does Not Work When Password Provided In Parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dislocker.