On Tuesday, July 20, 2010 06:58:17 pm Dustin J. Mitchell did opine:

> On Tue, Jul 20, 2010 at 5:34 PM, Gene Heskett <gene.hesk...@gmail.com> 
wrote:
> > But why should it even be trying to use a path starting with "/root"?
> >  That part of the script is running as the user amanda.
> 
> Maybe a difference in 'su' behavior between the various Linux distros?
> 
> Dustin

Humm, something I have never tried: 'su - amanda'  and by golly I now have 
the amanda env.  Lemme edit newmanda here.

That doesn't work, BUT I can become amanda with the 'su -amanda' syntax, cd 
into the src dir and exec gh.cf as the pure user amanda, and it is building 
as we sit here discussing it.  So it looks as if the problem is indeed in 
the su command.  I will relay this to the pclinuxos advanced users forum.

But I just checked that shell, and it did die in the make stage:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I../common-src -
I../common-src -I../amandad-src -I../amar-src -I../xfer-src -
I../perl/amglue -I../gnulib -I../ndmp-src -I/usr/lib/perl5/5.10.1/i386-
linux-thread-multi/CORE -I../device-src -I../server-src -I../client-src -
I../recover-src -fno-strict-aliasing -D_GNU_SOURCE -pthread -
I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DSWIG -g -O2 -fno-
strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT 
ghashtable.lo -MD -MP -MF .deps/ghashtable.Tpo -c amglue/ghashtable.c  -
fPIC -DPIC -o .libs/ghashtable.o
In file included from amglue/ghashtable.c:21:
amglue/amglue.h:25:20: error: EXTERN.h: No such file or directory
In file included from amglue/amglue.h:26,
                 from amglue/ghashtable.c:21:
/usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE/perl.h:976:21: error: 
embed.h: No such file or directory
/usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE/perl.h:2424:19: error: 
handy.h: No such file or directory
/usr/lib/perl5/5.10.1/i386-linux-thread-multi/CORE/perl.h:2605:24: error: 
unixish.h: No such file or directory
In file included from amglue/amglue.h:26,

With another 200 lines worth of fussing after that before it died for real.  
Missing header file in my install?

So at least 2 problems, sigh...

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
"The sixties were good to you, weren't they?"
-- George Carlin

Reply via email to