1. libsleipnir
  2. sleipnir
  3. Issues
Issue #10 resolved

Build on Mac OS X 10.6 Snow Leopard

Bill White
created an issue

bash history:

./gen_auto && ./configure && make

billwhite@isaac~/src/sleipnir$ uname -a Darwin isaac 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386


... configure stuff ...

Now run make.

billwhite@isaac~/src/sleipnir$ make Making all in src g++ -DPACKAGE_NAME=\"libSleipnir\" -DPACKAGE_TARNAME=\"libsleipnir\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libSleipnir\ 1.0.0\" -DPACKAGE_BUGREPORT=\"ogt@princeton.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libsleipnir\" -DVERSION=\"1.0.0\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_VPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MUNMAP=1 -DHAVE_POW=1 -DHAVE_SOCKET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -DHAVE_INET_NTOA=1 -DHAVE_STRTOL=1 -DUSE_LOG4CPP_STUB=1 -DNO_SMILE=1 -DNO_SVM_PERF=1 -DNO_VOWPAL_WABBIT=1 -I. -g -O2 -MT coalesce.o -MD -MP -MF .deps/coalesce.Tpo -c -o coalesce.o coalesce.cpp In file included from coalesce.cpp:22: stdafx.h: In static member function ‘static void Sleipnir::Category::log4cpp(const char, const char, __va_list_tag (&)[1])’: stdafx.h:138: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘time_t’ stdafx.h:139: warning: format not a string literal and no format arguments coalesce.cpp: In member function ‘bool Sleipnir::CCoalesce::Cluster(const Sleipnir::CPCL&, const Sleipnir::CFASTA&, std::vector<Sleipnir::CCoalesceCluster, std::allocator<Sleipnir::CCoalesceCluster> >&)’: coalesce.cpp:567: error: no matching function for call to ‘Sleipnir::Category::notice(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)’ stdafx.h:156: note: candidates are: void Sleipnir::Category::notice(const char*, ...) const make[1]: [coalesce.o] Error 1 make: [all-recursive] Error 1 billwhite@isaac~/src/sleipnir$

Comments (8)

  1. Casey Greene

    Actually can you include all of this output from ./configure:

    Used for library and tools:
      log4cpp                 = found installed
      SMILE                   = not found
      SVM Perf                = not found
      Vowpal Wabbit           = not found
      pthread                 = found installed
    Used for tools:
      boost graph, regex      = found installed
      readline                = found installed
      gengetopt               = /usr/bin/gengetopt
    
    
    
  2. Bill White reporter

    (Reply via bill...@gmail.com):

    I would guess the stub, but I'm not sure. How would I know? It did say something in the configure message about installing it, so I guess it *is* the stub.

  3. Bill White reporter

    (Reply via bill...@gmail.com):

    Used for library and tools: log4cpp = stub SMILE = not found SVM Perf = not found Vowpal Wabbit = not found pthread = found installed Used for tools: boost graph, regex = found installed readline = found installed gengetopt = not found

    Installation prefix = /usr/local

    WARNING: Using a simple replacement stub for log4cpp. If this is insufficient rerun configure with --with-log4cpp=(path). Sometimes there is no installed static library for log4cpp. The full log4cpp library also requires pthreads.

    BUILDING WITHOUT SMILE SMILE is strongly recommended. Bayes net functionality will be missing. SMILE is available as a binary distribution from http://genie.sis.pitt.edu/.

    BUILDING WITHOUT SVM PERF SVM Perf is strongly recommended. It is available from http://svmlight.joachims.org/.

    WARNING: gengetopt was not found. This is probably fine, but if any of the cmdline.c or cmdline.h files are missing or out of date, they will not be rebuilt.

    BUILDING WITHOUT VOWPAL WABBIT Vowpal Wabbit is optional. It is available from http://hunch.net/~vw/. Vowpal Wabbit also requires pthreads, boost, and zlib.

    Now run make.

    billwhite@isaac/src/sleipnir$

  4. Log in to comment