Build on Ubuntu 11.10

Issue #11 resolved
Bill White
created an issue

Had the same issue as the previous bug report for Mac OS X. Installed log2cppp and got further, but now an SVM non-dependency seems to be a dependency :)

bwhite@phoenix:~/src/sleipnir$ uname -a Linux phoenix 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux bwhite@phoenix:~/src/sleipnir$ make Making all in src make[1]: Entering directory `/home/bwhite/src/sleipnir/src' g++ -DPACKAGE_NAME=\"libSleipnir\" -DPACKAGE_TARNAME=\"libsleipnir\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libSleipnir\ 1.0.0\" -DPACKAGE_BUGREPORT=\"\" -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 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=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 -DNO_SMILE=1 -DNO_SVM_PERF=1 -DNO_VOWPAL_WABBIT=1 -I. -g -O2 -MT svmperf.o -MD -MP -MF .deps/svmperf.Tpo -c -o svmperf.o svmperf.cpp svmperf.cpp:39:25: error: variable or field 'free_struct_sample' declared void svmperf.cpp:39:25: error: 'SAMPLE' was not declared in this scope svmperf.cpp:50:1: error: 'LABEL' does not name a type svmperf.cpp:52:1: error: 'DOC' does not name a type svmperf.cpp:53:1: error: 'SVECTOR' does not name a type svmperf.cpp:58:6: error: 'CSVMPERF' has not been declared svmperf.cpp: In function 'void SVMLight::SetVerbosity(size_t)': . . .

From the configure script:

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 = not found

Installation prefix = /usr/local

** BUILDING WITHOUT SMILE SMILE is strongly recommended. Bayes net functionality will be missing. SMILE is available as a binary distribution from

** BUILDING WITHOUT SVM PERF SVM Perf is strongly recommended. It is available from

** 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 Vowpal Wabbit also requires pthreads, boost, and zlib.

Now run make.