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
➜ ROM
➜ Compiling the server
➜ Compiling error in Cygwin: no such file or directory...
Compiling error in Cygwin: no such file or directory...
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Nico78
(4 posts) Bio
|
Date
| Sun 07 Dec 2014 12:31 AM (UTC) |
Message
| Hello all,
I've searched and searched and can't quite find an answer to my problem.
I am a newbie to Cygwin, and as such, don't know if this error is the issue of a package I didn't download, or something in the files themselves. To be certain, I downloaded two codebases (ROM 2.4b4 and SMAUG 1.8).
I can see under ls my Makefile, and all the .c and .h files.
---
When I 'make' for ROM, I get these errors:
gcc -c -Wall -O -g update.c
gcc: error: spawn: No such file or directory
Makefile:18: recipe for target `update.o' failed
make: *** [update.o] Error 1
And they show up for most of the files, but not all of them. It still doesn't make any .o files.
---
When I 'make' for SMAUG, I get:
make smaug
make[1]: Entering directory `/home/Nico/smaug1.8/src'
gcc -c -O -g3 -Wall -Wuninitialized -DREQUESTS -DSMAUG -DREGEX -DUSE_IMC act_comm.c
gcc: error: spawn: No such file or directory
Makefile:73: recipe for target `act_comm.o' failed
make[1]: *** [act_comm.o] Error 1
make[1]: Leaving directory `/home/Nico/smaug1.8/src'
Makefile:63: recipe for target `all' failed
make: *** [all] Error 2
---
I'm hopeful that this is something simple and I can chalk it up to my dubious newbiousness, but any help that can be offered, I'd sincerely appreciate. | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #1 on Sun 07 Dec 2014 08:16 PM (UTC) |
Message
| is there a configure file? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Sun 07 Dec 2014 08:52 PM (UTC) |
Message
| Are they old? Like, from this site? I doubt ROM will compile under the latest C compiler, they keep tightening up the rules.
I suggest you download SmaugFUSS:
http://www.smaugmuds.org/ |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nico78
(4 posts) Bio
|
Date
| Reply #3 on Sun 07 Dec 2014 10:46 PM (UTC) |
Message
| @Fiendish: I'm not sure. I did a check on Cygwin just to make sure I had everything and only two files came back incomplete - mutt, the mail prog, and the Cygwin.doc which is just help file stuff. Outside of that, I'm not certain how to get to a config file in Cyg.
@Nick: The ROM files are definitely ancient, and the SMAUG I had was from 2007. I'll give the new one a whirl and cross my fingers.
Thank you both for the reply! | Top |
|
Posted by
| Nico78
(4 posts) Bio
|
Date
| Reply #4 on Sun 07 Dec 2014 10:57 PM (UTC) |
Message
| Looks like it's something in Cygwin. Downloaded the new Smaug file that was posted 11/2014 and still got the same error:
$ make smaug
gcc -c -O -g3 -Wall -Wuninitialized -DREQUESTS -DSMAUG -DREGEX -DUSE_IMC act_comm.c
gcc: error: spawn: No such file or directory
Makefile:73: recipe for target `act_comm.o' failed
make: *** [act_comm.o] Error 1
Even attempting to compile a basic 8-line, 'hello world' C code, Cyg still pops out a "No such file or directory." | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Mon 08 Dec 2014 03:52 AM (UTC) |
Message
| |
Posted by
| Nico78
(4 posts) Bio
|
Date
| Reply #6 on Tue 09 Dec 2014 09:54 PM (UTC) |
Message
| I'd better post an update!
I figured out my issue. Apparently, when I installed Cygwin, the packages I hand picked, I hand picked them >not< to install. (Yeah, I'm that newb.) So, I figured I had the space to install the massive Cygwin prog, I deleted what I had, then installed the full program (who knows, I might decide to learn Ruby or Python someday...).
After that, the RoM code I had (the codebase I'm most familiar with) began to compile. I did have some hiccups with certain variables, but quick tweaks banished them.
So, I'm compiled and running with RoM2b5. All systems go.
Thank you for the replies! I, for one, am glad you're still around, Nick. There aren't a ton of MUD gurus left anymore.
Thanks again!
Nico | 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,425 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top