|
|
Why does Amanda fail to build on my system? |
| One of the most common reasons for compile-time errors is stale information
in `config.cache', after a build on a different platform using the same
build tree. In order to avoid this problem, make sure you don't ever reuse
build trees across platforms, or at least run `make distclean' before
running `configure' on another platform.
Another common reason for failure, that causes link-time errors, is a problem in libtool that causes it to search for symbols in already-installed amanda libraries, instead of in the just-built ones. This problem is known to affect SunOS 4.1.3 and FreeBSD. You can usually work around it by specifying a different prefix when you configure the new version of Amanda. However, it may not work if the previous version of Amanda was installed in /usr/local and gcc searches this directory by default; in this case, you must either remove the old libraries (which you don't want to do, right? :-) or call configure with the flag --disable-libtool. In this case, Amanda won't create shared libraries, so binaries will be larger, but you may worry about that later.
You may also want to take a look at docs/SYSTEM.NOTES, as well as
to the Amanda Patches Page http://www.amanda.org/patches.html for other
known problems. If everything fails, you should read the manual, but since
we don't have one yet, just post a help request to the amanda-users mailing
list, showing the last few lines of the failed build. | |
| The SYSTEM.NOTES for HP-UX state that one should use /bin/posix/sh instead of /bin/sh to run configure due to the 2K buffer overflow. This seems to have changed at some point. I'm running HP-UX 10.20 and /bin/sh, /usr/bin/sh, and /bin/posix/sh are all the same shell. I got configure to run by using ksh; i.e., change the first line of the configure script to "#! /usr/bin/ksh".
swalton@galileo.csun.edu | |
| If you are having problems building you should makes sure you are using gmake as opposed to the make that ships with your system. FreeBSD 4.x specifically will barf claiming it doesn't know how to make a variety of bits for the server. Using a recent gmake makes all problems go away.
paul-ml@egate.net | |
| [Append to This Answer] |
| Next: |
|
| ||||||||