Re: SUSE s390 - Zebra installation problems

2002-11-18 Thread Michael.Megson
Thank to everyone who answered.   I eventually found a RPM on the developers
CD set.
This I extracted and it installed perfectly.
It seems to me that when  obtaining a distribution, you should always
get all the sources that it supports. At less that way you should be
guaranteed some level of compatibility.

Thanks again
Mick Megson

-Original Message-
From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of
Matthias Hein
Sent: 13 November 2002 10:14
To: [EMAIL PROTECTED]
Subject: Re: SUSE s390 - Zebra installation problems


Mick,
have a look at
section 3.5.4 of the Redbook "SAP on DB2 UDB for OS/390 and z/OS:
Implementing Application Servers on Linux for zSeries" at
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246847.html

There we describe a way to compile standard zebra sources using the
configuration file of an older source RPM on  SuSE sles7.
Maybe that helps.

Viele Gr|_e / Best wishes
Matthias Hein

_
Dr. Matthias Hein
IBM Deutschland
Systems Sales Technical Support
Applications zSeries & S/390
 ERP / CRM / SCM
Karl-Arnold-Platz 1a, 40474 D|sseldorf
+49(0)211 476-2676 /  Fax: -2398 / KW: *129-
Mobil: 0172 / 7163834
e-mail: [EMAIL PROTECTED]=



Re: SUSE s390 - Zebra installation problems

2002-11-13 Thread Matthias Hein
Mick,
have a look at
section 3.5.4 of the Redbook "SAP on DB2 UDB for OS/390 and z/OS:
Implementing Application Servers on Linux for zSeries" at
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246847.html

There we describe a way to compile standard zebra sources using the
configuration file of an older source RPM on  SuSE sles7.
Maybe that helps.

Viele Grüße / Best wishes
Matthias Hein

_
Dr. Matthias Hein
IBM Deutschland
Systems Sales Technical Support
Applications zSeries & S/390
 ERP / CRM / SCM
Karl-Arnold-Platz 1a, 40474 Düsseldorf
+49(0)211 476-2676 /  Fax: -2398 / KW: *129-
Mobil: 0172 / 7163834
e-mail: [EMAIL PROTECTED]


Re: SUSE s390 - Zebra installation problems

2002-11-12 Thread Michael.Megson
Mark,  I also thought that it was part of the distribution, it is on my
desktop but not
on the Enterprise Server 7. I have been looking for a s390x level zebra from
SuSE but as yet
been unable to find one.  Anybody any idea's ??
Mick Megson

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@;VM.MARIST.EDU]On Behalf Of
Post, Mark K
Sent: 12 November 2002 17:20
To: [EMAIL PROTECTED]
Subject: Re: SUSE s390 - Zebra installation problems


Michael,

Since zebra comes on the SuSE distribution, I'm wondering why you're trying
to build it from source?

It sounds like the version of zebra you're compiling has an out-of-date
config.guess and/or config.sub file in it.  That would be why it doesn't
understand "s390x-unknown-linux-gnu" as a valid system type.  You could try
copying those files from /usr/share/libtool into where ever you find them in
the zebra source tree.

I wasn't able to find either RTM_ADD or RTM_DELETE on my system.  I have a
bunch of RTM_somethings in /usr/src/linux/include/linux/rtnetlink.h, but not
those.

Mark Post

-Original Message-
From: Michael.Megson [mailto:megson@;attglobal.net]
Sent: Tuesday, November 12, 2002 8:03 AM
To: [EMAIL PROTECTED]
Subject: Re: SUSE s390 - Zebra installation problems


Hi,  I have been trying to install Zebra on a z/VM-Linux 390 virtual machine
and
have a problem with the make process.

