Hello Johannes, thank you for the quick reply!

I have been watching your Fosdem lectures on youtube and the Fosdem website to try learn how to use Goa.

Yes I had visited the link on source forge however it said:

"*** Genode migrated to https://github.com/genodelabs/genode
***
*** From version 24.08 on, release are exclusively available from
***
***   https://github.com/genodelabs/genode/releases
***
*** The files here are kept as an archive only."

So I thought since you have migrated to github now, the latest tool chain is on the github repository releases, but I couldn't find the pre-compiled genode-toolchain for 24.08, so I thought I must have to compile it myself.

"From version 24.08 on, release are exclusively available from  https://github.com/genodelabs/genode/releases"

Is 23.05 on source forge the most recent pre-compiled tool_chain available currently?

Thank you, I will use that now instead of compiling myself.


On Tue, 2 Jul 2024, at 09:17, Johannes Schlatow wrote:
Hi Jack,

I'm amazed that you pushed through the many obstacles you experienced as 
a first-time user. It's a valuable feedback on what we can improve 
w.r.t. documentation. The Goa installation guide is actually found in 
the README file but maybe we need to make this more prominent.

Building the tool chain from source indeed takes quite some time and 
computation. This is why we provide a pre-compiled tool chain. Please 
download the archive from [1] and follow the install instructions [2]. 
This saves you the time and hassle to compile the tool chain from source.

[1] https://sourceforge.net/projects/genode/files/genode-toolchain/23.05/
[2] https://genode.org/download/tool-chain

Cheers
Johannes

On 02/07/2024 03:58, Jack Curran wrote:
> Hello, I want to learn Genode and SculptOS so I am trying to learn how to port applications to Genode/SculptOS as a learning experience and to help contribute to the project.

> I have never packaged an application or ported one before, so this is a first time experience. I know that Genode is quite an advanced project and probably not for novices like myself, however I am very interested in the project and would like to contribute. I would guess the best way to learn how to port applications and make packages is by actually trying to just do it.

> I've been looking around the internet trying to find various guides from github and genodians.org to learn how to do this. So far I have come to the conclusion that I need to use Goa on a Linux system to build these ports. So I am using a virtual machine with Ubuntu to do so. However none of the Goa guides show how to actually install Goa, so that is what I have been struggling to find information on.

> I am now reading the Genode Foundations Book as it seems to have more information on compiling the genode applications and tools from source.

> I am using a virtual machine running Ubuntu 24.04 LTS and I have installed the necessary packages as stated in the book:

> "Recommended development environment Genode is regularly used and devel-
> oped on GNU/Linux. It is recommended to use the latest long-term support (LTS)
> version of Ubuntu. Make sure that your installation satisfies the following require-
> ments:
> • GNU Make version 3.81 (or newer) needed by the build system,
> • libsdl2-dev, libdrm-dev, and _libgbm-dev needed to run interactive system scenarios
> directly on Linux,
> • tclsh and expect needed by test-automation and work-flow tools,
> • xmllint for validating configurations,
> • qemu, xorriso, sgdisk, and e2tools needed for running system scenarios on non-
> Linux platforms via the Qemu emulator."

> Reading the Goa github readme, it says I need the genode tool_chain. To get the genode tool chain, I have cloned the genode github repository and I have the source tree with the genode/tool/tool_chain file

> I have run the following commands: "git clone https://github.com/genodelabs/genode.git"

> "cd <genode-dir>
> git checkout -b 24.05 24.05"

> "cd <genode-dir>
> ./tool/create_builddir x86_64"

> Reading the Genode Tool_Chain section on the genode website it says: "Compile from source

>      For those of you who prefer compiling the tool chain from source, we provide a tool for downloading, building, and installing the Genode tool chain. You find the tool in Genode's source tree at tool/tool_chain. For usage instructions, just start the tool without arguments."

> I have run this command:  "./genode/tool/tool_chain"

> Is this what is meant by start the tool without arguments?

> The following message comes up:

> "~$ ./genode/tool/tool_chain
> bash: line 1: gcc: command not found
>   Need to have 'flex' installed.
>   Need to have 'bison' installed.
>   Need to have 'g++' installed.
>   Need to have 'libncurses' installed.
>    Need to have 'libncurses' installed.
>   Need to have 'texinfo' installed.
>   Need to have 'libexpat' installed.
> bash: line 1: gnatmake: command not found
>   Need to have GNAT installed and the GNAT version must match the GCC version (found GCC ).
>   Need to have 'libgmp' installed.
> genode/tool/tool_chain:170: *** Please install missing tools..  Stop."

> Do I have to also manually install each of these packages using

> sudo apt install gcc flex bison g++ .... etc

> I would have thought that a make file or something similar would manually install all the dependencies for me? I am just not sure if I am doing this correctly and want to know if I am doing something wrong.

> I previously installed each dependency/packages needed as stated in the error message until I had no errors left. Then it seemed to start compiling the genode tool_chain via GCC, however it continued compiling for several hours, so I thought maybe I was doing it the incorrect way, so I cancelled the compilation. I want to first ask if I am even doing this the correct way before I spend more time trying to compile something incorrectly.

> Thank you.
> _______________________________________________
> users mailing list -- users@lists.genode.org
> To unsubscribe send an email to users-leave@lists.genode.org
> Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/5MFELPMMIDOKBVC4QBCKKXALKDEXYGDZ/
_______________________________________________
users mailing list -- users@lists.genode.org
To unsubscribe send an email to users-leave@lists.genode.org
Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/B2FICG4Q65PEQUSIX2AJQUG6XVSJUNDQ/