Topic: Helpme how to compile svn 1.99 under linux debian
Mr. Harpy please tell me how to compile SVN 1.99 with linux debian, I've tried this:
0. [...]# tar xfz cmake-2.6.2.tar.gz
1. [...]# tar xfz pvpgn-199.r577.tar.gz
2. [...]# tar xfz pvpgn-support-1.2.tar.gz
3. [...]# cd cmake-2.6.2
4. [...]# ./bootstrap
then i create folder zlib in "/pvpgn-199.r577/" there zlibwapi.lib zlib.h zconf.h contained
5. [...]# cd ../pvpgn-199.r577/
6. [...]# mkdir build
7. [...]# cd build
8. [...]# cmake -D CMAKE_INSTALL_PREFIX=/cencored/GENX_pvpgn/ -D ZLIB_INCLUDE_DIR=/cencored/pvpgn-199.r577/zlib -D ZLIB_LIBRARY=/cencored/pvpgn-199.r577/zlib/zlibwapi.lib ../
9. [...]# make
then error like this
[box][ 47%] Built target sha1hash
Linking CXX executable bnetd
CMakeFiles/bnetd.dir/anongame_infos.o: In function `pvpgn::bnetd::zlib_compress(void const*, int, char**, int*)':
anongame_infos.cpp:(.text+0x4a29): undefined reference to `deflateInit_'
anongame_infos.cpp:(.text+0x4a77): undefined reference to `deflate'
anongame_infos.cpp:(.text+0x4b4d): undefined reference to `deflateEnd'
collect2: error: ld returned 1 exit status
make[2]: *** [src/bnetd/bnetd] Error 1
make[1]: *** [src/bnetd/CMakeFiles/bnetd.dir/all] Error 2
make: *** [all] Error 2
[/box]
there seems to be something wrong with the library zlibwapi.lib
what library should be inserted?