>>>>> "José" == José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes:

José>   Status of compilation until now:

José>   * The 1.0.x compiled ok, with x=0..4 

Good.

José>   * I get this errors for (the next in stable series):

José> make[3]: Entering directory
José> `/home/jamatos/lyx/lyx-1.1.2/src/support' g++ -DHAVE_CONFIG_H
José> -I. -I. -I../../src -I./../ -I/usr/X11R6/include -g -O2
José> -fno-exceptions -fno-rtti -c filetools.C filetools.C: In
José> function `bool PutEnv (const string &)': filetools.C:322: cannot
José> convert `const char *' to `char *' for argument `1' to `putenv
José> (char *)' 

As far as I know, we do not use PutEnv. Comment it out :)
Alternatively, we have a macro 

dnl Usage: LYX_FUNC_PUTENV_ARGTYPE
dnl Checks whether putenv() takes 'char const *' or 'char *' as
dnl argument. This is needed because Solaris 7 (wrongly?) uses 'char *',
dnl while everybody else uses the former...

José> `bool prefixIs (const string &, const char *)': lstrings.C:118:
José> no matching function for call to `basic_string<char,
José> string_char_traits<char>, __default_alloc_template<true, 0>
José> >::compare (int, unsigned int &, const char *&, unsigned int &)
José> const' 

A solution would be to compile --with-included-string.

JMarc

JMarc

Reply via email to