[Sqlrelay-discussion] 0.38pre2 not compiling
Brought to you by:
mused
|
From: Devananda <kar...@ya...> - 2006-06-19 20:05:17
|
David, On a system where compiling 0.37 was completely successful, I have untar'd the 0.38pre2 download from the link provided last week, used the same options to configure, and make fails immediately with the following: > sqlrelay-0.38]# make > make -C src all > make[1]: Entering directory `/usr/local/src/sqlrelay-0.38/src' > make -C util all > make[2]: Entering directory `/usr/local/src/sqlrelay-0.38/src/util' > /bin/sh ../../libtool --mode=compile g++ -Wall -pipe -pthread > -DTMP_DIR=\"/usr/local/firstworks/var/sqlrelay/tmp\" > -DDEBUG_DIR=\"/usr/local/firstworks/var/sqlrelay/debug\" > -DDEFAULT_CONFIG_FILE=\"/usr/local/firstworks/etc/sqlrelay.conf\" -I./ > -I../../ -I../../src/common -I/usr/local/firstworks/include -pthread > -c cmdline.C -o cmdline.lo > mkdir .libs > g++ -Wall -pipe -pthread > -DTMP_DIR=\"/usr/local/firstworks/var/sqlrelay/tmp\" > -DDEBUG_DIR=\"/usr/local/firstworks/var/sqlrelay/debug\" > -DDEFAULT_CONFIG_FILE=\"/usr/local/firstworks/etc/sqlrelay.conf\" -I./ > -I../../ -I../../src/common -I/usr/local/firstworks/include -pthread > -c cmdline.C -fPIC -DPIC -o .libs/cmdline.o > cmdline.C: In member function 'void cmdline::setId()': > cmdline.C:20: error: 'getValue' was not declared in this scope > cmdline.C: In member function 'void cmdline::setConfig()': > cmdline.C:30: error: 'getValue' was not declared in this scope > cmdline.C: In member function 'void cmdline::setLocalStateDir()': > cmdline.C:39: error: 'getValue' was not declared in this scope > make[2]: *** [cmdline.lo] Error 1 > make[2]: Leaving directory `/usr/local/src/sqlrelay-0.38/src/util' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/sqlrelay-0.38/src' > make: *** [all] Error 2 I compared cmdline.C to the 0.37 version, and saw that the 'getValue' function was previously called 'value'. Out of curiosity, I changed it back and ran make again. This time, it failed much later, but with a similar error. > /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -pthread > -I./ -I../../../ -I../../../src/common -I../../../src/api/c++/include > -I/usr/local/firstworks/include -pthread -c pqencoding.C -o pqencoding.lo > g++ -Wall -pipe -pthread -I./ -I../../../ -I../../../src/common > -I../../../src/api/c++/include -I/usr/local/firstworks/include > -pthread -c pqencoding.C -fPIC -DPIC -o .libs/pqencoding.o > pqencoding.C: In function 'int PQenv2encoding()': > pqencoding.C:38: error: cannot call member function 'const char* > rudiments::environment::getValue(const char*) const' without object Does 0.38 require a new version of Rudiments which is not yet available from sourceforge? |