Updater build fails on Slackware 14.0 (updater svn version 14490)
Updater buid fails on Slackware 14.0 looks like a library problem with gzip. I tried to add linker paths at the command line but the proper symbols still could not be loaded. This is the make output that was generated during build:
make[1]: Entering directory `/home/fred/src/xtuple/updater/loader'
g++ -Wl,-O1 -Wl,-rpath,/usr/lib/qt/lib -o ../bin/updater tmp/loaderwindow.o tmp/main.o tmp/moc_loaderwindow.o tmp/qrc_loader.o -L/usr/lib/qt/lib -L../../openrpt/lib -L../../xtuple/lib -lxtuplecommon -L../lib -lupdatercommon -lcommon -lrenderer -lQtSql -L/usr/lib/qt/lib -lQtXml -lQtGui -L/usr/X11R6/lib -lQtCore -lpthread -L/usr/lib
/usr/lib/gcc/i486-slackware-linux/4.7.2/../../../../i486-slackware-linux/bin/ld: ../../xtuple/lib/libxtuplecommon.a(gunzip.o): undefined reference to symbol 'gzclose'
/usr/lib/gcc/i486-slackware-linux/4.7.2/../../../../i486-slackware-linux/bin/ld: note: 'gzclose' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line
/lib/libz.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [../bin/updater] Error 1
make[1]: Leaving directory `/home/fred/src/xtuple/updater/loader'
make: *** [sub-loader-make_default-ordered] Error 2
Cheers,
Fred
Doesn't the binary work okay in Slack? You're going to have a lot of challenges with your development environment - and not sure what the benefit will be....
I've been building it successfully from svn for the last 2.5 to 3 years on Slackware. It works great until now. I guess I can just dig in and see if I can fix the issue and post a patch.
Thanks
Fred







