summaryrefslogtreecommitdiffstats
path: root/README.aix
blob: 2bcec224c43e3b741da7c79a80d6b983f02a313e (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
The AIX build will only build the librados library.

Build Prerequisites
===================

The following AIX packages are required for developing and compilation, they have been installed via the AIX-rpm (rpm) packages:

	AIX-rpm
	tcl
	tk
	expect
	curl
	readline
	libpng
	mpfr
	m4
	autoconf
	gettext
	less
	perl
	pcre
	rsync
	zlib
	gcc-cpp
	libffi
	pkg-config
	libiconv
	glib2
	info
	libidn
	openldap
	python-tools
	bzip2
	python
	sed
	grep
	libtool
	nspr
	nss-util
	sqlite
	nss-softokn
	nss-softokn-freebl
	libstdc++
	gmp
	coreutils
	nss
	nss-tools
	nss-sysinit
	nspr-devel
	nss-util-devel
	nss-softokn-devel
	nss-softokn-freebl-devel
	nss-devel
	make
	libsigsegv
	automake
	libmpc
	libgcc
	gcc
	libstdc++-devel
	gcc-c++
	adns
	tcsh
	bash
	getopt
	db4
	expat
	tcl
	freetype2
	fontconfig
	libXrender
	libXft
	tk
	python-libs
	tkinter
	gdb
	git


Download and Compile Boost 1.59 (or higher)

Building Ceph
=============

	export CXX="c++ -maix64"
	export CFLAGS="-g -maix64"
	export OBJECT_MODE=64
	export LDFLAGS="-L/usr/lib64 -L/opt/freeware/lib64 -L<pathtoboost>/boost_1_59_0/stage/lib -Wl,-brtl -Wl,-bbigtoc"
	export CXXFLAGS="-I/opt/freeware/include -I<pathtoboost>/boost_1_59_0"

        ./autogen.sh
	Then manually modify the config.guess
	-    *:AIX:*:[456])
	+    *:AIX:*:[4567])

        ./configure --disable-server --without-fuse --without-tcmalloc --without-libatomic-ops --without-libaio --without-libxfs
	cd src
        gmake librados.la