Merge pull request #55565 from BBoozmen/oozmen_avoid_path_normalization
[ceph-ci.git] / README.aix
1
2 The AIX build will only build the librados library.
3
4 Build Prerequisites
5 ===================
6
7 The following AIX packages are required for developing and compilation, they have been installed via the AIX-rpm (rpm) packages:
8
9         AIX-rpm
10         tcl
11         tk
12         expect
13         curl
14         readline
15         libpng
16         mpfr
17         m4
18         autoconf
19         gettext
20         less
21         perl
22         gdbm
23         pcre
24         rsync
25         zlib
26         gcc-cpp
27         libffi
28         pkg-config
29         libiconv
30         glib2
31         info
32         libidn
33         openldap
34         python-tools
35         bzip2
36         python
37         sed
38         grep
39         libtool
40         nspr
41         nss-util
42         sqlite
43         nss-softokn
44         nss-softokn-freebl
45         libstdc++
46         gmp
47         coreutils
48         nss
49         nss-tools
50         nss-sysinit
51         nspr-devel
52         nss-util-devel
53         nss-softokn-devel
54         nss-softokn-freebl-devel
55         nss-devel
56         make
57         libsigsegv
58         automake
59         libmpc
60         libgcc
61         gcc
62         libstdc++-devel
63         gcc-c++
64         adns
65         tcsh
66         bash
67         getopt
68         db4
69         expat
70         tcl
71         freetype2
72         fontconfig
73         libXrender
74         libXft
75         tk
76         python-libs
77         tkinter
78         gdb
79         git
80
81
82 Download and Compile Boost 1.59 (or higher)
83
84 Building Ceph
85 =============
86
87         export CXX="c++ -maix64"
88         export CFLAGS="-g -maix64"
89         export OBJECT_MODE=64
90         export LDFLAGS="-L/usr/lib64 -L/opt/freeware/lib64 -L<pathtoboost>/boost_1_59_0/stage/lib -Wl,-brtl -Wl,-bbigtoc"
91         export CXXFLAGS="-I/opt/freeware/include -I<pathtoboost>/boost_1_59_0"
92
93         ./autogen.sh
94         Then manually modify the config.guess
95         -    *:AIX:*:[456])
96         +    *:AIX:*:[4567])
97
98         ./configure --disable-server --without-fuse --without-tcmalloc --without-libatomic-ops --without-libaio --without-libxfs
99         cd src
100         gmake librados.la
101