View Single Post
  #1  
Old 09-03-2022, 11:48 PM
Rabcor Rabcor is offline
Scrawny Gnoll


Join Date: Mar 2022
Location: Field of Bone
Posts: 25
Send a message via MSN to Rabcor
Default

Quote:
Originally Posted by Nori [You must be logged in to view images. Log in or Register.]
Anybody run into this issue on steam deck (arch linux) when trying to compile Zaela's login helper?

Code:
cc -c -o build/main.o src/main.c -O2 -Wall -Wno-strict-aliasing
In file included from src/connection.h:5:0,
from src/main.c:2:
src/netcode.h:10:10: fatal error: errno.h: No such file or directory
#include <errno.h>
^~~~~~~~~
compilation terminated.
Makefile:30: recipe for target 'build/main.o' failed
make: *** [build/main.o] Error 1

I'm trying to get EQ running on my steam deck but can't get through this step. Anybody give up on this and just use a VPN?
Edit: I just realized, you're not running the command from the correct directory :'D you have to open the terminal inside the build directory before running the make command otherwise it complains about no such file or directory, oh well, I suppose you can still use my precompiled file if u want, if you don't manage to compile it yourself.

I'm not an expert on this, but building software like this usually has dependenies, in a lot of cases though it has the same dependencies. Steam deck's OS is arch based I think, and on arch there's a meta package called base-devel which contains a whole lot of common build dependencies.

One possible solution might be doing this and installing that meta package afterwards. (It's a bad idea for a lot of reasons, but i mean if you're desperate then you're desperate)

There's probably a better solution (I don't have a steam deck but i imagine it has a package manager and an official repository for packages in it which probably contain all the packages under the base-develpackage on arch, and installing each one manually would for instance be a better if slower solution)

If you're linux savvy at all you might also be better off just replacing steamos with a distro of oyur choice (manjaro for instance), if you're not though then you probably shouldn't.

Lastly (and probably most easily) you can just get it precompiled, here's mine, I compiled it on manjaro (the .txt extension was necessary to be able to upload the file, just download it, remove .txt, make it executable (chmod +x) and run it if you want to use it):
Attached Files
File Type: txt p99-login-middlemand.txt (17.5 KB, 19 views)
Last edited by Rabcor; 09-04-2022 at 12:04 AM..
Reply With Quote