bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re : apt-get build-dep gnumach did not install mig


From: Paul Dufresne
Subject: Re: Re : apt-get build-dep gnumach did not install mig
Date: Tue, 09 Feb 2021 12:29:11 -0500
User-agent: Zoho Mail

I think I figure out part of what the problem was.
As I had used:
https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html
which use:
$ CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' 
../configure --prefix= --host=i686-unknown-linux-gnu
then:
$ make DESTDIR=~/gnu install-data
I believe there it installed 64 bit headers in ~/gnu... frankly did not look to 
them to know.

But:
http://darnassus.sceen.net/~hurd-web/microkernel/mach/gnumach/building/
which use:
$ TARGET_CPPFLAGS=-I"$GNU"/include ../configure --prefix="$GNU" 
--host=i686-unknown-linux-gnu 
then I believee:
$ make DESTDIR=~/gnu install-data
will install the 32 bit headers files.

I am a bit ignoring your "new" README file in git for now... to test if that 
will fix the problem.

But I have new one:
paul@jacko:~/mymach/gnumach/build$ LANG=C make gnumach.gz
rm -f vm/memory_object_user.user.defs.c
cp -p ../vm/memory_object_user.cli vm/memory_object_user.user.defs.c
rm -f vm/memory_object_default.user.defs.c
cp -p ../vm/memory_object_default.cli vm/memory_object_default.user.defs.c
rm -f device/device_reply.user.defs.c
cp -p ../device/device_reply.cli device/device_reply.user.defs.c
rm -f device/memory_object_reply.user.defs.c
cp -p ../device/memory_object_reply.cli device/memory_object_reply.user.defs.c
rm -f kern/task_notify.user.defs.c
cp -p ../kern/task_notify.cli kern/task_notify.user.defs.c
rm -f device/device.server.defs.c
cp -p ../device/device.srv device/device.server.defs.c
rm -f device/device_pager.server.defs.c
cp -p ../device/device_pager.srv device/device_pager.server.defs.c
rm -f ipc/mach_port.server.defs.c
cp -p ../ipc/mach_port.srv ipc/mach_port.server.defs.c
rm -f kern/mach.server.defs.c
cp -p ../kern/mach.srv kern/mach.server.defs.c
rm -f kern/mach4.server.defs.c
cp -p ../kern/mach4.srv kern/mach4.server.defs.c
rm -f kern/gnumach.server.defs.c
cp -p ../kern/gnumach.srv kern/gnumach.server.defs.c
rm -f kern/experimental.server.defs.c
cp -p ../kern/experimental.srv kern/experimental.server.defs.c
rm -f kern/mach_debug.server.defs.c
cp -p ../kern/mach_debug.srv kern/mach_debug.server.defs.c
rm -f kern/mach_host.server.defs.c
cp -p ../kern/mach_host.srv kern/mach_host.server.defs.c
rm -f ipc/notify.none.defs.c
cp -p ../ipc/notify.defs ipc/notify.none.defs.c
rm -f kern/exc.none.defs.c
cp -p ../kern/exc.defs kern/exc.none.defs.c
rm -f i386/i386/mach_i386.server.defs.c
cp -p ../i386/i386/mach_i386.srv i386/i386/mach_i386.server.defs.c
cd . && /bin/bash ./config.status version.c
config.status: creating version.c
i686-linux-gnu-gcc-10 -DHAVE_CONFIG_H -I. -I..  -ffreestanding -nostdinc 
-imacros config.h -Ii386 -I. -I../i386 -I../i386/include/mach/sa -I../include  
-E  -fno-builtin-log -Wall -fgnu89-inline -fno-strict-aliasing 
-fno-stack-protector -no-pie -fno-pic  -mno-3dnow -mno-mmx -mno-sse -mno-sse2  
-g -O2 -MT vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o -MD -MP -MF 
vm/.deps/lib_dep_tr_for_defs_a-memory_object_user.user.defs.Tpo -c -o 
vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o `test -f 
'vm/memory_object_user.user.defs.c' || echo 
'../'`vm/memory_object_user.user.defs.c
mv -f vm/.deps/lib_dep_tr_for_defs_a-memory_object_user.user.defs.Tpo 
vm/.deps/lib_dep_tr_for_defs_a-memory_object_user.user.defs.Po
no -n -cc cat - /dev/null       \
  -user vm/memory_object_user.user.c -header vm/memory_object_user.user.h       
                \
  -list vm/memory_object_user.user.msgids                                       
\
  < vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o
/bin/bash: no: command not found
make: *** [Makefile:9382: vm/memory_object_user.user.h] Error 127
paul@jacko:~/mymach/gnumach/build$ 

paul@jacko:~/mymach/gnumach/build$ whereis bash
bash: /usr/bin/bash /etc/bash.bashrc /usr/share/man/man1/bash.1.gz
paul@jacko:~/mymach/gnumach/build$ 

I may create a symlink /bin/bash on /usr/bin/bash

I find it weird it does that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]