[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Developer environment setup problem
From: |
Diego Nieto Cid |
Subject: |
Re: Developer environment setup problem |
Date: |
Thu, 19 Jun 2025 01:16:20 +0100 |
Hello,
On Tue, Jun 17, 2025 at 05:18:30PM -0700, Milos Nikic wrote:
>
> As far as that "n", I have no idea where that is coming from. It's not
> happening when I try on the Host, only inside Hurd.
> I see in the Makefile there is a line such as:
> MIGCOM = $(MIG) -n -cc cat - /dev/null
>
It's USER_MIG that is missing. For some reason, on i386, gnumach's configure
doesn't set it. Once you do:
make USER_MIG=mig tests/test-task.iso
the ISO builds and runs just fine.
On x86_64 it is detected as:
USER_MIG='x86_64-gnu-mig'
so probably something to do with how the built mig is installed from source.
You can also test by installing mig from the Debian repository instead of
building it from source.
Below[2] are all the steps I went through on a clean hurd-i386 image[1] in
case it is of some help to you.
Regards,
Diego
[1]
https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd-20230608.img.tar.xz
[2] Command log:
demo@debian:~$ mkdir -p dev/hurd/upstream
demo@debian:~$ sudo apt update
demo@debian:~$ sudo apt install vim git build-essential
demo@debian:~$ cd dev/hurd/upstream/
demo@debian:~/dev/hurd/upstream$ git clone
https://git.savannah.gnu.org/git/hurd/mig.git/
demo@debian:~/dev/hurd/upstream$ git clone
https://git.savannah.gnu.org/git/hurd/gnumach.git/
demo@debian:~/dev/hurd/upstream$ cd mig/
demo@debian:~/dev/hurd/upstream/mig$ autoreconf -vi
-bash: autoreconf: command not found
demo@debian:~/dev/hurd/upstream/mig$ sudo apt install autoconf automake m4
demo@debian:~/dev/hurd/upstream/mig$ autoreconf --install
demo@debian:~/dev/hurd/upstream/mig$ mkdir build
demo@debian:~/dev/hurd/upstream/mig$ cd build
demo@debian:~/dev/hurd/upstream/mig/build$ GNU=~/gnu
demo@debian:~/dev/hurd/upstream/mig/build$ mkdir $GNU
demo@debian:~/dev/hurd/upstream/mig/build$ TARGET_CPPFLAGS="-I$GNU/include"
../configure --prefix="$GNU"
demo@debian:~/dev/hurd/upstream/mig/build$ sudo apt install bison flex
demo@debian:~/dev/hurd/upstream/mig/build$ TARGET_CPPFLAGS="-I$GNU/include"
../configure --prefix="$GNU"
demo@debian:~/dev/hurd/upstream/mig/build$ make all install
demo@debian:~/dev/hurd/upstream/mig/build$ echo
'PATH=/home/demo/gnu/bin:$PATH' >> ~/.bash_profile
demo@debian:~/dev/hurd/upstream/mig/build$ source ~/.bash_profile
demo@debian:~/dev/hurd/upstream/mig/build$ cd ../../gnumach/
demo@debian:~/dev/hurd/upstream/gnumach$ autoreconf --install
demo@debian:~/dev/hurd/upstream/gnumach$ mkdir build
demo@debian:~/dev/hurd/upstream/gnumach$ cd build
demo@debian:~/dev/hurd/upstream/gnumach/build$ ../configure --prefix=
demo@debian:~/dev/hurd/upstream/gnumach/build$ make gnumach.gz
demo@debian:~/dev/hurd/upstream/gnumach/build$ sudo apt install texinfo
xorriso
demo@debian:~/dev/hurd/upstream/gnumach/build$ make USER_MIG=mig
tests/test-task.iso
- Re: Developer environment setup problem, Almudena Garcia, 2025/06/16
- Re: Developer environment setup problem, Milos Nikic, 2025/06/16
- Re: Developer environment setup problem, jbranso, 2025/06/16
- Re: Developer environment setup problem, Diego Nieto Cid, 2025/06/16
- Re: Developer environment setup problem, Milos Nikic, 2025/06/17
- Re: Developer environment setup problem, Diego Nieto Cid, 2025/06/17
- Re: Developer environment setup problem, Samuel Thibault, 2025/06/17
- Re: Developer environment setup problem, jbranso, 2025/06/17
- Re: Developer environment setup problem, Milos Nikic, 2025/06/17
- Re: Developer environment setup problem, jbranso, 2025/06/18
- Re: Developer environment setup problem,
Diego Nieto Cid <=
- Re: Developer environment setup problem, Diego Nieto Cid, 2025/06/18
- Re: Developer environment setup problem, Milos Nikic, 2025/06/19
- Re: Developer environment setup problem, Samuel Thibault, 2025/06/22
- Re: Developer environment setup problem, Samuel Thibault, 2025/06/22
- Re: Developer environment setup problem, Samuel Thibault, 2025/06/22
- Re: Developer environment setup problem, Almudena Garcia, 2025/06/22
- Re: Developer environment setup problem, Samuel Thibault, 2025/06/22
- Re: Developer environment setup problem, Almudena Garcia, 2025/06/22
- Re: Developer environment setup problem, Samuel Thibault, 2025/06/24
Re: Developer environment setup problem, Milos Nikic, 2025/06/22