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.
 Entire forum ➜ SMAUG ➜ Compiling the server ➜ newbie compiling problems

newbie compiling problems

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


Pages: 1  2 

Posted by Gdub   (40 posts)  Bio
Date Reply #15 on Wed 14 Feb 2024 08:27 PM (UTC)
Message
Nick Gammon said:

What operating system are you using? It sounds like a Windows version.

Are you compiling using the command shell or the Cygwin shell? If it compiles under Cygwin it shouldn't be asking for cygwin.dll when you go to execute it.


Windows 11 64bit home edition

I'm using cygwin to compile. Should I maybe resinstall cygwin?
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #16 on Wed 14 Feb 2024 08:45 PM (UTC)
Message
No, if it compiles OK. Are you also using the Cygwin shell to run it?

- Nick Gammon

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

Posted by Gdub   (40 posts)  Bio
Date Reply #17 on Wed 14 Feb 2024 08:56 PM (UTC)
Message
Nick Gammon said:

No, if it compiles OK. Are you also using the Cygwin shell to run it?


it gives 0 feedback when I run it via cygwin shell using:


cd ../area
../src/smaug


The only feedback I get is running ./smaug from the windows powershell where it gives me this error.


PS C:\Conquest_SRC\Conquest\dist\src> ./smaug
Wed Feb 14 12:53:44 2024 :: Booting Database
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Wed Feb 14 12:53:44 2024 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Wed Feb 14 12:53:44 2024 :: Loading commands
Wed Feb 14 12:53:44 2024 :: Loading sysdata configuration...
Wed Feb 14 12:53:44 2024 :: Loading socials
Wed Feb 14 12:53:44 2024 :: Loading skill table
Wed Feb 14 12:53:44 2024 :: Sorting skill table...
Wed Feb 14 12:53:44 2024 :: Remapping slots to sns
Wed Feb 14 12:53:44 2024 :: Loading classes
Wed Feb 14 12:53:44 2024 :: Loading races
Wed Feb 14 12:53:44 2024 :: Loading herb table
Wed Feb 14 12:53:44 2024 :: Loading tongues
Wed Feb 14 12:53:44 2024 :: Making wizlist
Wed Feb 14 12:53:44 2024 :: Initializing request pipe
Wed Feb 14 12:53:44 2024 :: [*****] BUG: REQUEST pipe not found
PS C:\Conquest_SRC\Conquest\dist\src>


There are no log files being generated either :/
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #18 on Wed 14 Feb 2024 11:10 PM (UTC)

Amended on Wed 14 Feb 2024 11:11 PM (UTC) by Nick Gammon

Message

I would be running from the Cygwin shell personally. No feedback sounds odd. Maybe it’s running in the background? Try: ps -waux and see if you can spot smaug there. Maybe:

ps -waux | grep smaug

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #19 on Wed 14 Feb 2024 11:12 PM (UTC)
Message
 PS C:\Conquest_SRC\Conquest\dist\src> ./smaug
 Wed Feb 14 12:53:44 2024 :: Booting Database

You should still be running from the area directory, which you aren’t there.


- Nick Gammon

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

Posted by Gdub   (40 posts)  Bio
Date Reply #20 on Thu 15 Feb 2024 06:28 AM (UTC)
Message
Nick Gammon said:

> PS C:\Conquest_SRC\Conquest\dist\src> ./smaug
> Wed Feb 14 12:53:44 2024 :: Booting Database

You should still be running from the area directory, which you aren't there.



PS C:\Conquest_SRC\Conquest\dist\area> ../src/smaug
Wed Feb 14 22:27:03 2024 :: Booting Database
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Wed Feb 14 22:27:03 2024 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Wed Feb 14 22:27:03 2024 :: Loading commands
Wed Feb 14 22:27:03 2024 :: Loading sysdata configuration...
Wed Feb 14 22:27:03 2024 :: Loading socials
Wed Feb 14 22:27:03 2024 :: Loading skill table
Wed Feb 14 22:27:03 2024 :: Sorting skill table...
Wed Feb 14 22:27:03 2024 :: Remapping slots to sns
Wed Feb 14 22:27:03 2024 :: Loading classes
Wed Feb 14 22:27:03 2024 :: Loading races
Wed Feb 14 22:27:03 2024 :: Loading herb table
Wed Feb 14 22:27:03 2024 :: Loading tongues
Wed Feb 14 22:27:03 2024 :: Making wizlist
Wed Feb 14 22:27:03 2024 :: Initializing request pipe
Wed Feb 14 22:27:03 2024 :: [*****] BUG: REQUEST pipe not found
PS C:\Conquest_SRC\Conquest\dist\area>
Top

Posted by Gdub   (40 posts)  Bio
Date Reply #21 on Thu 15 Feb 2024 06:31 AM (UTC)
Message
Nick Gammon said:

I would be running from the Cygwin shell personally. No feedback sounds odd. Maybe it's running in the background? Try: ps -waux and see if you can spot smaug there. Maybe:

```bash
ps -waux | grep smaug
```


I'm really out of my element here but I'll keep trying whatever you suggest.


user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/src
$ cd ../

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist
$ cd area

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ../src/smaug

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ps -waux | grep smaug
ps: unknown option -- w
Try `ps --help' for more information.

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ps grep smaug
      PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
     1235    1234    1235      61320  pty0      197609 22:26:37 /usr/bin/bash
     1234       1    1234      14024  ?         197609 22:26:37 /usr/bin/mintty
     1242    1235    1242      69948  pty0      197609 22:30:04 /usr/bin/ps

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area

Top

Posted by Gdub   (40 posts)  Bio
Date Reply #22 on Thu 15 Feb 2024 06:33 AM (UTC)
Message
Gdub said:

Nick Gammon said:

I would be running from the Cygwin shell personally. No feedback sounds odd. Maybe it's running in the background? Try: ps -waux and see if you can spot smaug there. Maybe:

```bash
ps -waux | grep smaug
```


I'm really out of my element here but I'll keep trying whatever you suggest.


user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/src
$ cd ../

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist
$ cd area

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ../src/smaug

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ps -waux | grep smaug
ps: unknown option -- w
Try `ps --help' for more information.

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ps grep smaug
      PID    PPID    PGID     WINPID   TTY         UID    STIME COMMAND
     1235    1234    1235      61320  pty0      197609 22:26:37 /usr/bin/bash
     1234       1    1234      14024  ?         197609 22:26:37 /usr/bin/mintty
     1242    1235    1242      69948  pty0      197609 22:30:04 /usr/bin/ps

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area






user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ bash grep ps -waux | grep  smaug
/usr/bin/grep: /usr/bin/grep: cannot execute binary file

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ bash

user@DESKTOP-7RPHHGB /cygdrive/c/conquest_src/conquest/dist/area
$ ps -waux|grep smaug
ps: unknown option -- w
Try `ps --help' for more information.
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #23 on Thu 15 Feb 2024 07:09 AM (UTC)
Message

Oh well, then since it doesn’t like ‘w’:

 ps -aux | grep smaug

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #24 on Thu 15 Feb 2024 07:11 AM (UTC)
Message

And how big is smaug?

ls -lh ../src/smaug

- 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.


11,112 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.