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
➜ PennMUSH
➜ Compiling the server
➜ Building for Windows using MinGW
Building for Windows using MinGW
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| EricT
(14 posts) Bio
|
Date
| Sat 07 Jun 2008 05:08 PM (UTC) Amended on Sat 07 Jun 2008 05:23 PM (UTC) by EricT
|
Message
| Hi again,
I've also been trying to build Pennmush 1.8.3p6 using MinGW + MSys.
The major point I get stuck on is that I have no socket-related files on my system. In configure there's a call to "-lsocket" which I presume means the system requires something like libsocket.a and associated headers (?)
Does anyone who's successfully built pennmush with MinGW know where I can get the required files from? Is there a port of libsocket for MinGW (In vain I tried an old set from djgpp but it produced numerous errors and google came up with several old, broken links).
Edit: The MinGW instructions don't say anything about moving headers from the /Win32/ folder. Is that right?
Many thanks in advance,
Eric T.
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 07 Jun 2008 09:16 PM (UTC) |
Message
| When you say mingw, do you mean Cygwin? I am pretty sure it will build without any hassle with Cygwin.
I think with Cygwin all the required files are part of the download, you don't need to copy Windows DLLs from anywhere to anywhere. Bear in mind the default download for Cygwin probably doesn't have developer tools, just make sure you activate things like gcc and make when you download it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| EricT
(14 posts) Bio
|
Date
| Reply #2 on Sat 07 Jun 2008 09:34 PM (UTC) |
Message
| Hi Nick, thanks for the prompt response.
MinGW is a "minimalist GNU for Windows" (www.mingw.org/). It's not the same as Cygwin, though the accompanying MSys environment is Unix-style. I've been trying to avoid MinGW and Cygwin as I'm far more used to Windows than Unix, but have yet to find a free toolkit that I can use that will build pennmush ... so I'm being nudged in that direction :)
There are instructions on the site for compiling with MinGW+MSys, though they make no mention of additional libraries and tools over and above the default install.
Cheers,
EricT.
| Top |
|
Posted by
| EricT
(14 posts) Bio
|
Date
| Reply #3 on Sat 07 Jun 2008 10:00 PM (UTC) Amended on Sat 07 Jun 2008 10:25 PM (UTC) by EricT
|
Message
| btw, looks like MinGW + MSys + ActiveState Perl requires the following additional unmentioned tools and libraries (some of which may be optional, not sure):
not libcrypt outside US (export restrictions)
[mysql]
[openssl]*
gettext (the archives at the MingGW site also provide libintl and libasprintf dlls, and binaries such as msgfmt used by make install), itself requiring libiconv
pcre
zlib
socket library (libsocket?)
libnsl (?)
* Libraries need renaming, according to a site I found, "On Linux and on Macintosh these are: libssl.a and libcrypto.a, while on Windows they are named libeay32.a and ssleay32.a". Configure uses the former: -lssl an -lcrypto.
Cheers,
Eric T.
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #4 on Sat 07 Jun 2008 10:51 PM (UTC) |
Message
| I would just bite the bullet, download Cygwin (let it run overnight if you have to), and then you are done. It seems pretty reliable to me, and you are most likely to get help with Cygwin rather than Borland, or the other offshoots. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| EricT
(14 posts) Bio
|
Date
| Reply #5 on Sun 08 Jun 2008 09:39 AM (UTC) |
Message
| Yes, I'll bite the bullet today, Nick. Thanks for the advice. Need to clear out a lot of clutter from my machine first from previous build attempts :)
Across at the pennmush community, Talvo tells me he found cygwin a lot easier and stopped using MinGW. He found issues with the latest 1.8.3p6 so he suggested trying 1.8.3p5.
With good wishes,
eric.
| 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.
21,587 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top