Hello!
Apologies if I'm sending this in the wrong place as I'm not a developer
myself and have never used an email mailing list before. Anyways, the
title mostly says it all, I was wondering if there's any way to get
Aerc to compile on Windows? I don't know a thing about Golang myself,
but it appears that the source code includes a library called "syscall"
which is specific to Linux and causes error messages when I attempt to
compile the code on Windows. I also tried compiling in Cygwin, but it
didn't work and apparently Cygwin doesn't implement syscall. I use Aerc
as my regular email client on my phone, I would love to be able to use
it on my PC too. Is it possible to get it to compile and run under
Windows or would that require changes to the code? If so, is anyone
interested in making the needed changes? I'm sorry if this is a
bothersome question. I would offer to port it myself if I knew anything
about Golang and wasn't a very novice coder.
I know this in no way answers your question, but I got very curious when
you said that you were using aerc on your phone.
> I use Aerc> as my regular email client on my phone
How are you doing it? Through termux?
Hello,
WyntrHeart, Apr 19, 2024 at 11:07:
> Hello!>> Apologies if I'm sending this in the wrong place as I'm not > a developer myself and have never used an email mailing list before. > Anyways, the title mostly says it all, I was wondering if there's any > way to get Aerc to compile on Windows?
No. aerc is only targeted at POSIX platforms.
> I don't know a thing about Golang myself, but it appears that the > source code includes a library called "syscall" which is specific to > Linux and causes error messages when I attempt to compile the code on > Windows. I also tried compiling in Cygwin, but it didn't work and > apparently Cygwin doesn't implement syscall.>> I use Aerc as my regular email client on my phone, I would love to be > able to use it on my PC too. Is it possible to get it to compile and > run under Windows or would that require changes to the code? If so, is > anyone interested in making the needed changes? I'm sorry if this is > a bothersome question. I would offer to port it myself if I knew > anything about Golang and wasn't a very novice coder.
Your best bet is probably to use WSL:
https://learn.microsoft.com/en-us/windows/wsl/install
On Fri Apr 19, 2024 at 13:56, Robin Jarry <robin@jarry.cc> wrote:
> Hello,> >> > I use Aerc as my regular email client on my phone, I would love to be
I'm also very interested in how you do this exactly! I have it compiled on
termux, but it's not something I'd use over an app. Feels painful without
a physical keyboard.
>> Your best bet is probably to use WSL:>> https://learn.microsoft.com/en-us/windows/wsl/install
For the record (thanks to Robin btw), this is how I can compile aerc with
notmuch on WSL. Otherwise, if you must use Windows, I highly recommend WSL.
make install CGO_CFLAGS="-I$HOME/.local/include" CGO_LDFLAGS="-L$HOME/.local/lib -Wl,-rpath=$HOME/.local/lib" PREFIX=$HOME/.local GOFLAGS=-tags=notmuch
--
+36305425054
bence.ferdinandy.com
> I'm also very interested in how you do this exactly! I have it compiled on> termux, but it's not something I'd use over an app. Feels painful without> a physical keyboard.
Yeah, I use Termux. It works fine for me without a physical keyboard. Not
the ideal interface, but it gets the job done. All my accounts, in one
place, with minimal resource usage.
> For the record (thanks to Robin btw), this is how I can compile aerc with> notmuch on WSL. Otherwise, if you must use Windows, I highly recommend WSL.>> make install CGO_CFLAGS="-I$HOME/.local/include" CGO_LDFLAGS="-L$HOME/.local/lib -Wl,-rpath=$HOME/.local/lib" PREFIX=$HOME/.local GOFLAGS=-tags=notmuch
Thank you for the tip!