Re: cross-compiling

2004-05-17 Thread Soeren Mindorf
Hi Kris,

Thanks for the answer. Sorry, I was busy the last mounths.

* Kris Kennaway schrieb am 08 Mar 2004:

On Mon, Mar 08, 2004 at 01:03:47PM +0100, Soeren Mindorf wrote:

 I change to 5.2/src and start the build:
 
 make -DNO_KERBEROS TARGET_ARCH=sparc64 buildworld

That is correct.

Fine. ;)


 But I read that I should use ARCH=sparc64.

Where did you read this?

Somewhere, but I lost the Link.


 On every install I become the following error:

 === include
 creating osreldate.h from newvers.sh
 touch: not found
 *** Error code 127

This error is not specific to cross-building, but it means that
'installworld' couldn't find the OBJDIR that your world was built
into.  By default this is a subdirectory of /usr/obj: you'll need to
mount this on the target as well, and specify its location with
MAKEOBJDIRPREFIX.

I think this is all documented in a handbook chapter on installing
world on another machine via nfs.

Ok, that I have read but it doesent work. :(

Here is my Directory un the Buildmachine:

/usr/5.2/src
/usr/5.2/ports
/usr/5.2/sup

cd /usr/5.2/src

make TARGET_ARCH=sparc64 buildworld

The build finished without any errors.

On the target-Machine (ULTRA5 sparc64):

mount_nfs buildmachine:/usr/5.2/ /usr/5.2
mount_nfs buildmachine:/usr/obj /usr/obj

ln -s /usr/5.2/src /usr/src

cd /usr/src
make MAKEOBJDIRPREFIX=/usr/obj/ installworld

error:

- cut -
 Installing everything..
--
cd /usr/5.2/src; make -f Makefile.inc1 install
=== share/info
=== include
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127
- cut -

or 

make MAKEOBJDIRPREFIX=/usr/obj/sparc64 installworld

- cut -
 Installing everything..
--
cd /usr/5.2/src; make -f Makefile.inc1 install
=== share/info
=== include
install -C -o root -g wheel -m 444  /usr/5.2/src/include/a.out.h
/usr/5.2/src/include/ar.h /usr/5.2/src/include/assert.h
/usr/5.2/src/include/bitstring.h /usr/5.2/src/include/complex.h
/usr/5.2/src/include/cpio.h /usr/5.2/src/include/ctype.h
/usr/5.2/src/include/db.h /usr/5.2/src/include/dirent.h
/usr/5.2/src/include/dlfcn.h /usr/5.2/src/include/elf.h
/usr/5.2/src/include/elf-hints.h /usr/5.2/src/include/err.h
/usr/5.2/src/include/fmtmsg.h /usr/5.2/src/include/fnmatch.h
/usr/5.2/src/include/fstab.h /usr/5.2/src/include/fts.h
/usr/5.2/src/include/getopt.h /usr/5.2/src/include/glob.h
/usr/5.2/src/include/grp.h /usr/5.2/src/include/hesiod.h
/usr/5.2/src/include/histedit.h /usr/5.2/src/include/ieeefp.h
/usr/5.2/src/include/ifaddrs.h /usr/5.2/src/include/inttypes.h
/usr/5.2/src/include/iso646.h /usr/5.2/src/include/kenv.h
/usr/5.2/src/include/langinfo.h /usr/5.2/src/include/libgen.h
/usr/5.2/src/include/limits.h /usr/5.2/src/include/link.h
/usr/5.2/src/include/locale.h /usr/5.2/src/include/malloc.h
/usr/5.2/src/include/memory.h /usr/5.2/src/include/monetary.h
/usr/5.2/src/include/mpool.h /usr/5.2/src/include/ndbm.h
/usr/5.2/src/include/netconfig.h /usr/5.2/src/include/netdb.h
/usr/5.2/src/include/nl_types.h /usr/5.2/src/include/nlist.h
/usr/5.2/src/include/nss.h /usr/5.2/src/include/nsswitch.h
/usr/5.2/src/include/objformat.h /usr/5.2/src/include/paths.h
/usr/5.2/src/include/pthread.h /usr/5.2/src/include/pthread_np.h
/usr/5.2/src/include/pwd.h /usr/5.2/src/include/ranlib.h
/usr/5.2/src/include/readpassphrase.h /usr/5.2/src/include/regex.h
/usr/5.2/src/include/regexp.h /usr/5.2/src/include/resolv.h
/usr/5.2/src/include/rune.h /usr/5.2/src/include/runetype.h
/usr/5.2/src/include/search.h /usr/5.2/src/include/setjmp.h
/usr/5.2/src/include/sgtty.h /usr/5.2/src/include/signal.h
/usr/5.2/src/include/stab.h /usr/5.2/src/include/stdbool.h
/usr/5.2/src/include/stddef.h /usr/5.2/src/include/stdio.h
/usr/5.2/src/include/stdlib.h /usr/5.2/src/include/string.h
/usr/5.2/src/include/stringlist.h /usr/5.2/src/include/strings.h
/usr/5.2/src/include/sysexits.h /usr/5.2/src/include/tar.h
/usr/5.2/src/include/time.h /usr/5.2/src/include/timeconv.h
/usr/5.2/src/include/timers.h /usr/5.2/src/include/ttyent.h
/usr/5.2/src/include/ulimit.h /usr/5.2/src/include/unistd.h
/usr/5.2/src/include/utime.h /usr/5.2/src/include/utmp.h
/usr/5.2/src/include/uuid.h /usr/5.2/src/include/varargs.h
/usr/5.2/src/include/vis.h /usr/5.2/src/include/wchar.h
/usr/5.2/src/include/wctype.h /usr/5.2/src/include/wordexp.h
osreldate.h /usr/include
install:No such file or directory
*** Error code 1

Stop in /usr/5.2/src/include.
*** Error code 1

Stop in /usr/5.2/src.
*** Error code 1

Stop in /usr/5.2/src.
*** Error code 1

Stop in /usr/5.2/src.
*** Error code 1

Stop in /usr/5.2/src.

- cut -

Whats going wrong here or what did I not understand?

Regards 

Soeren

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cross-compiling

2004-03-08 Thread Soeren Mindorf
Hi all,

I have a litte problem.

I try to compile the world and the kernel for my sparc64 on a Athlon
700MHz.

The buildmachine is FreeBSD 5.1-RELEASE ant the Sparc sould be
5.2.1-RELEASE.

I cvsup the source into /usr/5.2.

I change to 5.2/src and start the build:

make -DNO_KERBEROS TARGET_ARCH=sparc64 buildworld

But I read that I should use ARCH=sparc64. But all my buildings
doesnt work. So I use the next:

make -DNO_KERBEROS TARGET_ARCH=sparc64 CPUTYPE=sparc64
buildwold

All the same.

I mounted /usr/5.2 to /usr/5.2 on the Sparc64 and do a

make -DNO_KERBEROS installworld

I also try:

make -DNO_KERBEROS TARGET_ARCH=sparc64 installworld

On every install I become the following error:

- cut -

bash-2.05b# make -DNO_KERBEROS installworld
mkdir -p /tmp/install.i17oPcSk
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
find grep  ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test
true uname wc zic; do  cp `which $prog` /tmp/install.i17oPcSk;  done
cd /usr/5.2/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=sparc64
MACHINE=sparc64  CPUTYPE=
GROFF_BIN_PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/share/tmac
PATH=/usr/obj/usr/5.2/src/sparc64/legacy/usr/sbin:/usr/obj/usr/5.2/src/sparc64/legacy/usr/bin:/usr/obj/usr/5.2/src/sparc64/legacy/usr/games:/usr/obj/usr/5.2/src/sparc64/usr/sbin:/usr/obj/usr/5.2/src/sparc64/usr/bin:/usr/obj/usr/5.2/src/sparc64/usr/games:/tmp/install.i17oPcSk
make -f Makefile.inc1 reinstall
--
 Making hierarchy
--
cd /usr/5.2/src; make -f Makefile.inc1 hierarchy
cd /usr/5.2/src/etc;make distrib-dirs
mtree -deU  -f /usr/5.2/src/etc/mtree/BSD.root.dist -p /
mtree -deU  -f /usr/5.2/src/etc/mtree/BSD.var.dist -p /var
mtree -deU  -f /usr/5.2/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU  -f /usr/5.2/src/etc/mtree/BSD.include.dist  -p
/usr/include
mtree -deU  -f /usr/5.2/src/etc/mtree/BSD.sendmail.dist -p /
cd /; rm -f /sys; ln -s usr/src/sys sys
cd /usr/share/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/man;  set - `grep ^[a-zA-Z]
/usr/5.2/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;
ln -s $2 $1;  shift; shift;  done
cd /usr/share/openssl/man;  set - `grep ^[a-zA-Z]
/usr/5.2/src/etc/man.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;
ln -s $2 $1;  shift; shift;  done
cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* .
cd /usr/share/nls;  set - `grep ^[a-zA-Z]
/usr/5.2/src/etc/nls.alias`;  while [ $# -gt 0 ] ;  do  rm -rf $1;
ln -s $2 $1;  shift; shift;  done

--
 Installing everything..
--
cd /usr/5.2/src; make -f Makefile.inc1 install
=== share/info
=== include
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127

Stop in /usr/5.2/src/include.
*** Error code 1

Stop in /usr/5.2/src.
*** Error code 1

Stop in /usr/5.2/src.
*** Error code 1

Stop in /usr/5.2/src.
*** Error code 1

Stop in /usr/5.2/src.
bash-2.05b#

- cut -

What is the problem or what I doesnt understand?

Regards, 
Soeren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Periodic error messages with Postfix - unsupported: -bh

2003-10-06 Thread Soeren Mindorf
Hi Chris,

* Chris Hastie schrieb am 06 Oct 2003:

Hi

A couple of days ago I installed Postfix on a new FreeBSD 5.1 system and 
since then the daily reporting run produces this:

| Oct  6 03:01:01 ash postfix/sendmail [1135]: fatal: unsupported: -bh

I presume something somewhere is calling sendmail with the -bh flag. Any 
clues as to how to change this, and what to change it to?

Read the pkg-message in your portdirctory of postfix and disable
sendmali and the checks.

Regards

Soeren

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]