Hi Brian,

Do you have GNU egrep installed? If you do then set EGREP to it and
rerun configure, i.e EGREP=/opt/csw/bin/gegrep. That should get your around these errors.

FYI to all the Solaris users. I've built the Amanda 3.1.1 packages for OpenCSW and they will be deployed this weekend. They can be downloaded from http://mirror.opencsw.org/experimental.html#darin in the meantime.

On 07/22/2010 03:25 PM, Brian Cuttler wrote:

Amanda users,

Almost got amanda to build the new version of Solaris, once I got
around the GLIB stuff.

If anyone can help me finish the build so I can isntall on a target
system I'd apreiciate the help.

thanks,

Brian


uname -a
SunOS curie 5.10 Generic_138889-03 i86pc i386 i86pc


[curie]: /tmp/am-inst/amanda-3.1.0/amanda-3.1.0>  echo $PATH
/usr/local/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/sfw/bin:/opt/sfw/gcc-3/bin:/opt/sfw/bin:/usr/local/bin:/opt/SUNWspro/bin:/usr/ucb:/local/molbio/phylip/i96pc

 [curie]:  ./configure --with-user=amanda --with-group=sys
--with-udpportrange=932,948 --with-tcpportrange=10084,10100
--with-gnutar=/usr/sfw/bin/gtar --with-gnuplot=/opt/sfw/bin/gnuplot
--without-libiconv-prefix --without-libintl-prefix
LDFLAGS="-L/usr/sfw/lib -L/opt/sfw/lib -R/usr/sfw/lib
-R/opt/sfw/lib" CPPFLAGS="-I/usr/sfw/include -I/opt/swf/include"
CFLAGS="-I/usr/sfw/include-I/opt/sfw/include -I/usr/local/include"
CC=/opt/SUNWspro/bin/cc

The configure had a lot of errors, many egrep syntax errors, macro
warnings and type mismatch errors, I can script and send the whole
thing if anyone wants to see it.

egrep: syntax error egrep: syntax error egrep: syntax error egrep:
syntax error egrep: syntax error egrep: syntax error egrep: syntax
error


"../common-src/amanda.h", line 99: warning: macro redefined:
textdomain "../common-src/amanda.h", line 100: warning: macro
redefined: bindtextdomain "../common-src/amanda.h", line 101:
warning: macro redefined: gettext "../common-src/amanda.h", line 102:
warning: macro redefined: dgettext "../common-src/amanda.h", line
103: warning: macro redefined: dcgettext "../common-src/amanda.h",
line 104: warning: macro redefined: ngettext
"../common-src/amanda.h", line 106: warning: macro redefined:
dngettext "../common-src/amanda.h", line 108: warning: macro
redefined: dcngettext

and a few linker warnings.

ld: warning: file ../common-src/.libs/libamanda.so: linked to
/tmp/am-inst/amanda-3.1.0/amanda-3.1.0/common-src/.libs/libamanda.so:
attempted multiple inclusion of file

However the configure ran to completion.

But both 3.1.0 and 3.1.1 fail to make.

A re-run of make gives the following output.

Making all in example make  all-am Making all in packaging Making all
in installcheck make: Fatal error in reader: Makefile, line 1216:
Macro assignment on dependency line Current working directory
/tmp/am-inst/amanda-3.1.0/amanda-3.1.0/installcheck *** Error code 1
The following command caused the error: failcom='exit 1'; \ for f in
x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*)
failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo
all-recursive | sed s/-recursive//`; \ list='.  gnulib  config
common-src  amar-src  amandad-src  xfer-src  ndmp-src    client-src
application-src  device-src server-src changer-src    recover-src
oldrecover-src  amplot  perl  po  man  example  packaging
installcheck'; for subdir in $list; do \ echo "Making $target in
$subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \
local_target="$target-am"; \ else \ local_target="$target"; \ fi; \
(CDPATH="${ZSH_VERSION+.}:"&&  cd $subdir&&  make  $local_target) \
|| eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make
"$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error:
Command failed for target `all-recursive' Current working directory
/tmp/am-inst/amanda-3.1.0/amanda-3.1.0 *** Error code 1 make: Fatal
error: Command failed for target `all'



--- Brian R Cuttler                 [email protected]
Computer Systems Support        (v) 518 486-1697 Wadsworth Center
(f) 518 473-6384 NYS Department of Health        Help Desk 518
473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.
It is intended only for the addressee.  If you received this in error
or from someone who was not authorized to send it to you, please do
not distribute, copy or use it or any attachments.  Please notify
the sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.



--
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: [email protected]

Reply via email to