forked from compatibleone/accords-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.OpenBSD-5.2
41 lines (32 loc) · 1.4 KB
/
README.OpenBSD-5.2
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
====================================================
= OpenBSD 5.2 Specific Installation notes =
= (C) 2012 CityPassenger <vincent@renardias.com> =
====================================================
1. Dependencies:
- make sure your PKG_PATH is pointing to the appropriate place, for example:
export PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/5.2/packages/i386/
- then use the pkg_add command to make sure you have
- coreutils (for 'ginstall'),
- automake,
- autoconf,
- libtool,
- gmake and
- e2fsprogs (for uuid).
("pkg_add libtool-2.4.2", "pkg_add e2fsprogs-1.41.4p8", etc...)
2. Compilation:
- (Optional) in configure.ac, replace the uuid.h checking macro by this one:
"
AC_CHECK_HEADERS([/usr/local/include/uuid/uuid.h /usr/local/include/uuid.h],
[break],
[AC_MSG_ERROR([You are missing uuid development files])])
AC_SUBST([CFLAGS_UUID], ["-I/usr/local/include/uuid"])
"
- in scripts/Makefile.am, testsuite/Makefile.am, testsuite/basic/Makefile.am and testsuite/platform/Makefile.am
replace every occurence of calls to the 'install' command by 'ginstall'.
- use the command "AUTOCONF_VERSION=2.68 AUTOMAKE_VERSION=1.12 ./autogen.sh" (or whichever autoconf/automake
version you just installed).
- run ./configure CFLAGS=" -I/usr/local/include " LDFLAGS=" -L/usr/local/lib -le2fs-uuid "
- gmake
- gmake install
# You're done!
=