[SCIM] skim compile problem and question about packaging

Klaus Weidenbach Klaus.Weidenbach at gmx.net
Sun Aug 1 12:02:39 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am finally working on the build scripts to create SCIM packages for 
Slackware Linux and everything worked fine so far. ;)) I just got some 
compile problems with skim-0.9.3. I have added the end of the failed make 
output to this eMail. Hope you can find something there, or is it already 
fixed in CVS? 


I also have another questions, maybe bit off-topic. It's bit about static and 
shared libraries. Who says, or what are the reasons to use static libs. It's 
not about the difference or why to use them actually, I know it, more about 
if you should add them to release binary packages for a Linux distribution 
and so on. I am asking because I want to create packages for Slackware and 
add them to http://www.linuxpackages.net. First of all, because the over 6MB 
for just the static libs of scim is quite much to download always and so on. 
I am also wondering if it is necessary or wished from the scim developers to 
add the API docs to the packages, or is it okay to just leave them away?
Or are these questions that relay on the philosophy of a distribution and I 
should ask there? Thanks for any comments also about this.

Regards,
Klaus

- -- 
take care!

xo,klaus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBDT5UA5tAmfqeA3QRArKxAJ9A/E9WkOiiuS5HDEp++Ey2oq0h6gCdGQZJ
sEK1Hl+TRE+SZc1x1SmrVLI=
=6MrI
-----END PGP SIGNATURE-----
-------------- next part --------------
/usr/lib/qt-3.2.3/bin/moc ./skimglobalactions.h -o skimglobalactions.moc
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/scim-1.0 -I/opt/kde/include -I/usr/lib/qt-3.2.3/include -I.    -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -MT skimglobalactions.lo -MD -MP -MF ".deps/skimglobalactions.Tpo" \
  -c -o skimglobalactions.lo `test -f 'skimglobalactions.cpp' || echo './'`skimglobalactions.cpp; \
then mv -f ".deps/skimglobalactions.Tpo" ".deps/skimglobalactions.Plo"; \
else rm -f ".deps/skimglobalactions.Tpo"; exit 1; \
fi
/usr/include/c++/3.2.3/bits/stl_iterator_base_types.h: In instantiation of `std::iterator_traits<QMapIterator<int, ClientPropertyInfo> >':
/usr/include/c++/3.2.3/bits/stl_algo.h:298:   instantiated from `_InputIter std::find(_InputIter, _InputIter, const _Tp&) [with _InputIter = QMapIterator<int, ClientPropertyInfo>, _Tp = scim::Property]'
skimglobalactions.cpp:169:   instantiated from here
/usr/include/c++/3.2.3/bits/stl_iterator_base_types.h:123: no type named `
   iterator_category' in `class QMapIterator<int, ClientPropertyInfo>'
/usr/include/c++/3.2.3/bits/stl_algo.h: In function `_InputIter
   std::find(_InputIter, _InputIter, const _Tp&) [with _InputIter =
   QMapIterator<int, ClientPropertyInfo>, _Tp = scim::Property]':
skimglobalactions.cpp:169:   instantiated from here
/usr/include/c++/3.2.3/bits/stl_algo.h:298: no matching function for call to `
   __iterator_category(QMapIterator<int, ClientPropertyInfo>&)'
skimglobalactions.cpp: In member function `void
   SkimGlobalActions::create_properties(QWidget*, PropertyRepository&, const
   scim::PropertyList&, __gnu_cxx::__normal_iterator<const scim::Property*,
   std::vector<scim::Property, std::allocator<scim::Property> > >,
   __gnu_cxx::__normal_iterator<const scim::Property*,
   std::vector<scim::Property, std::allocator<scim::Property> > >, int)':
skimglobalactions.cpp:241: warning: aggregate has a partly bracketed
   initializer
skimglobalactions.cpp:302: warning: aggregate has a partly bracketed
   initializer
make[2]: *** [skimglobalactions.lo] Error 1
make[2]: Leaving directory `/tmp/skim-0.9.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/skim-0.9.3'
make: *** [all] Error 2


More information about the scim mailing list