Answer to Jeremy Soller question why its so many javascript developers and few rust developers.
I was looking at "RedoxOS (microkernel OS written in Rust)" - Lunduke Hour - Mar 13, 2017. Jeremy Soller wonders why javascript attracts so many new developers when its hard to find new developers for rust and system development. I am a javascript and dart/flutter mobile app developer. So I take it as a fun challenge to install redox and start contributing. That was 4 days ago. And I have finally got redox running but i cant log in.
I was talking with a AI engineer at work about my issues and he just laughed and welcomed me to autohell. And thats where I started my trip down to hell.
AutoHell
- install autoconf264. Its not on brew. But I find it on macports and install macports to install autoconf. <--- that is funny.
- When autoconf is installed it cant find it cause the bash script calls autoconf264 instead of autoconf that i have in my path. Easy to replace.
- AutoMake, cant find 1.11 on the normal channels so I learn to install it from tardballs. Redox: Must install automake112 version 1.11 before x86_64-unknown-redox may be built
Automake error: It was created by GNU Automake configure 1.11, which was generated by GNU Autoconf 2.63.
Automake error: It was created by GNU Automake configure 1.11.6, which was generated by GNU Autoconf 2.69.
Automake error: It was created by GNU Automake configure 1.11.2, which was generated by GNU Autoconf 2.68.
aclocal112 Why name it that!
Perl Has deprecated {} in regex… they need to be /…
Wget…
Why not use semantic versioning?
Make in brew is silent… waiting… is it working … ???…
- No it does not work I have macports installed... lol
- After alot of configuring and hacking bash scripts and remaking and reinstalling I give up trying to build it on my mac.
Pop!_os run in a vm
Works like a dream. Just a few commands and a lot of exited waiting:
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 2048 -machine q35 -device ich9-intel-hda -device hda-duplex -netdev user,id=net0 -device e1000,netdev=net0 -object filter-dump,id=f1,netdev=net0,file=build/network.pcap -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -s \
-drive file=build/harddrive.bin,format=raw \
-drive file=build/extra.qcow2
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
Kernel: 100000:9C81C8
Stack: FFFFFF0000080000:FFFFFF000009F000
Env: FFFFFF000009EFCF:FFFFFF000009F000
MemoryArea { base_addr: 0, length: 654336, _type: 1, acpi: 0 }
MemoryArea { base_addr: 654336, length: 1024, _type: 2, acpi: 0 }
MemoryArea { base_addr: 983040, length: 65536, _type: 2, acpi: 0 }
MemoryArea { base_addr: 1048576, length: 2146295808, _type: 1, acpi: 0 }
MemoryArea { base_addr: 2147344384, length: 139264, _type: 2, acpi: 0 }
MemoryArea { base_addr: 2952790016, length: 268435456, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4275159040, length: 16384, _type: 2, acpi: 0 }
MemoryArea { base_addr: 4294705152, length: 262144, _type: 2, acpi: 0 }
Using PIT
BSP: Ok(ContextId(1)) 1
Env: Ok("REDOXFS_UUID=f3b2d720-2bbf-4456-a5c7-71b0e59c9c14")
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login: user
login: No such file or directory (os error 2)
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login: root:password
login: No such file or directory (os error 2)
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login: `user`
login: No such file or directory (os error 2)
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login: "user"
login: No such file or directory (os error 2)
########## Redox OS ##########
# Login with the following: #
# `user` #
# `root`:`password` #
##############################
redox login:
The answer to the question is that the threshold is to big and the tooling sucks on mac. Which is bad for me as an app developer, apple chains me to mac hardware...
But I will give it a serious try... See you later