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-le...@lists.genode.org
Archived at 
https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/message/5MFELPMMIDOKBVC4QBCKKXALKDEXYGDZ/

Reply via email to