Date: Wed, 17 May 2000 11:08:02 -0400 From: Mitch Collinsworth <mkc@Graphics.Cornell.EDU> To: Oscar Ricardo Silva <oscars@mail.utexas.edu> Cc: freebsd-questions@FreeBSD.ORG, amanda-users@amanda.org Subject: Re: Error finding scsi.h (attempting to compile Amanda 2.4.2-beta1) Message-ID: <200005171508.LAA47372@larryboy.graphics.cornell.edu> In-Reply-To: Message from Oscar Ricardo Silva <oscars@mail.utexas.edu> of "Fri, 12 May 2000 10:49:30 CDT." <4.2.2.20000512104036.00ac72a0@mail.utexas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
First off, you'll find more amanda expertise on the amanda-users@amanda.org
list, so I'm copying this there.
I hadn't tried building 2.4.2-beta1 before reading your message, so I
gave it a whirl. My experience is that it wouldn't build properly
without tweaking configure's output first. My build stopped in
security.c with:
security.c:348: warning: passing arg 1 of `wait' from incompatible pointer type
security.c:377: invalid operands to binary !=
*** Error code 1
Stop.
I got around this by editting config.cache and changing
cf_cv_arg_union_wait=${cf_cv_arg_union_wait='yes'} to 'no', then
running configure again, followed by make. This was on FreeBSD
4.0-RELEASE.
The no such file errors you listed look like what configure says
when it's hunting around in /usr/include to find where each OS
keeps these files. Unless there are other problems I wouldn't
worry too much about them (assuming you did install the include
files with the OS, that is).
-Mitch
>I'm attempting to use Amanda 2.4.2-beta1 on a FreeBSD 4.0 machine, with an
>Overland Data 15-slot DLT 7000 Autoloader. The autoloader is externally
>connected to an Adaptec AHA2940U2W PCI SCSI host adapter. The machine
>works fine with the loader, I've been able to successfully issue "mt" and
>"chio" commands.
>
>Amanda includes some scripts that allow it to communicate with the
>autoloader, expanding the automation of the backup
>rotation. Unfortunately, one of the recommend scripts, chg-scsi, doesn't
>compile because "required operating system environments are missing". When
>I looked through the config.log, I found the following:
>
>configure:5947: wait.h: No such file or directory
>configure:6197: chio.h: No such file or directory
>configure:6197: scsi/scsi_ioctl.h: No such file or directory
>configure:6197: sys/dsreq.h: No such file or directory
>configure:6197: sys/mntent.h: No such file or directory
>configure:6197: sys/scarray.h: No such file or directory
>configure:6197: sys/scsiio.h: No such file or directory
>configure:6197: sys/scsi.h: No such file or directory
>configure:6197: sys/scsi/impl/uscsi.h: No such file or directory
>configure:6197: sys/scsi/scsi/ioctl.h: No such file or directory
>configure:6197: sys/statfs.h: No such file or directory
>configure:6197: sys/statvfs.h: No such file or directory
>configure:6197: sys/tape.h: No such file or directory
>
>
>Any thoughts? Suggestions? Pointers?
>
>Any information would be extremely appreciated.
>
>
>
>
>Oscar
>
>
>
>"Don't believe the hype"
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005171508.LAA47372>
