Re: make failed with 20021225 beta

2002-12-26 Thread Atsuhito Kohda
From: Thomas Esser <[EMAIL PROTECTED]>
Subject: Re: make failed with 20021225 beta
Date: Thu, 26 Dec 2002 17:43:49 +0100

> > >   http://www.dbs.uni-hannover.de/~te/configure
> > 
> > It seemed the above file was a bit broken, it contained 
> > many wrong , for example, line #47
> 
> No, really. It must be your download utility or whatever. Have you 
> tried
>   wget http://www.dbs.uni-hannover.de/~te/configure

Oops, you are right. I used lynx but pushed wrong key
(print but not download).

Now I could get correct configure file.  Very sorry to 
disturb you.

Best regards, 2002.12.27(Fri)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <[EMAIL PROTECTED]>
 Department of Math., Univ. of Tokushima



Re: make failed with 20021225 beta

2002-12-26 Thread Thomas Esser
> >   http://www.dbs.uni-hannover.de/~te/configure
> 
> It seemed the above file was a bit broken, it contained 
> many wrong , for example, line #47

No, really. It must be your download utility or whatever. Have you 
tried
  wget http://www.dbs.uni-hannover.de/~te/configure

Thomas



Re: make failed with 20021225 beta

2002-12-26 Thread Atsuhito Kohda
From: Thomas Esser <[EMAIL PROTECTED]>
Subject: Re: make failed with 20021225 beta
Date: Thu, 26 Dec 2002 09:30:50 +0100

> A possible fix is to invoke AC_PROG_CPP in texk/dvipdfm/configure.in
> after AC_PROG_CC. If you have autoconf-1.13 installed, then you
> can update your configure script by
>   cd texk/dvipdfm; autoconf -m ../etc/autoconf

I see, thanks for your advice.

> I just have put a fixed texk/dvipdfm/configure script at
>   http://www.dbs.uni-hannover.de/~te/configure

It seemed the above file was a bit broken, it contained 
many wrong , for example, line #47

  Specify directory where the png library (libpng.a) re
sides."

should be

  Specify directory where the png library (libpng.a) resides."

After fixing these, it worked fine and compilation went fine.

Best regards, 2002.12.27(Fri)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <[EMAIL PROTECTED]>
 Department of Math., Univ. of Tokushima



Re: make failed with 20021225 beta

2002-12-26 Thread Thomas Esser
> sortid.c: In function `sort_idx':
> sortid.c:53: `LC_COLLATE' undeclared (first use in this function)
> sortid.c:53: (Each undeclared identifier is reported only once
...

Willem Jan Palenstijn has found the reason for this and submitted
a patch:

  From what I can tell, it's caused by checks for libz and the C
  preprocessor conflicting with eachother in texk/dvipdfm. The check for
  libz sets CPP to a temp value, and then starts the preprocessor check,
  which then writes the (very broken) temp value to the config.cache,
  which causes the locale.h check to break in texk/makeindexk/configure.
  ...

A possible fix is to invoke AC_PROG_CPP in texk/dvipdfm/configure.in
after AC_PROG_CC. If you have autoconf-1.13 installed, then you
can update your configure script by
  cd texk/dvipdfm; autoconf -m ../etc/autoconf
I just have put a fixed texk/dvipdfm/configure script at
  http://www.dbs.uni-hannover.de/~te/configure

Another possible workaround is to omit --with-system-zlib. 

> I'm not sure this is a bug or a problem of my system
> but I hope this will help anyway.

No, it is not a bug os your system.

Thomas



make failed with 20021225 beta

2002-12-26 Thread Atsuhito Kohda
Hi,

I tried to compile teTeX-src-beta-20021225.tar.gz and
got the following error;

make[3]: Entering directory 
`/home/kohda/misc/pack/teTeX/tetex-bin-1.0.7+20021225/texk/makeindexk'
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c genind.c
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c mkind.c
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c qsort.c
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c scanid.c
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c scanst.c
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./..   -g -O2  -c sortid.c
sortid.c: In function `sort_idx':
sortid.c:53: `LC_COLLATE' undeclared (first use in this function)
sortid.c:53: (Each undeclared identifier is reported only once
sortid.c:53: for each function it appears in.)
sortid.c:53: warning: assignment makes pointer from integer without a cast
make[3]: *** [sortid.o] error 1

System is Debian GNU/Linux and 

gcc --version
2.95.4

glibc 2.3.1, further, 20021223 beta was compiled successfully
under the same system.

I'm not sure this is a bug or a problem of my system
but I hope this will help anyway.

Best regards,   2002.12.26(Thu)

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <[EMAIL PROTECTED]>
 Department of Math., Univ. of Tokushima