Hi,
It looks like it does not like the '+=' construct to add a lib to a list.
I have found a vague reference to something like this on the web which
may indicate a problem with the version of automake.
Attached is a version of src/XrdClient/Makefile.a that avoids the '+='
constructs: it works for me on noric04: could you try it ?
Derek: do you have any experience with that?
Gerri
Peter Elmer wrote:
> Hi Derek,
>
> I tried the HEAD (and used your bootstrap.sh script instead of executing
>the individual commands). Things on solaris now seem better: kerberos
>is found, etc. (I probably made some mess the other day when I was
>installing the new autotools versions in my area.)
>
>Looks like there are some complaints, though:
>
> RHEL3:
>
>noric01> ./bootstrap.sh
>You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
>configure.ac: installing `./install-sh'
>configure.ac: installing `./mkinstalldirs'
>configure.ac: installing `./missing'
>src/Xrd/Makefile.am: installing `./depcomp'
>src/XrdClient/Makefile.am:11: lib_LTLIBRARIES was already defined in condition TRUE, which implies condition ENABLE_PERLINT_TRUE
>
> lib_LTLIBRARIES (User, where = src/XrdClient/Makefile.am:11) +=
> {
> TRUE => libXrdClient.la
> }
>src/XrdClient/Makefile.am:11: lib_LTLIBRARIES was already defined in condition TRUE, which implies condition ENABLE_PERLINT_TRUE
>
> lib_LTLIBRARIES (User, where = src/XrdClient/Makefile.am:11) +=
> {
> TRUE => libXrdClient.la
> }
>
>and similar on Solaris9 + Studio9. Any idea what this is?
>
> Pete
>
>-------------------------------------------------------------------------
>Peter Elmer E-mail: [log in to unmask] Phone: +41 (22) 767-4644
>Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
>-------------------------------------------------------------------------
>
>
>
#######################################################################
## Makefile.am for xrootd
##
##
## Initial version: 1.8.2005
##
## Version info: $Id: Makefile.am,v 1.3 2005/10/19 10:32:08 ganis Exp $
## Checked in by $Author: ganis $
#######################################################################
XrdClientLib = libXrdClient.la
bin_PROGRAMS = xrdcp TestXrdClient TestXrdClient_read xrd
xrootdclientincdir = $(includedir)/xrootd/XrdClient
xrootdclientinc_HEADERS = \
XrdClientString.hh XrdClientVector.hh XrdClientAdmin.hh \
XrdClientAbs.hh XrdClientUnsolMsg.hh XrdClientMessage.hh \
XrdClientProtocol.hh XrdClientSock.hh XrdClientUrlInfo.hh \
XrdClientConn.hh XrdClientConst.hh XrdClientReadCache.hh \
XrdClientInputBuffer.hh XrdClientEnv.hh XrdClientThread.hh
INCLUDES = -I$(top_srcdir)/src
libXrdClient_la_SOURCES = \
XrdClientAbs.cc XrdClientAbs.hh \
XrdClient.cc XrdClient.hh \
XrdClientSock.cc XrdClientSock.hh \
XrdClientConn.cc XrdClientConn.hh \
XrdClientConnMgr.cc XrdClientConnMgr.hh XrdClientUnsolMsg.hh \
XrdClientDebug.cc XrdClientDebug.hh \
XrdClientDNS.cc XrdClientDNS.hh \
XrdClientInputBuffer.cc XrdClientInputBuffer.hh \
XrdClientLogConnection.cc XrdClientLogConnection.hh \
XrdClientMessage.cc XrdClientMessage.hh XrdClientProtocol.hh \
XrdClientPhyConnection.cc XrdClientPhyConnection.hh \
XrdClientReadCache.cc XrdClientReadCache.hh \
XrdClientUrlInfo.cc XrdClientUrlInfo.hh \
XrdClientUrlSet.cc XrdClientUrlSet.hh \
XrdClientStringMatcher.cc XrdClientStringMatcher.hh \
XrdClientThread.cc XrdClientThread.hh \
XrdClientProtocol.cc \
XrdClientAdmin.cc XrdClientAdmin.hh XrdClientVector.hh \
XrdClientEnv.cc XrdClientEnv.hh XrdClientConst.hh \
XrdCpMthrQueue.cc XrdCpMthrQueue.hh \
XrdCpWorkLst.cc XrdCpWorkLst.hh \
XrdClientString.cc XrdClientString.hh \
XrdClientSid.cc XrdClientSid.hh
libXrdClient_la_LIBADD = $(LIBSUNMATH)
## misdeclarations in original Makefile:
## XrdClientXrdSock.cc \
## XrdClientXrdFactory.cc \
## XrdClientXrdDNS.cc
clientlibs = libXrdClient.la \
../XrdSec/libXrdSec.la \
../XrdOuc/libXrdOuc.la \
../XrdNet/libXrdNet.la \
-ldl
xrdcp_SOURCES = Xrdcp.cc
xrdcp_LDADD = $(clientlibs)
xrd_SOURCES = XrdCommandLine.cc
xrd_LDADD = $(clientlibs)
TestXrdClient_SOURCES = XrdClientAdmin_c.cc XrdClientAdmin_c.hh \
TestXrdClient.cc
TestXrdClient_LDADD = $(clientlibs)
TestXrdClient_read_SOURCES = TestXrdClient_read.cc
TestXrdClient_read_LDADD = $(clientlibs)
if ENABLE_PERLINT
XrdClientAdmin_c_wrap.cc:
cp XrdClientAdmin_c_wrap.c XrdClientAdmin_c_wrap.cc
XrdClientAdminLib = libXrdClientAdmin.la
libXrdClientAdmin_la_SOURCES = XrdClientAdmin_c.cc \
XrdClientAdmin_c_wrap.cc
libXrdClientAdmin_la_CXXFLAGS = $(PERL_CCOPTS)
endif
lib_LTLIBRARIES = $(XrdClientLib) $(XrdClientAdminLib)
|