RE: Make error

2005-05-17 Thread Lei Zhong
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

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon LaBadie
Sent: Friday, May 13, 2005 3:50 PM
To: amanda-users@amanda.org
Subject: Re: Make error

On Fri, May 13, 2005 at 10:44:15AM -0400, Lei Zhong wrote:
 I created user:amanda under group: disk.  When I su amanda, ran make,
I
 got Permission denied error.  Amanda is the owner of
 /root/amanda-2.4.5/.
 
but who owns everything under it?
are it, and the directories under it writable by amanda?
did you unpack it as amanda or as some other user?
did you run the configure command?
  what options?
  as what user?

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)



RE: Make error

2005-05-17 Thread Joshua Baker-LePain
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


RE: Make error

2005-05-17 Thread Lei Zhong
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:[EMAIL PROTECTED] 
Sent: Tuesday, May 17, 2005 9:52 AM
To: Lei Zhong
Cc: amanda-users@amanda.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



Re: Make error

2005-05-13 Thread Jon LaBadie
On Fri, May 13, 2005 at 10:44:15AM -0400, Lei Zhong wrote:
 I created user:amanda under group: disk.  When I su amanda, ran make, I
 got Permission denied error.  Amanda is the owner of
 /root/amanda-2.4.5/.
 
but who owns everything under it?
are it, and the directories under it writable by amanda?
did you unpack it as amanda or as some other user?
did you run the configure command?
  what options?
  as what user?

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: make error.

2001-03-21 Thread John R. Jackson

make: don't know how to make amoverview. Stop

That's a bug in your version of make.  Here's the latest from David
Wolfskill ([EMAIL PROTECTED]) who's tracked it the closest:

  Summarizing:  either installing GNU make (from /usr/ports/devel/gmake)
  and using gmake to build amanda, or patching the native FreeBSD make
  per http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24102 should do the
  trick for you.  And regardless of which approach you tak, please update
  http://www.freebsd.org/cgi/query-pr.cgi?pr=23328 to let folks know that
  action to resolve this would be helpful.  (If you need to modify the
  patches in http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24102 for 4.2-R,
  it would be good to follow up on that, as well.)

Jeff MacDonald,

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: make error.

2001-03-21 Thread Jeff MacDonald

gmake worked

thanks

On Wed, 21 Mar 2001, John R. Jackson wrote:

 make: don't know how to make amoverview. Stop
 
 That's a bug in your version of make.  Here's the latest from David
 Wolfskill ([EMAIL PROTECTED]) who's tracked it the closest:
 
   Summarizing:  either installing GNU make (from /usr/ports/devel/gmake)
   and using gmake to build amanda, or patching the native FreeBSD make
   per http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24102 should do the
   trick for you.  And regardless of which approach you tak, please update
   http://www.freebsd.org/cgi/query-pr.cgi?pr=23328 to let folks know that
   action to resolve this would be helpful.  (If you need to modify the
   patches in http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24102 for 4.2-R,
   it would be good to follow up on that, as well.)
 
 Jeff MacDonald,
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
 

Jeff MacDonald,

-
PostgreSQL Inc  | Hub.Org Networking Services
[EMAIL PROTECTED]  | [EMAIL PROTECTED]
www.pgsql.com   | www.hub.org
1-902-542-0713  | 1-902-542-3657
-
Facsimile : 1 902 542 5386
IRC Nick  : bignose
PGP Public Key : http://bignose.hub.org/public.txt