Fernando Martins wrote:
> Margus V=E4li:
>=20
>>I have cygwin development packages installed in the same
>>place as gtk-2, have PATH environment variable contain
>>both /usr/bin and /usr/lib (c:\cygwin\ prefix locally).
>>
>>Since cygwin doesn't have scrollkeeper, I installed from
>>source, builds ok, but I had to add -lintl to
>>scrollkeeper_tree_separate_LDADD in scrollkeeper/buildtools/Makefile.
>=20
>=20
> You mean "scrollkeeper_tree_separate_LDADD =3D -lintl $(LDADD)" ?
>=20
Well, actually these files need to be altered:
buildtools/Makefile
cl/src/Makefile
extract/src/Makefile
LDADD =3D \
$(XML_LIBS) \
$(XSLT_LIBS) \
$(top_builddir)/libs/libscrollkeeper.la -lintl
(Notice the -lintl at the end that I added):
From top level Makefile intl dir needs to be removed from the SUBDIRS
macro because there's some error with target libintl.@l@a needed by
all-yes.
> One question: do I need to install the docbook stylesheets?
>=20
Dunno, just follow the instructions in INSTALL
> I'm stuck now with the make in scrollkeeper:
>=20
> Making all in buildtools
> make[2]: Entering directory `/home/fmartins/scrollkeeper-0.3.11/buildto=
ols'
> /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -o
> scrollkeeper-tree-separate.exe s
> eparate.o -lintl -lxml2 -L/usr/lib -lxslt -lxml2 -lz -lm
> ../libs/libscrollkeeper
> .la
> libtool: link: cannot find the library `/usr/lib/libiconv.la'
> make[2]: *** [scrollkeeper-tree-separate.exe] Error 1
> make[2]: Leaving directory `/home/fmartins/scrollkeeper-0.3.11/buildtoo=
ls'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/fmartins/scrollkeeper-0.3.11'
> make: *** [all-recursive-am] Error 2
>=20
> iconv looks to be installed in \bin and \lib. Why is it looking in /usr=
/lib?
>=20
Do you really have the file /usr/lib/libiconv.la?
Check if you have libiconv, libiconv2, libintl, libintl(1,2) installed.
I have libiconv(2|) 1.8-2, libintl 0.10, libintl2 0.11
regards,
mv
|