Am 14.05.2013 um 17:46 schrieb Vincent van Ravesteijn <v...@lyx.org>:

> Op 14-5-2013 17:09, Vincent van Ravesteijn schreef:
>> Op 14-5-2013 16:57, Jean-Marc Lasgouttes schreef:
>>> Le mar. 14 mai 2013 16:35:23 CEST, Stephan Witt a écrit :
>>>> Ok, is auto-tools use deprecated already? :)
>>>> 
>>>> If not, this should help:
>>>> 
>>>> diff --git a/src/tex2lyx/Makefile.am b/src/tex2lyx/Makefile.am
>>>> index 5be47e7..c547802 100644
>>>> --- a/src/tex2lyx/Makefile.am
>>>> +++ b/src/tex2lyx/Makefile.am
>>>> @@ -18,6 +18,7 @@ DEFAULT_INCLUDES =
>>>> 
>>>>  AM_CPPFLAGS += -DTEX2LYX -DNO_LAYOUT_CSS $(PCH_FLAGS) 
>>>> -I$(top_srcdir)/src/tex2lyx \
>>>>         -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
>>>> +AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
>>>> 
>>>>  TEST_FILES = \
>>>>         test/runtests.py \
>>>> 
>>>> tex2lyx requires QtCore now… This violates the KISS paradigm, IMHO.
>>> 
>>> Especially to define some weird define. This should be done in 
>>> autotools/cmake not in the source like that.
>>> 
>>> JMarc
>> 
>> Yes, I'll do it differently.
>> 
>> Vincent
> 
> Done at 4738ba0f.

Thanks. This works here.

OTOH, the CMake build on Mac is broken now:

Undefined symbols for architecture x86_64:
  "QDesktopServices::storageLocation(QDesktopServices::StandardLocation)", 
referenced from:
      lyx::support::(anonymous 
namespace)::get_document_dir(lyx::support::FileName const&)in 
libsupport.a(Package.o)
      lyx::support::(anonymous 
namespace)::get_default_user_support_dir(lyx::support::FileName const&)in 
libsupport.a(Package.o)
  "_iconv", referenced from:
      lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in libsupport.a(unicode.o)
     (maybe you meant: lyx::to_iconv_encoding(std::basic_string<wchar_t, 
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), 
lyx::from_iconv_encoding(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&))
  "_iconv_close", referenced from:
      lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in libsupport.a(unicode.o)
      lyx::IconvProcessor::Impl::~Impl()in libsupport.a(unicode.o)
  "_iconv_open", referenced from:
      lyx::IconvProcessor::init()     in libsupport.a(unicode.o)
  "_libintl_bind_textdomain_codeset", referenced from:
      _bind_textdomain_codeset in libsupport.a(Messages.o)
  "_libintl_bindtextdomain", referenced from:
      _bindtextdomain in libsupport.a(Messages.o)
  "_libintl_gettext", referenced from:
      _gettext in libsupport.a(Messages.o)
  "_libintl_textdomain", referenced from:
      _textdomain in libsupport.a(Messages.o)
ld: symbol(s) not found for architecture x86_64

Stephan

Reply via email to