[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beginner: a simple question about shared libraries
From: |
Ladislav Strojil |
Subject: |
Re: Beginner: a simple question about shared libraries |
Date: |
Fri, 2 Aug 2002 07:49:05 +0200 |
User-agent: |
KMail/1.4.5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 01 August 2002 21:56, Alexandre Duret-Lutz wrote:
> >>> "Ladislav" == Ladislav Strojil <address@hidden> writes:
>
> [...]
>
> Ladislav> address@hidden ~]$ automake --version
> Ladislav> automake (GNU automake) 1.5
>
> Thanks. The current version is 1.6.3, could you try that? If
> it still doesn't work, could you send in your Makefile.am and
> the resulting Makefile.in?
Thanks for your answer.
I tried installing 1.6.3 (removed 1.5 before that) but now autconf tells me:
address@hidden libadmis]$ aclocal && autoconf && automake
configure.in:6: error: possibly undefined macro: AC_PROG_LIBTOOL
(./configure indeed does not know anything about AC_PROG_LIBTOOL)
address@hidden share]$ autoconf --version
autoconf (GNU Autoconf) 2.52
I tried installing 2.53 but it did not help.
Going back to automake 1.5 causes this error to go away.
This is my configure.in:
address@hidden libadmis]$ more configure.in
AC_INIT(admis.h)
AM_INIT_AUTOMAKE(libadmis,0.0.1)
AC_PROG_LIBTOOL
AC_PROG_INSTALL
AC_PROG_CXX
AC_LANG_CPLUSPLUS
AC_OUTPUT(Makefile)
and this is Makefile.am
address@hidden libadmis]$ more Makefile.am
AUTOMAKE_OPTIONS = foreign
lib_LTLIBRARIES = libadmis.la
DBFILES = db/commandrs.cpp db/errorrs.cpp db/internalrs.cpp db/utils.cpp
HTMLFILES = html/urlhandler.cpp html/title.cpp
STRINGFILES = str/buffer.cpp str/string.cpp str/xml.cpp str/eval.cpp
SYSTEMFILES = system/config.cpp system/plugin.cpp system/log.cpp
ORBFILES = skeletons/admisSK.cc skeletons/admisDynSK.cc \
skeletons/htmlSK.cc skeletons/htmlDynSK.cc \
skeletons/securitySK.cc skeletons/securityDynSK.cc \
skeletons/dataSK.cc skeletons/dataDynSK.cc \
skeletons/logSK.cc skeletons/logDynSK.cc
CLEANFILES = skeletons/*.*
libadmis_la_SOURCES = $(ORBFILES) $(DBFILES) $(HTMLFILES) $(STRINGFILES)
$(SYSTEMFILES)
libadmis_la_LDFLAGS = -version-info 0:0:0
LDADD = -lomniORB4 -lomniDynamic4 -ladmis
LDFLAGS = -fPIC
INCLUDES =-I/usr/local/include -I$(top_srcdir)/../libadmis
- -I$(top_srcdir)/skeletons `xml2-config --cflags`
skeletons/%SK.cc : $(top_srcdir)/../idl/%.idl
omniidl -bcxx -Wba -C skeletons $<
Thanks again for your help, it is greatly appreciated.
Regards,
Lada
- --
~ Ladislav Strojil, MFF UK
' v '
// \\
/( )\ Powered by Penguin.
^ ' ^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Sh1UTnMZPFqq4nwRAkTdAJ43lF7LKxasx6WHIJwZz8I8/3wdWQCeOZW4
3RYHgzo6pLT3PoUNw03WAu4=
=2KAK
-----END PGP SIGNATURE-----
- Beginner: a simple question about shared libraries, Ladislav Strojil, 2002/08/01
- Re: Beginner: a simple question about shared libraries, Alexandre Duret-Lutz, 2002/08/01
- Re: Beginner: a simple question about shared libraries, Ladislav Strojil, 2002/08/01
- Re: Beginner: a simple question about shared libraries, Alexandre Duret-Lutz, 2002/08/01
- Re: Beginner: a simple question about shared libraries,
Ladislav Strojil <=
- Re: Beginner: a simple question about shared libraries, Alexandre Duret-Lutz, 2002/08/02
- Re: Beginner: a simple question about shared libraries, Ladislav Strojil, 2002/08/02
- Re: Beginner: a simple question about shared libraries, Alexandre Duret-Lutz, 2002/08/02
- Re: Beginner: a simple question about shared libraries, Ladislav Strojil, 2002/08/02
- Re: Beginner: a simple question about shared libraries, Alexandre Duret-Lutz, 2002/08/02