Page 1 of 1

Headless server 1.0.0 Syntax error

Posted: Thu Jan 21, 2021 4:03 pm
by Excard
Hello.

I am trying to get the headless server up and running on a Raspberry OS, running on a Raspberry Pi 3, but when i try to create a save file or start the server i get the following error:

./factorio: 1: ./factorio: Syntax error: ")" unexpected

I am pretty new to Linux in general so i am not sure how to get more detailed logs and i appreciate any help in this matter.

Re: Headless server 1.0.0 Syntax error

Posted: Thu Jan 21, 2021 4:10 pm
by Loewchen
Are trying to run the game in an emulator? The game will not run on the Raspberry Pi's CPU architecture natively.

Re: Headless server 1.0.0 Syntax error

Posted: Thu Jan 21, 2021 6:13 pm
by Excard
No, i just followed the instruction on how to setup the headless server so no emulator.

Is it the specific architecture of the Raspberry Pi or just the OS?
Would it make a difference if a use a different Unix dist?

Re: Headless server 1.0.0 Syntax error

Posted: Thu Jan 21, 2021 6:25 pm
by Excard
I actually found a guide now who explained it in greater detail and how to run Factorio on an ARM CPU so thanks for pointing me in the right direction :-)

https://github.com/mcrossen/factorio-pi

Re: Headless server 1.0.0 Syntax error

Posted: Sun Jan 24, 2021 4:32 pm
by ChocoLZS
Excard wrote:
Thu Jan 21, 2021 6:25 pm
:shock: !!!!
pi 4b 4gb 1.5ghz
Success running the server,thank you very much!!!
After spending nearly a day to follow the official steps
compiling and installing glibc-2.18
compiling and installing gcc of old version 4.8.2
compiling and installing installing three gcc dependencies
the super slow network :roll:
a series of errors,warnings...

They nearly drove me crazy :? :? :?

actually i had seen your comment before,but i was still following the official :( :( :(

anyway,thanks a lot,this method do really help!!!!