Amanda-Users

Re: build 2.6.0p2 error, Solaris platform

2008-10-06 18:38:03
Subject: Re: build 2.6.0p2 error, Solaris platform
From: Chris Hoogendyk <hoogendyk AT bio.umass DOT edu>
To: Brian Cuttler <brian AT wadsworth DOT org>
Date: Mon, 06 Oct 2008 17:20:31 -0400


Brian Cuttler wrote:
Amanda users,

My build of amanda on solaris is failing, I am building on
the same system that I built the previous version on. Well,
the previous version I've been installing, I build a local
kit by target architecture, including common switches like
porttrange whether or not I need them on "all" systems or
just a few. I did not build the more recent Amanda release
(ie, amanda's previous version).

Configure is failing for me, I don't know why, but the following
is what I do know.

                                                thank you,

                                                Brian

[copahue]: /tmp/am-inst/amanda-2.6.0p2 > ./configure 
--with-tcpportrange=10084,10100 --with-udpportrange=932,948 --with-user=amanda 
--with-group=sys --with-gtar

The configure runs fine until this point.

checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking if sockaddr_storage struct exists... (cached) yes
checking for int... yes
checking size of int... configure: error: cannot compute sizeof (int)
See `config.log' for more details.

Checking the amanda archives, I see the error can be misleading
so I checked carefully the config.log file.

This must be the end of the output defs section.

psdir='${docdir}'
sbindir='/usr/local/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='sparc-sun-solaris2.9'
target_alias=''
target_cpu='sparc'
target_os='solaris2.9'
target_vendor='sun'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "amanda"
#define VERSION "2.6.0p2"
#define _GNU_SOURCE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1

<<SKIPPING LINES>>

#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SOCKADDR_STORAGE 1

configure: exit 77

It's hard to tell from just what you've shown here. I can find comparable stretches in my config.log, but mine ends with "configure: exit 0". I happen to be building right now 2.6.0p2 on Solaris 10 on ultraT2 (a T5220).

Are you sure you've covered all the dependencies and there isn't some library or something that it can't find? Dependencies are listed here:
  http://wiki.zmanda.com/index.php/Installation
  http://wiki.zmanda.com/index.php/Installation/Amanda%27s_Requirements

So, you're on SPARC with Solaris 9, can you tell us anything more about your build environment, your environment variables, etc.?


--
---------------

Chris Hoogendyk

-
  O__  ---- Systems Administrator
 c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<hoogendyk AT bio.umass DOT edu>

---------------
Erdös 4



<Prev in Thread] Current Thread [Next in Thread>