GithubHelp home page GithubHelp logo

Comments (5)

Marterido avatar Marterido commented on August 17, 2024 3

I managed to fix it. But I do want to say that I have no experience with any of this and I kinda just tried a whole bunch of things and experimented with what I could find. So here goes.

With some testing I found that the command ginstall doesn't work at all on Mac. So my first change was to just use the command install. When I changed it I didn't get the error from before anymore, but another error came up:

install -vD mcrcon /usr/local/bin/mcrcon
install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make: *** [install] Error 64

Apparently the install command doesn't like the -D attribute on Mac.
As you can see the -D argument is not in the list of usable arguments while on Linux it is in there.

So I removed the -D from the Makefile. This is what line 40 and 41 now look like in the Makefile:

$(INSTALL) -v $(EXENAME) $(DESTDIR)$(PREFIX)/bin/$(EXENAME)
$(INSTALL) -v -m 0644 mcrcon.1 $(DESTDIR)$(PREFIX)/share/man/man1/mcrcon.1

After I made those changes I did the sudo make install again and got this message stating that everything worked:

install -v mcrcon /usr/local/bin/mcrcon
install: mcrcon -> /usr/local/bin/mcrcon
install -v -m 0644 mcrcon.1 /usr/local/share/man/man1/mcrcon.1
install: mcrcon.1 -> /usr/local/share/man/man1/mcrcon.1

mcrcon installed. Run 'make uninstall' if you want to uninstall.

Hope I didn't corrupt the install by doing this, but everything seems to be running correctly and I can now send commands to the server.

I'd thought I'd share my solution just in case I did something terribly wrong or in case it'll help someone.

Here are the sources I found that helped me figure this out:
todbot/blink1#252

from mcrcon.

Marterido avatar Marterido commented on August 17, 2024 1

Make seems to be installed. If I do make -v I get proper info. I tried to install it with brew, but I get the same problem.

from mcrcon.

terokorp avatar terokorp commented on August 17, 2024

That error message means that you don't have 'make' installed or your computer cant find it.

I don't know about macs, but someone on Stack Overflow has asked how to install make and gcc
https://stackoverflow.com/questions/10265742/how-to-install-make-and-gcc-on-a-mac
I hope this leads you to right direction and you will get it work.

from mcrcon.

terokorp avatar terokorp commented on August 17, 2024

ah, sorry, my mistake, its ginstall that it cant find

from mcrcon.

Tiiffi avatar Tiiffi commented on August 17, 2024

Unfortunately I don't have access for Mac so I can't test builds on MacOS but I am trying to make this project easily buildable on Linux, Windows ja MacOS.

Any testing and help on MacOs is appreciated and I will try to address Mac specific issues in next releases.

It is unfortunate that many basic tools are not 100% compatible between different platforms (install etc.)

from mcrcon.

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.