Hello list!
I'm struggling to compile 2.6.1 (or 2.6.1p2 - same error) on Solaris 10
x86_64 with gcc packages from sunfreeware. I've gone through a few
iterations, and have also followed the instructions for PKG_CONFIG at OS
specific notes here in the FAQ.
When I run configure without pointing PKG_CONFIG at /usr/bin/pkg-config,
I get a failure:
checking for GLIB - version >= 2.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GLIB is incorrectly
installed.
configure: error: glib not found or too old; See
http://wiki.zmanda.com/index.php/Installation for help
Pointing the PKG_CONFIG var at the proper location lets configure pass,
but I then get:
gcc -DHAVE_CONFIG_H -I. -I../config -D_REENTRANT -fno-strict-aliasing
-D_GNU_SOURCE -I/usr/local/include -mt -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wno-error -Wno-sign-compare
-I/usr/local/include -I/usr/local/include/glib-2.0 -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT base64.lo -MD -MP -MF
.deps/base64.Tpo -c base64.c -fPIC -DPIC -o .libs/base64.o
cc1: error: invalid option `t'
make[3]: *** [base64.lo] Error 1
make[3]: Leaving directory `/usr/local/src/amanda-2.6.1/gnulib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/amanda-2.6.1/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/amanda-2.6.1'
make: *** [all] Error 2
I'm at a loss on how to get amanda compiled from here. Other notes I can
share:
gcc 3.4.6
glib 2.20.4
Any pointers are greatly appreciated. Thanks!
_
--
Matthew Boeckman
Manager - Unix Admin & Networking
ServiceMagic
303 963 7889