3.5.6 'make check' problems... LOTS of them

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Feb 2 21:52:25 GMT 2007


Matthew Woehlke wrote:
> Next: something (didn't pay attention what) didn't build because it 
> couldn't link to a lib (kdetestutil I think? something like that?). 
> Fixed by doing 'make install'. PLEASE DON'T MAKE 'make check' NEED 'make 
> install' FIRST!

Following patch fixes this one. Ok to commit?

Index: kconfig_compiler/tests/Makefile.am
===================================================================
--- kconfig_compiler/tests/Makefile.am  (revision 629402)
+++ kconfig_compiler/tests/Makefile.am  (working copy)
@@ -57,8 +57,10 @@
  check_LTLIBRARIES = kunittest_kconfigcompiler_test.la

  kunittest_kconfigcompiler_test_la_SOURCES = kconfigcompiler_test.cpp
-kunittest_kconfigcompiler_test_la_LIBADD = -lkunittest
-kunittest_kconfigcompiler_test_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) 
$(all_libraries)
+kunittest_kconfigcompiler_test_la_LIBADD = \
+       $(top_builddir)/kunittest/libkunittest.la
+kunittest_kconfigcompiler_test_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) \
+       $(all_libraries)


  test1main.o test1.o: test1.h


-- 
Matthew
OFFICER throws a tear gas grenade at you. You start to feel nauseous. 
You need fresh air quickly.
 > OPEN WINDOWS
Sorry, I have a philosophical objection to Microsoft products.





More information about the kde-core-devel mailing list