I did as you specified. I got the exactly same error when running make.
Any suggestions?
Regards, Lei
-----Original Message-----
From: Joshua Baker-LePain [mailto:jlb17 AT duke DOT edu]
Sent: Tuesday, May 17, 2005 9:52 AM
To: Lei Zhong
Cc: amanda-users AT amanda DOT org
Subject: RE: Make error
On Tue, 17 May 2005 at 9:38am, Lei Zhong wrote
> I created user:amanda under group:disk. I downloaded
> amanda-2.4.5.tar.gz into /root. First I su amanda, then I ran tar
-xzf
> amanda-2.4.5.tar.gz. I edited config.site file and put it at
> /usr/local/share/. Then I ran ./configure. Everything went fine up
to
> this point. Then I ran make. I got an error " make[1]: *** No rule
to
> make target `../server-src/libamserver.la', needed by `amidxtaped'.
> Stop.
> make[1]: Leaving directory `/root/amanda-2.4.5/restore-src'
> make: *** [all-recursive] Error 1"
> Does anyone know how to fix it? Thanks, Lei
That all sounds terribly convoluted to me. The best (IMO) way to build
amanda is to:
1) Download, configure, and 'make' amanda all as a "normal" user -- not
the amanda user, and not root. lzhong would be a good choice. ;)
And
do this all in, e.g., ~lzhong/src.
2) Run 'make install' as root.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
|