kdevelop 1.3 : LIBTOOL not defined
W. Tasin
tasin at e-technik.fh-muenchen.de
Wed Dec 13 09:10:21 GMT 2000
Oliver Kowalke wrote:
>
> Hi,
Hi,
>
> this is my first time I tried to create shared library with kdevelop. I
> followed the hints in the docu. If I try to compile the project I get:
>
> /lib/Makefile.am : 2 : library used but 'LIBTOOL' not defined in
> 'configure.in'
the error isn't in the Makefile.am, even if it seems to be there.
I guess you have created a cpp-project with 1.2 and now you try to
compile this with 1.3b1.
The easiest way to make it work is to create a new cpp-project with
1.3b1 and then add the existings files to your new project.
To get LIBTOOL defined ./configure has to create a libtool script,
therefore configure.in has changed in 1.3b1 (and for libtool-creation
there are some additional files necessary which are included in in the
1.3b1-cpp-template, i.e. libtool.m4.in, ltconfig, etc....)
>
> The file Makefile.am from library subdirectory looks like this:
>
> ####### kdevelop will overwrite this part!!! (begin)##########
> lib_LTLIBRARIES = libtest.la
>
> libtest_la_SOURCES = test.cpp
>
> EXTRA_DIST = test.cpp test.h
>
> ####### kdevelop will overwrite this part!!! (end)############
> SOMAJOR = 1
> SOMINOR = 0
> SOSUBMINOR = 0
>
> # here you should add all header files, which contains the
> functionality
> # of your shared lib (published for the users)
> include_HEADERS = test.h
>
> # here you should add all header files, which shouldn´t be installed
> noinst_HEADERS =
>
> libtest_la_LDFLAGS = $(all_libraries) -no-undefined -version-info
> $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR) $(LDFLAGS)
This Makefile.am is ok...
>
> Please can you help me how to configure it in the right way?
>
> thanks a lot,
> Oliver
>
Ciao
Walter
--
The KDevelop project: tasin at kdevelop.de [www.kdevelop.org]
--
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
(Zucchero)
:-------W. Tasin, FB
04,FHM-------------------PGP-KeyID:0x7961A645----------:
<Key-Fingerprint: 1610 835F 0080 32F4 6140 6CF7 A7D0 44CD 7961A645>
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list