Compile Sublime Debian Stretch
#1

I'm trying to compile my GM on debian, as same way i did on Ubuntu, but it's not working:

I'm using this pack:


libpawn.so
https://uploadfiles.io/a9qae

pawncc
https://ufile.io/wy2lk

My sublime's compiler - pawn.sublime-build:
Код:
{
	"cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],
	"path": "/lib"
}
Error:
Код:
[Errno 2] No such file or directory: 'pawncc'
[cmd: ['pawncc', 'TDM.pwn', '-;+', '-v2', '-d3', '-Z+', '-\\)+']]
[dir: /home/binny/Documents/sampserver/gamemodes]
[path: /lib]
[Finished]
Or

Код:
{
	"cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],
	"path": "/lib/"
}
Error:
Код:
Errno 2] No such file or directory: 'pawncc'
[cmd: ['pawncc', 'TDM.pwn', '-;+', '-v2', '-d3', '-Z+', '-\\)+']]
[dir: /home/binny/Documents/sampserver/gamemodes]
[path: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games]
[Finished]
https://sampforum.blast.hk/showthread.php?tid=615066&page=2
I did tried this 2 ways because i saw another guy using debian old, and he solved just changing that...
But now on this new version it's not working...

Is anybody more experient could help me and others who use this new debian?
Reply
#2

Is the execution flag set? Also that compiler may be designed to only run on a 32-bit OS. If you have a 64-bit OS and the 32-bit libraries are not installed then this can also occur. The server itself suffers from the same problem.
Reply
#3

Is the execution flag set? I don't understand srry...
What library u was talking about?

Idk what happen, i've tried to debug now and work, i didn't change nothing on compiler:
Код:
{
	"cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],
	"path": "/lib/"
}
Did u know why?
Reply
#4

Quote:
Originally Posted by binnyl
Посмотреть сообщение
Is the execution flag set? I don't understand srry...
What library u was talking about?

Idk what happen, i've tried to debug now and work, i didn't change nothing on compiler:
Код:
{
	"cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],
	"path": "/lib/"
}
Did u know why?
He means if you set pawncc so it can be executed.

Код:
chmod +x pawncc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)