> Please, attached find a patch enabling the LyX socket. Without this
> patch the lyxclient cannot work.
Get it.
Get compile error with this thing in:
src/messages.C: In member function `const std::string
Messages::Pimpl::get(const std::string&) const':
src/messages.C:140: error: `PACKAGE' was not declared in this scope
scons: *** [debug/common/messages.o] Error 1
scons: building terminated because of errors.
[EMAIL PROTECTED]:~/lyx-devel/lyx-scons % vi src/messages.C
Do you know what is going on?
Config.h:
#ifndef _CONFIG_H
#define _CONFIG_H
/* #undef HAVE_IO_H */
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_LOCALE 1
/* #undef HAVE_PROCESS_H */
#define HAVE_STDLIB_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
/* #undef HAVE_SYS_UTIME_H */
#define HAVE_SYS_SOCKET_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UTIME_H 1
#define HAVE_ISTREAM 1
#define HAVE_OSTREAM 1
#define HAVE_IOS 1
#define HAVE_OPEN 1
#define HAVE_CLOSE 1
#define HAVE_POPEN 1
#define HAVE_PCLOSE 1
/* #undef HAVE__OPEN */
/* #undef HAVE__CLOSE */
/* #undef HAVE__POPEN */
/* #undef HAVE__PCLOSE */
#define HAVE_GETPID 1
/* #undef HAVE__GETPID */
#define HAVE_MKDIR 1
/* #undef HAVE__MKDIR */
#define HAVE_MKTEMP 1
#define HAVE_MKSTEMP 1
#define HAVE_STRERROR 1
#define HAVE_FCNTL 1
#define PACKAGE "lyx"
#define PACKAGE_VERSION "1.5.0svn"
#define DEVEL_VERSION 1
/* #undef ENABLE_ASSERTIONS */
/* #undef ENABLE_NLS */
/* #undef WITH_WARNINGS */
/* #undef _GLIBCXX_CONCEPT_CHECKS */
#define HAVE_LIBAIKSAURUS 1
#define AIKSAURUS_H_LOCATION <Aiksaurus/Aiksaurus.h>
#define USE_POSIX_PACKAGING 1
#define BOOST_POSIX 1
#define HAVE_PUTENV 1
#define HAVE_DECL_ISTREAMBUF_ITERATOR 1
/* #undef MKDIR_TAKES_ONE_ARG */
#define HAVE_STD_COUNT 1
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 int *
#define SELECT_TYPE_ARG5 struct timeval *