bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #45759] Can't find Texinfo::ModulePath


From: Gavin Smith
Subject: Re: [bug #45759] Can't find Texinfo::ModulePath
Date: Sun, 16 Aug 2015 16:17:56 +0100

On 16 August 2015 at 13:46, Vincent Belaïche <address@hidden> wrote:
> So I edited manually tp/Texinfo/Convert/XSParagraph/lib/Makefile and
> tp/Texinfo/Convert/XSParagraph/Makefile to replace
> c:NOS_PR~1msysMINGW-~1I686-4~1.0-Pmingw32bingcc.exe by gcc.

>
> That made it go a little further, but then I got:
>
>
> -| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I./gnulib/lib
> -I./gnulib/lib -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE
> -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
> -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -DVERSION="6.0"
> -DXS_VERSION="6.0" -IC:\Programmes\Perl64\lib/CORE -MT
> XSParagraph_la-xspara.lo -MD -MP -MF .deps/XSParagraph_la-xspara.Tpo -c
> xspara.c  -DDLL_EXPORT -DPIC -o .libs/XSParagraph_la-xspara.o
>      -| In file included from C:ProgrammesPerl64lib/CORE/perl.h:641:0,
>      -|                  from xspara.c:20:
> error-> xspara.c:146:1: error: expected declaration specifiers or '...' before
> numeric constant
>      -|  iswspace (wint_t wc)
>      -|  ^
> error-> xspara.c:173:1: error: expected declaration specifiers or '...' before
> numeric constant
>      -|  iswupper (wint_t wc)
>      -|  ^
> error-> make[3]: *** [XSParagraph_la-xspara.lo] Error 1
> error-> make[3]: Leaving directory
> `/c/Programmes/installation/texinfo-install/trunk/tp/Texinfo/Convert/XSParagraph'
> error-> make[2]: *** [all-recursive] Error 1
> error-> make[2]: Leaving directory
> `/c/Programmes/installation/texinfo-install/trunk/tp/Texinfo/Convert/XSParagraph'
> error-> make[1]: *** [all] Error 2
> error-> make[1]: Leaving directory
> `/c/Programmes/installation/texinfo-install/trunk/tp/Texinfo/Convert/XSParagraph'
> error-> make: *** [all-recursive] Error 1

I don't even know if you're using the right compiler here, if you are
we can worry about this.

> BTW, I still have this error when texi2any.pl is exectured:
>
> Locales dir for document strings not found
> (c:/Programmes/installation/texinfo-install/trunk/tp/../tp/maintain/../LocaleData
> LocaleData ../../../tp/LocaleData ../../tp/LocaleData)
>
> I already had this before the svn update, maybe this is due to using a
> non installed version, but running directly from the source directory.

I've always had that error message, although when I just tried it it
didn't appear. Maybe because you didn't finish building because of the
errors?

> Concerning the bug status: I think there is a bug because whether the
> perl installation can use socket or not,

That's due to a version mismatch of some kind, we don't need to be
interested in whatever Perl uses sockets for, we just need to make
sure that the right compiler, compiler flags etc. are used for
building the extension. Eli had almost exactly the same error as you,
reported in this lengthy thread:
https://lists.gnu.org/archive/html/texinfo-devel/2015-07/msg00031.html.

> and whether one should install
> a compiled version or an interpreted version should all be managed by
> the configure script, without user intervention.

We need the user at least to specify the path to the Perl interpreter
to use, if the default one won't work.

There could be more automatic checking than there is at the moment but
I don't really know how it would work yet.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]