Recently I have undertaken the (tremendous) task of setting up an URU shard using MOSS -- on a Mac OS X 10.6 Server. So far, installations and such have gone rather well for the componennts that are not MOSS. The 'configure' script run of MOSS before 'make/make install' ran smoothly with no problems. I am using the latest version of MOSS on the repository as of this writing. However, upon running 'make' on the MOSS files, I immidiately ran into compile failures:
Code: Select all
make all-am
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I/Library/PostgreSQL/8.4/include -g -O2 -MT ConfigParser.lo -MD -MP -MF .deps/ConfigParser.Tpo -c -o ConfigParser.lo ConfigParser.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/Library/PostgreSQL/8.4/include -g -O2 -MT ConfigParser.lo -MD -MP -MF .deps/ConfigParser.Tpo -c ConfigParser.cc -fno-common -DPIC -o .libs/ConfigParser.o
In file included from ConfigParser.cc:38:
ConfigParser.h:75: error: ‘u_int’ has not been declared
ConfigParser.h:104: error: ‘u_int’ has not been declared
ConfigParser.cc: In member function ‘int ConfigParser::read_config(const char*, bool)’:
ConfigParser.cc:124: error: ‘u_int’ was not declared in this scope
ConfigParser.cc:124: error: expected `;' before ‘bufsize’
ConfigParser.cc:129: error: ‘bufsize’ was not declared in this scope
ConfigParser.cc:131: error: ‘bufat’ was not declared in this scope
ConfigParser.cc:148: error: ‘lineno’ was not declared in this scope
ConfigParser.cc:151: error: ‘lineno’ was not declared in this scope
ConfigParser.cc:156: error: ‘lineno’ was not declared in this scope
ConfigParser.cc: At global scope:
ConfigParser.cc:280: error: variable or field ‘file_error’ declared void
ConfigParser.cc:280: error: ‘u_int’ was not declared in this scope
ConfigParser.cc:280: error: expected primary-expression before ‘int’
make[1]: *** [ConfigParser.lo] Error 1
make: *** [all] Error 2
Thanks in advance,
Valdez