Subject: build problem / cannot build X
To: None <current-users@netbsd.org>
From: Bjoern Hillebrand <bjoern.hillebrand@s-ar.de>
List: current-users
Date: 05/22/2004 17:21:13
This is a multi-part message in MIME format.
--------------080502060005000408010609
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

My system is a slackware 9.1 linux box ( 2.6.6 kernel ) and I want to give
NetBSD a try.

So I i checked out the repository and download the XFree 4.4 source code for the 
X-Windows system.

My compile script is attached to this mail. When i set MAKEOBJDIR build.sh 
aborts. Without MAKEOBJDIR it works until the build process of X. I also 
attached the failure description provided from the build process.

I read an article about the NetBSD 2.0 features and it sounds very interesting.
I worked a lot with FreeBSD and like the BSD operating systems.
So it would be great if anyone can help me ;-)

The repository was updated about 3 hours before.

thanks!
bye
Bjoern

--------------080502060005000408010609
Content-Type: text/plain;
 name="netbsd_abort"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="netbsd_abort"

CC=/data/NetBSD/src/obj/tooldir.Linux-2.6.6-unknown/bin/i386--netbsdelf-gcc /dat
a/NetBSD/src/obj/tooldir.Linux-2.6.6-unknown/bin/nbmkdep -f Wrap.d --      -DXTH
READS -D_REENTRANT -DXUSE_MTSAFE_API  -DXNO_MTSAFE_PWDAPI -DUSE_NBSD_THREADLIB -
I. -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -DCSRG_BASED -DFUNCPROTO=1
5 -DNARROWPROTO -I/data/NetBSD/dest/usr/X11R6/include   -nostdinc -isystem /data
/NetBSD/dest/usr/include -DHASXDMAUTH /data/NetBSD/xfree/xc/lib/Xdmcp/Wrap.c
nbmake: don't know how to make Wraphelp.c. Stop

nbmake: stopped in /data/NetBSD/src/x11/lib/X11/dynamic

*** Failed target:  dependall-dynamic
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case
 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="x11/lib/X11/"; real="
/data/NetBSD/src/x11/lib/X11" ;; *) this="x11/lib/X11/${dir}/"; real="/data/NetB
SD/src/x11/lib/X11/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show
%/}${1:+ (with: $@)}"; cd "${real}" && /data/NetBSD/src/obj/tooldir.Linux-2.6.6-
unknown/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget dynamic
 dependall
*** Error code 2

Stop.
nbmake: stopped in /data/NetBSD/src/x11/lib/X11

*** Failed target:  do-lib-X11
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case
 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="x11/"; real="/data/Ne
tBSD/src/x11" ;; *) this="x11/${dir}/"; real="/data/NetBSD/src/x11/${dir}" ;; es
ac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${rea
l}" && /data/NetBSD/src/obj/tooldir.Linux-2.6.6-unknown/bin/nbmake _THISDIR_="${
this}" "$@" ${target}; }; _makedirtarget lib/X11 dependall
*** Error code 1

Stop.
nbmake: stopped in /data/NetBSD/src/x11

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case
 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="x11/"; real="/data/Ne
tBSD/src/x11" ;; *) this="x11/${dir}/"; real="/data/NetBSD/src/x11/${dir}" ;; es
ac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${rea
l}" && /data/NetBSD/src/obj/tooldir.Linux-2.6.6-unknown/bin/nbmake _THISDIR_="${
this}" "$@" ${target}; }; _makedirtarget . do-lib-X11
*** Error code 1

Stop.
nbmake: stopped in /data/NetBSD/src/x11

*** Failed target:  do-x11
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case
 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/data/NetBSD
/src" ;; *) this="${dir}/"; real="/data/NetBSD/src/${dir}" ;; esac; show=${this                                               -.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /data/Ne                                               BSD/src/obj/tooldir.Linux-2.6.6-unknown/bin/nbmake _THISDIR_="${this}" "$@" ${t                                               rget}; }; _makedirtarget x11 build
*** Error code 1

Stop.
nbmake: stopped in /data/NetBSD/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; cas                                                "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/data/NetBS                                               /src" ;; *) this="${dir}/"; real="/data/NetBSD/src/${dir}" ;; esac; show=${this                                               -.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /data/Ne                                               BSD/src/obj/tooldir.Linux-2.6.6-unknown/bin/nbmake _THISDIR_="${this}" "$@" ${t                                               rget}; }; _makedirtarget . do-x11
*** Error code 1

Stop.
nbmake: stopped in /data/NetBSD/src

ERROR: Failed to make build
*** BUILD ABORTED ***
bash-2.05b#


--------------080502060005000408010609
Content-Type: text/x-sh;
 name="compile.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="compile.sh"

#!/bin/sh

# Prefix
PREFIX=/data/NetBSD 

# Set specific dirs for the build script

MACHINE=i386
MACHINE_ARCH=i386
#MAKEOBJDIR=$PREFIX/obj
DESTDIR=$PREFIX/dest
RELEASEDIR=$PREFIX/release

MKX11=yes
X11SRCDIR=$PREFIX

export MACHINE MACHINE_ARCH
export MAKEOBJDIR DESTDIR RELEASEDIR
export MKX11 X11SRCDIR

echo "Start build script..."
cd $PREFIX/src
./build.sh -r build




--------------080502060005000408010609--