[tex-live] compilation failed

Zdenek Wagner wagner at cesnet.cz
Fri Mar 17 19:46:19 CET 2006


On Fri, 17 Mar 2006, Reinhard Kotucha wrote:

> Hi,
> I tried to compile the texlive system which is now in svn.
>
> The first problem is that in Build/source/Work/texk/devnag/src
> automake-1.6.2 is required but I had only version 1.6.3.  The problem
> disappeard when I installed 1.6.2.  However, I fear that just
> downgrading the files provided by Gentoo will cause problems when I
> update the system.  So I installed it in my $HOME.  Are newer versions
> of automake more tolerant?
>
I have no experience with automake at all and devnag.c is assumed to be
just compiled manually without problems. Some complications may arise with
the latest version which is now only on CVS. It needs case insensitive
string compare. Thi is the comment:

 Notes for compilation:
 Some C libraries do not contain strcasecmp but contain either stricmp
 or strcmpi (or both) with the same syntax. If it is the case of your
 compiler, use -DHAS_STRCMPI or -DHAS_STRICMP. GCC/EMX for OS/2
 requires -DHAS_STRICMP, gcc 3.3.3 in Linux as well as gcc 2.95.2
 from mingw (Windows) know strcasecmp.

This is the relevant code:
#ifdef HAS_STRCMPI
#define strcasecmp(s1,s2) strcmpi(s1,s2)
#elif HAS_STRICMP
#define strcasecmp(s1,s2) stricmp(s1,s2)
#endif

Maybe you can advice us how to reorganize the code so that those, who do
not have automake, can easily compile it manually, and those with automake
can compile it automagically. We could modify the code before version 2.14
is released to CTAN.

> Make still aborts with the following messages:
>
> make[4]: Entering directory `/home/reinhard/dev/texlive/svn/Build/source/Work/texk/devnag/src'
> source='../../../../texk/devnag/src/devnag.c' object='devnag.o' libtool=no \
> depfile='.deps/devnag.Po' tmpdepfile='.deps/devnag.TPo' \
> depmode=gcc3 /bin/sh ../../../../texk/devnag/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I../../../../texk/devnag/src -I..     -g -O2  -c `test -f '../../../../texk/devnag/src/devnag.c' || echo '../../../../texk/devnag/src/'`../../../../texk/devnag/src/devnag.c
> /bin/sh: ../../../../texk/devnag/depcomp: No such file or directory
> make[4]: *** [devnag.o] Error 127
>
> Regards,
>   Reinhard
>
> --
> ----------------------------------------------------------------------------
> Reinhard Kotucha			              Phone: +49-511-4592165
> Marschnerstr. 25
> D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
> ----------------------------------------------------------------------------
> Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
> ----------------------------------------------------------------------------
>
>
> _______________________________________________
> TeX Live mailing list
> http://tug.org/mailman/listinfo/tex-live
>

Zdenek Wagner
e-mail: wagner at cesnet.cz

see also http://hroch486.icpf.cas.cz/wagner/
         http://icebearsoft.euweb.cz



More information about the tex-live mailing list