RE: Checking for GLIB error
2008-07-24 12:55:53
Don't you hate it when folks do this? As you install each dependency be
sure and read the description because sometime each dependency has it
own dependencies which must be installed.
Paul Crittenden
Computer Systems Manager
Simpson College
Phone: 515-961-1680
Email: paul.crittenden AT simpson DOT edu
-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Paul Crittenden
Sent: Thursday, July 24, 2008 11:12 AM
To: McGraw, Robert P
Cc: amanda-users AT amanda DOT org
Subject: RE: Checking for GLIB error
Have you gone to: http://www.sunfreeware.com/indexsparc10.html and
installed all of the dependencies needed for Amanda on Solaris 10. I did
that and compiled and am running amanda with no problems.
Paul Crittenden
Computer Systems Manager
Simpson College
Phone: 515-961-1680
Email: paul.crittenden AT simpson DOT edu
-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of McGraw, Robert P
Sent: Thursday, July 24, 2008 10:23 AM
To: amanda-users AT amanda DOT org
Subject: Checking for GLIB error
Solaris 10 SPARC Amanda 2.6.0p1
My configure looks like
./configure \
PKG_CONFIG=/opt/csw/bin/pkg-config \
CC=/pkgs/$GCCVERSION/bin/gcc \
LDFLAGS='-R/opt/csw/lib' \
PERL=/opt/csw/bin/perl \
--prefix=/local/Amanda/$AMANDAVERSION \
--without-client \
--with-user=amanda \
--with-group=operator \
--with-gnutar=/opt/csw/bin/gtar \
--with-gnutar-listdir=/var/amanda/gnutar-lists \
--with-includes=/opt/csw/include \
--with-libraries=/opt/csw/lib \
--with-index-server=zorn \
--with-smbclient=/pkgs/samba/bin/smbclient \
--with-tape-device=/dev/rmt/1bn \
--with-changer-device=/dev/changer/1 \
--with-maxtapeblocksize=2048
Running configure I get the following error:
checking for main in -lsun... no
checking for pkg-config... /opt/csw/bin/pkg-config
checking pkg-config is at least version 0.7... yes
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
The following is a snippet of the config.log
configure:53899: checking pkg-config is at least version 0.7
configure:53902: result: yes
configure:53920: checking for GLIB - version >= 2.2.0
configure:54044: /pkgs/gcc-3.4.3/bin/gcc -o conftest -g -O2
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=
64 -mt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-D_REENTRANT
-I/opt/csw/include -D_GNU
_SOURCE -I/opt/csw/include -R/opt/csw/lib -L/opt/csw/lib conftest.c -mt
-lgmodule-2.0 -lgobject-2.0
-lgthread-2.0 -lglib-2.0 -lsocket -lnsl -lresolv -lintl -lcrypto
-L/opt/csw/lib -lcurl -L/opt/csw
/lib -L/opt/csw/lib -lidn -lssl -lcrypto -llber -lldap -lsocket -lnsl
-lz
-lnsl -lsocket >&5
cc1: error: invalid option `t'
cc1: error: invalid option `t'
configure:54047: $? = 1
configure: program exited with status 1
configure: failed program was:
I assume that this is not working because of the compile error. I assume
that the invalid option is the -mt.
I am not sure what is causing this option in be inserted. Any
suggestions.
Thanks
Robert
--------------------------------------------------------------------
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: rmcgraw AT purdue DOT edu
Purdue University ROOM: MATH-807
Department of Mathematics PHONE: (765) 494-6055
150 N. University Street
West Lafayette, IN 47907-2067
|
|
|