On Tue, Jun 24, 2003 at 10:36:24AM +0200, Mikkel Gadegaard wrote: > Hey people > > I have a problem with installing amanda. Until recently I had Amanda running > on a RedHat 8.0 (amanda installed whith RedHat), that machine wasn't big > enough so I got a bigger machine and installed RedHat 9.0 on it. This time > without including Amanda because I wanted to try out compiling and > installing on my own :-) > > When I do the 3 steps ./configure..... make and make install no errors are > reported but a lot of directories are missing when it is done. The things > installed is /usr/local/sbin/* /usr/local/lib/* /usr/local/libexec/* > /usr/local/man/* and thats that. No configdir none of the files under > /var/.... (which I had in the default installation on the old machine. > > My question is: Do I have to create all these files and directories myself > or have I done something wrong? > > I've used several different options with ./configure and I have wiped the > config between each new attempt. Latest attempt I used > > ./configure --with-user=backup --with-group=disk --with-config=BackUp > (trying to let amanda choose everything on it's own. > > Hope someone can help me out ;-)
You can always install the Red Hat supplied Amanda source RPM, and look at the .spec file I used to build the binary RPMs. It contains all the arguments passed to configure, among other useful information. I don't remember if "make install" is supposed to install the configdir and related files or whether the amanda.spec file does it by hand. The spec file remembers so I don't have to. :-) As I vaguely recall, /usr/local is intended for locally compiled programs, which is why most configure scripts use it as the default installation location. However, packages shipped as part of the operating system (eg anything Red Hat ships), should never go in that directory. Certainly, when it comes upgrade time, being able to find all the packages you built by doing an ls on /usr/local/bin makes the upgrade go a lot smoother. -- JF