1. libsleipnir
  2. sleipnir
Issue #12 resolved

Build Fails when log4cpp is not installed

Thomas Jablin
created an issue

In src/coalesece.cpp compilation fails, since notice takes a char * and not a std::string. This can be fixed as follows:

--- a/src/coalesce.cpp Fri Feb 10 13:46:12 2012 -0500 +++ b/src/coalesce.cpp Thu Mar 01 17:03:37 2012 -0500 @@ -564,7 +564,7 @@ g_CatSleipnir( ).notice( "CCoalesce::Cluster( ) running with %d genes, %d conditions, and %d sequences", PCL.GetGenes( ), PCL.GetExperiments( ), iSequences ); for( i = 0; i < PCL.GetExperiments( ); ++i ) - g_CatSleipnir( ).notice( PCL.GetExperiment( i ) ); + g_CatSleipnir( ).notice( PCL.GetExperiment( i ).c_str( ) ); // ossm << ( i ? "\t" : "" ) << PCL.GetExperiment( i ); // g_CatSleipnir( ).notice( ossm.str( ).c_str( ) ); g_CatSleipnir( ).notice( "k %d, P gene %g, p condition %g, z condition %g, p motif %g, z motif %g, p correlation %g", GetK( ),

Comments (4)

  1. Log in to comment