Re: update nis_3.5-2_alpha.deb on debian 2.1
On Mon 01 Nov 1999, Miquel van Smoorenburg wrote:
> According to Paul Slootman:
> > Not that easily, as nis apparently doesn't conform to policy and doesn't
> > compile with -g :-(
>
> Care to eleborate on that?
It's recommended that stuff is compiled with "-g -O2", right? It's not.
This is one line from the build log:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -DHAVE_CONFIG_H -O2 -Wall -c domainname.c
See, no -g.
> > yp-tools-2.4/config.h:#define PACKAGE 1
> > yp-tools-2.4/config.h:#define VERSION 1
>
> Not in my copy of NIS:
>
> /* Name of package */
> #define PACKAGE "yp-tools"
>
> /* Version number of package */
> #define VERSION "2.4"
Very strange. I've checked configure in that directory, and it has the
following:
----------------------------------------------------------------------
PACKAGE=yp-tools
VERSION=2.4
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
fi
cat >> confdefs.h <<EOF
#define PACKAGE 1
EOF
cat >> confdefs.h <<EOF
#define VERSION 1
EOF
----------------------------------------------------------------------
Maybe this is a result of the potato automake, which Wichert told me could
be installed on slink without any problems? That was necessary for the
build of lpr_0.46-1-0slink1.
I have autoconf 2.12-13, automake 1.4-2.
> > However they are used as strings:
>
> They are strings.
Not always :-) That much was clear from what I had included.
Paul Slootman
--
home: paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work: paul@murphy.nl http://www.murphy.nl/
debian: paul@debian.org http://www.debian.org/
isdn4linux: paul@isdn4linux.de http://www.isdn4linux.de/
Reply to: