Unable to compile DBSC 2.5.2

Posted by StrifeJ on Thu 13 Aug 2009 08:03 PM — 6 posts, 27,050 views.

#0
Hello all. I downloaded the DBSC 2.5.2 codebase, in an attempt to play around and maybe learn a bit of coding and mainly building. I run a windows vista system, so I'm using cygwin to do this. There were install instructions, which I followed to the T, except selecting the "Base - Zlib" when installing cygwin (because it wasn't even an option actually). Now, I commented out the line in the makefile it says in order to compile with cygwin and use the MCCP. I type in the make command in cygwin, and I get an error...I searched the forums and never found an actual answer to this and hope to get some help.

here is the error I'm seeing:

cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [dbs] Error 1
make[1]: Leaving directory '/home/username/src'
make: *** [all] Error 2
#1
One more note. I decided to attempt to start it anyways, after typing the command "./startup" it says the following:

limit: Command not found.
ulimit: Command not found.
mv: cannot move '../log/syslog.9' to '../log/archived/1000.log': No such file or directory.

Then the last line just keeps repeating over and over again and I can't do anything with cygwin.
USA #2
So did you not install zlib? You need to.
http://www.zlib.net/
#3
Okay. I went to the website and downloaded the source file, unzipped it. Do I then just copy those files into my cygwin folder and use the make command? Which I have already done, but I still get the same errors as before.
USA #4
No, you need to install it. Check the docs.
Australia Forum Administrator #5

make 
make install


Or maybe it is slightly harder. But you should end up with the file libz.a somewhere in the search path for libraries, I think.