Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Unable to compile DBSC 2.5.2

Unable to compile DBSC 2.5.2

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by StrifeJ   (3 posts)  Bio
Date Thu 13 Aug 2009 08:03 PM (UTC)
Message
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
Top

Posted by StrifeJ   (3 posts)  Bio
Date Reply #1 on Thu 13 Aug 2009 08:07 PM (UTC)
Message
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.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Thu 13 Aug 2009 08:40 PM (UTC)
Message
So did you not install zlib? You need to.
http://www.zlib.net/

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by StrifeJ   (3 posts)  Bio
Date Reply #3 on Thu 13 Aug 2009 08:50 PM (UTC)
Message
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.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #4 on Fri 14 Aug 2009 05:19 AM (UTC)
Message
No, you need to install it. Check the docs.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Sat 15 Aug 2009 03:21 AM (UTC)
Message

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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


25,921 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.