Comments (5)
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.
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.
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.
ah, sorry, my mistake, its ginstall that it cant find
from mcrcon.
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)
- showing certain console info
- ValueError: signal only works in main thread of the main interpreter
- Invalid Packet size on Fabric Server HOT 3
- 建议兼容下颜色
- Problem with syntax HOT 4
- where can i find the dependencies.. HOT 1
- server.properties gets reset when using mcrcon HOT 2
- Create Shortcut doesn't allow for automated launch HOT 1
- 'no password' condition needs an error code instead of success
- Compiling on windows HOT 2
- Porting source code HOT 1
- Wont Open just closes instantly HOT 1
- Can't get mcrcon to work on Windows HOT 2
- Make Command Error on Ubuntu Server 22.04 HOT 2
- connection failed HOT 1
- Change to English HOT 1
- "minecraft.service: Failed at step EXEC spawning /var/minecraft/mcrcon/mcrcon: Permission denied" HOT 3
- mcrcon commands result not displaying.
- Certain commands return no output when run from mcrcon, but work when run from console directly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcrcon.