Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
Entire forum
➜ PennMUSH
➜ Compiling the server
➜ Compileing with Cygwin
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Silicon
(2 posts) Bio
|
Date
| Wed 30 May 2001 04:56 AM (UTC) |
Message
| Any chance anybody has successfully compiled PennMUSH v1.7.3p3 with Cygwin?
I get the following error(s) durring the "MAKE":
mysocket.c: In function `getaddrinfo':
mysocket.c:1007: warning: passing arg 1 of `bzero' from incompatible pointer typ
e
mysocket.c:1063: `_res' undeclared (first use in this function)
mysocket.c:1063: (Each undeclared identifier is reported only once
mysocket.c:1063: for each function it appears in.)
mysocket.c:1063: `RES_INIT' undeclared (first use in this function)
mysocket.c:1069: `RES_USE_INET6' undeclared (first use in this function)
Anyone know what causes this, or how to fix it at all?
- Silicon | Top |
|
Posted by
| Silicon
(2 posts) Bio
|
Date
| Reply #1 on Wed 30 May 2001 06:06 AM (UTC) |
Message
| I'm sorry. Typo. I meant 1.7.4p3 and NOT 1.7.3p3 | Top |
|
Posted by
| Nick Gammon
Australia (23,057 posts) Bio
Forum Administrator |
Date
| Reply #2 on Thu 31 May 2001 01:04 AM (UTC) |
Message
| I have compiled it OK with version 1.7.4p5 which was the latest from the www.pennmush.org site ...
1. Download the file pennmush-1.7.4p5.tar.gz and put in my home directory.
2. Using Cygwin unzip the file:
tar xvzf pennmush-1.7.4p5.tar.gz
3. Make a symbolic link from cc to gcc, like this:
cd /bin
ln -s gcc.exe cc.exe
4. Go to pennmush directory:
cd ~/pennmush
5. Run configuration script:
sh Configure -d
6. Make options file:
make update
Press <enter> repeatedly to accept all the defaults.
7. Make adjustments:
In config.h, comment out these lines:
/* #define HAS_SETLOCALE /**/
/* #define HAS_IPV6 /**/
In mysocket.c, comment out these lines:
/* #include <resolv.h> */
/* extern int h_errno; */
8. Build it:
make
9. Install it:
make install
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Jaguar385
(16 posts) Bio
|
Date
| Reply #3 on Wed 04 Jul 2001 07:24 AM (UTC) |
Message
| Well, I'm trying to do the same thing, but it is with PennMUSH 1.7.4p6... I untar it using CYGWin, but there is no BIN folder to get the cc.exe and gcc.exe things .... so what's up?
Hehe, Thanks ^.^
~Jaguar385 | Top |
|
Posted by
| Nick Gammon
Australia (23,057 posts) Bio
Forum Administrator |
Date
| Reply #4 on Wed 04 Jul 2001 09:30 PM (UTC) |
Message
| It's "bin" not "BIN", but there must be one there if you have Cygwin. It is where all the "binaries" (programs) go - hence its name.
The bin folder is not part of PennMUSH, it is part of Cygwin.
Say you installed Cygwin onto your C: drive, then you will have a folder:
c:\Cygwin\bin
You have to follow my instructions exactly, like typing:
cd /bin
not
cd bin
or
cd \bin
|
- 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.
15,171 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top