Coder Social home page Coder Social logo

Comments (5)

foxbird avatar foxbird commented on August 18, 2024 1

Yep! I do the fox thing well enough it seems.

I've tested out the windows build from the alpha 02 release tag that appveyor built and it seems to have an issue just as you describe. Even with a correct command line it opens a window briefly that immediately disappears right after creating a PID file. So, I took the source from the alpha 02 tag and built it on my machine locally and everything seems to work well. So, there's something wrong with appveyor's windows build. I'd be happy to provide you with a stable alpha 02 release if you like.

As for the Linux side, that'll take some debugging. I imagine you successfully were able to use configure to configure it to your system, and make to build an executable. I'm not sure where it goes if you make install as I've never wanted to get that far. However, you should be able to test it out running directly from the 'game' folder. Here's a quick script I did to build and test:

foxbird@FOXTOME:~$ mkdir sandbox
foxbird@FOXTOME:~$ cd sandbox
foxbird@FOXTOME:~/sandbox$ git clone https://github.com/fuzzball-muck/fuzzball.git fuzzball
foxbird@FOXTOME:~/sandbox$ cd fuzzball
foxbird@FOXTOME:~/sandbox/fuzzball$ git tag
v7.0-alpha.1
v7.0-alpha.2
foxbird@FOXTOME:~/sandbox/fuzzball$ git checkout -b alpha2 v7.0-alpha.2
Switched to a new branch 'alpha2'
foxbird@FOXTOME:~/sandbox/fuzzball$ ./configure
 ...
foxbird@FOXTOME:~/sandbox/fuzzball$ make
 ...
foxbird@FOXTOME:~/sandbox/fuzzball$ cd game
foxbird@FOXTOME:~/sandbox/fuzzball/game$ ../src/fbmuck data/minimal.db data/minimal.out 8888
foxbird@FOXTOME:~/sandbox/fuzzball/game$ ps auxw | grep fb
foxbird   7851  0.0  0.0      0     0 ?        Ss    2433   0:00 ../src/fbmuck data/minimal.db data/minimal.out 8888
foxbird   7854  0.0  0.0      0     0 ?        S     2433   0:00 grep --color=auto fb
foxbird@FOXTOME:~/sandbox/fuzzball/game$ telnet localhost 8888

The above procedure works just fine on an Ubuntu box I had around. Mind you, that just gets the muck running. If you want to actually run it reliably, you'll want to investigate the restart shell script in the game directory, and perhaps even make install thing. That will make sure that you do things like swap out database and macros files when it shuts down and such. All very useful.

Let me know how it goes. I'll leave this ticket open here until I can get someone to look at the appveyor builds and why it's not working.

from fuzzball.

ObscenityIB avatar ObscenityIB commented on August 18, 2024

Hey, thanks for getting back to me, and a fellow fox too!
For your first question, yes, i have tried the packages from fuzzball.org, but first i cloned the latest git changes and used those, it compiled fine on Ubuntu but getting to the point of doing anything but print the help or do nothing, seems to be impossible.

The windows version from the site had 'restart.in' and was a bash script, so pretty useless, but i copied someone elses ini file and adjusted it to the ports i want to use, restart.exe also just flashes another console with no output.

The status file only tells me what fbmucks pid is, they say nothing else, when i check for that proccess, it doesnt exist, when i check for things listening on the port, there is nothing.

Thats about it from me, what else do you need to know?

from fuzzball.

ObscenityIB avatar ObscenityIB commented on August 18, 2024

Thanks, ill try again on Ubuntu and get back to you.
Also make install is a bad idea, because there is no uninstall rule defined, learned that the hard way. Real hassle to remove manually.

from fuzzball.

wyld-sw avatar wyld-sw commented on August 18, 2024

One option is to specify a --prefix with configure. It will tell make where you'd like it to install.

from fuzzball.

ObscenityIB avatar ObscenityIB commented on August 18, 2024

@foxbird following the steps you did seemed to work, i can connect and use it now, thanks!

from fuzzball.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.