Everything appears to go well until .
rt_socket.c: In function `kernel_rtm_ipv4':
rt_socket.c:100: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:100: (Each undeclared identifier is reported only once
rt_socket.c:100: for each function it appears in.)
rt_socket.c:105: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv4':
rt_socket.c:183: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv4':
rt_socket.c:189: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_rtm_ipv6_multipath':
rt_socket.c:317: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:322: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv6':
rt_socket.c:417: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6':
rt_socket.c:423: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6_old':
rt_socket.c:431: `RTM_DELETE' undeclared (first use in this function)
make[2]: *** [rt_socket.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.39744 (%build)

I looked earlier in the process and found
zebra configuration
---
zebra version   : 0.92a
host operationg system  :
source code location: .
compiler: gcc
compiler flags  : -g -O2 -Wall
directory for pid files : /var/run

+ make
make  all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a'
Making all in lib
make[2]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a/lib'
echo '' >version.c
echo 'char *host_name = "s390x-unknown-linux-gnu";' >>version.c
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/\" -I.. -I.. -I../lib-g -O2 -Wal
l -c version.c

and even earlier
+ ./configure --prefix=/usr --sysconfdir=/etc
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking build system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for s390x-unknown-linux-gnu-ar... ar

any help would be appreciated

Mick Megson



Re: SUSE s390 - Zebra installation problems

2002-11-12 Thread Post, Mark K
Michael,

Since zebra comes on the SuSE distribution, I'm wondering why you're trying
to build it from source?

It sounds like the version of zebra you're compiling has an out-of-date
config.guess and/or config.sub file in it.  That would be why it doesn't
understand "s390x-unknown-linux-gnu" as a valid system type.  You could try
copying those files from /usr/share/libtool into where ever you find them in
the zebra source tree.

I wasn't able to find either RTM_ADD or RTM_DELETE on my system.  I have a
bunch of RTM_somethings in /usr/src/linux/include/linux/rtnetlink.h, but not
those.

Mark Post

-Original Message-
From: Michael.Megson [mailto:megson@;attglobal.net]
Sent: Tuesday, November 12, 2002 8:03 AM
To: [EMAIL PROTECTED]
Subject: Re: SUSE s390 - Zebra installation problems


Hi,  I have been trying to install Zebra on a z/VM-Linux 390 virtual machine
and
have a problem with the make process.

Everything appears to go well until .
rt_socket.c: In function `kernel_rtm_ipv4':
rt_socket.c:100: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:100: (Each undeclared identifier is reported only once
rt_socket.c:100: for each function it appears in.)
rt_socket.c:105: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv4':
rt_socket.c:183: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv4':
rt_socket.c:189: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_rtm_ipv6_multipath':
rt_socket.c:317: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:322: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv6':
rt_socket.c:417: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6':
rt_socket.c:423: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6_old':
rt_socket.c:431: `RTM_DELETE' undeclared (first use in this function)
make[2]: *** [rt_socket.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.39744 (%build)

I looked earlier in the process and found
zebra configuration
---
zebra version   : 0.92a
host operationg system  :
source code location: .
compiler: gcc
compiler flags  : -g -O2 -Wall
directory for pid files : /var/run

+ make
make  all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a'
Making all in lib
make[2]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a/lib'
echo '' >version.c
echo 'char *host_name = "s390x-unknown-linux-gnu";' >>version.c
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/\" -I.. -I.. -I../lib-g -O2 -Wal
l -c version.c

and even earlier
+ ./configure --prefix=/usr --sysconfdir=/etc
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking build system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for s390x-unknown-linux-gnu-ar... ar

any help would be appreciated

Mick Megson



Re: SUSE s390 - Zebra installation problems

2002-11-12 Thread Michael.Megson
Hi,  I have been trying to install Zebra on a z/VM-Linux 390 virtual machine
and
have a problem with the make process.

Everything appears to go well until .
rt_socket.c: In function `kernel_rtm_ipv4':
rt_socket.c:100: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:100: (Each undeclared identifier is reported only once
rt_socket.c:100: for each function it appears in.)
rt_socket.c:105: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv4':
rt_socket.c:183: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv4':
rt_socket.c:189: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_rtm_ipv6_multipath':
rt_socket.c:317: `RTM_ADD' undeclared (first use in this function)
rt_socket.c:322: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_add_ipv6':
rt_socket.c:417: `RTM_ADD' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6':
rt_socket.c:423: `RTM_DELETE' undeclared (first use in this function)
rt_socket.c: In function `kernel_delete_ipv6_old':
rt_socket.c:431: `RTM_DELETE' undeclared (first use in this function)
make[2]: *** [rt_socket.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a/zebra'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/zebra-0.92a'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.39744 (%build)

I looked earlier in the process and found
zebra configuration
---
zebra version   : 0.92a
host operationg system  :
source code location: .
compiler: gcc
compiler flags  : -g -O2 -Wall
directory for pid files : /var/run

+ make
make  all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a'
Making all in lib
make[2]: Entering directory `/usr/src/packages/BUILD/zebra-0.92a/lib'
echo '' >version.c
echo 'char *host_name = "s390x-unknown-linux-gnu";' >>version.c
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/\" -I.. -I.. -I../lib-g -O2 -Wal
l -c version.c

and even earlier
+ ./configure --prefix=/usr --sysconfdir=/etc
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking build system type... Invalid configuration
`s390x-unknown-linux-gnu': machine `s390x-unknown' not recognized

checking for s390x-unknown-linux-gnu-ar... ar

any help would be appreciated

Mick Megson