File: README.AIX

package info (click to toggle)
bacula 9.4.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 22,828 kB
  • sloc: ansic: 149,796; cpp: 28,073; sh: 24,976; makefile: 4,300; perl: 3,430; sql: 1,368; python: 125; xml: 64; awk: 51; sed: 25
file content (56 lines) | stat: -rw-r--r-- 1,927 bytes parent folder | download | duplicates (12)
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

Here are a few tips from James MacLean on
making Bacula work on an AIX system -- 15 Mar 2003:

Hi Folks,

I expect that an AIX with all the latest patches and a proper gcc will
compile. It is a boring story as Kern knows :), but here are the
highlights todate.

I have had success with :

/usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.5.0/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

Which was installed from www-frec.bull.com. But with that release, it 
collides with sys/types.h from AIX and I had to redefine on my own in 
src/bacula.h :

typedef int            crid_t;
typedef int            __daddr_t;
typedef unsigned int class_id_t;

With that I have had all parts of bacula running and did backups and a 
restore fine. 

So I then went to IBM's own (current) gcc :

/opt/freeware/GNUPro/bin/gcc -v
Reading specs from /opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/specs
gcc version 2.9-aix51-020209

from http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html

And found that it was not creating libbac.a correctly. Since then I've 
been trying to compile my own gcc only to find out last night after I 
broke down and looked at the GCC docs that there was a known bug in the 
AIX "as" compiler, for which there was a patch, and I have since applied. 

So now I am trying again to compile my own gcc, so that I can then try to 
compile Bacula and be comfortable that all is well with the latest Bacula 
and GCC.

We are at AIX oslevel 4.3.3.0, so even though we brought it right up to
date 150 days ago, there is already 250Megs of patches for it :(. So there 
may be more to this story :).

Bottom line is, yes it does work :), but because of our intstallation 
here, your setup might need to be tweaked to compile it... Then again it 
may not :).

How's that for a confusing Saturday story ;).

take care,
JES