forked from jonstewart/libewf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.macosx
52 lines (36 loc) · 1.38 KB
/
README.macosx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Mac OS X
* missing libtoolize
* building multiple architure binaries
* building ewfmount with MacFuse
* building ewfmount with OSXFuse
Missing libtoolize
Use glibtoolize instead
Building multiple architecture binaries
E.g. on Mac OS X 10.4 to build an PPC and Intel 32-bit multi binary, run the following commands:
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386" \
./configure --disable-dependency-tracking --prefix=$PWD/macosx/tmp/
make
make install
E.g. on Mac OS X 10.6 to build an Intel 32-bit and 64-bit multi binary, run the following commands:
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -arch i386" \
LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -arch x86_64 -arch i386" \
./configure --disable-dependency-tracking --prefix=$PWD/macosx/tmp/
make
make install
The binaries are installed in $PWD/macosx/tmp/
Building ewfmount with MacFuse
Note that MacFuse is no longer maintained and OSXFuse is an alternative
Install MacFuse
http://code.google.com/p/macfuse/
MacFuse is known to include the non-existing file sys/statfs.h, therefore create it:
sudo touch /usr/include/sys/statfs.h
./configure
make
sudo make install
Building ewfmount with OSXFuse
Install OSXFuse
http://osxfuse.github.com/
./configure --with-libfuse=/usr/local/
make
sudo make install