Re: Issue making amanda on Solaris 8

2005-02-20 Thread Eric Siegerman
On Wed, Feb 09, 2005 at 12:30:44PM -0800, Steve H wrote:
 killpgrp.c:90: error: too many arguments to function `getpgrp'

One common cause of weird build problems on Solaris is using the
wrong tool set.  I don't know about this specific error, but it
sort of sounds like a mismatch between the variant of getpgrp()
that configure detected, and the one that the C compiler
subsequently tried to use.

To fix it, make sure that /usr/ccs/bin is in your PATH, and that
/usr/ucb is *not*.  If that doesn't work, try it the other way
around :-)

Hmmm, looking at the Solaris 8 box on which I'm typing this, it
seems I built Amanda with both /usr/ccs/bin and /usr/ucb in my
path.  But they're in the order stated here; perhaps you have
/usr/ucb first.  Maybe it's sufficient to make sure that
/usr/ccs/bin precedes /usr/ucb.

After making any such path change, it's best to make distclean
and rerun configure; otherwise, stale feature detections from the
previous setup might continue to screw things up.

--

|  | /\
|-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED]
|  |  /
The animal that coils in a circle is the serpent; that's why so
many cults and myths of the serpent exist, because it's hard to
represent the return of the sun by the coiling of a hippopotamus.
- Umberto Eco, Foucault's Pendulum


Re: Issue making amanda on Solaris 8

2005-02-20 Thread Steve H
That worked great, thanks for the help.

Rookie mistake.
Steve
--- Paul Bijnens [EMAIL PROTECTED] wrote:

 Steve H wrote:
 
  I am having an issue on Solaris 8.  After running ./configure with the
  appropiate options, I run make, which throws this error:
  
  gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src  
 -D_LARGEFILE_SOURCE
  -D_FILE_OFFSET_BITS=64  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
 -c
  `test -f killpgrp.c || echo './'`killpgrp.c
  killpgrp.c: In function `main':
  killpgrp.c:90: error: too many arguments to function `getpgrp'
  *** Error code 1
  make: Fatal error: Command failed for target `killpgrp.o'
  Current working directory /usr/local/amanda-2.4.3/client-src
  *** Error code 1
  make: Fatal error: Command failed for target `all-recursive'
  
  Not quite sure how to handle this fatal error.  Any help is appreciated.
 
 Dirty config.status file (from a different architecture?
 Do make distclean before running ./configure .
 
 
 -- 
 Paul Bijnens, XplanationTel  +32 16 397.511
 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
 http://www.xplanation.com/  email:  [EMAIL PROTECTED]
 ***
 * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
 * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
 * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
 * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
 * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
 * ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
 ***
 




__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com