Re: Error opening brlapi connection



>>>>> "ST" == Samuel Thibault <samuel thibault ens-lyon org> writes:

    ST> Hi, Jan Buchal, le Fri 15 Apr 2005 10:50:17 +0200, a dit :
    >> >>>>> "ST" == Samuel Thibault <samuel thibault ens-lyon org>
    >> writes:
    >> 
    ST> Hi, Jan Buchal, le Fri 15 Apr 2005 09:25:44 +0200, a dit : Have
    ST> you recompiled gnopernicus so as to correctly use libbrlapi from
    ST> brltty 3.6 (and not the one from brltty 3.4.1 which is not
    ST> compatible) ?
    >> >> 
    >> >> that's good question. However I do not know where I can find
    >> >> brlapi-dev for brltty 3.6.1 source code. I have found rpm
    >> package >> only.
    >> 
    ST> If you installed brltty from sources, it brought you brlapi-dev.
    >> 
    >> OK. However if I commpile gnopernicus it return this erros:

    ST> You should replace gnopernicus/braille/libbrl/ttybrl.c by the
    ST> one provided in brltty/Patches/ttybrl.c.

I copy ttybrl.c from brltty/Patches/ to gnopernicus/braille/lib . I it
correct?

then I configured gnopernicus however with same result:

configure:21547: checking whether to enable brltty support
configure:21587: gcc -o conftest -I/usr/include  -L/usr/lib -lbrlapi conftest.c -lpopt  >&5
conftest.c:35:35: brltty/brlapi.h: No such file or directory
conftest.c: In function `main':
conftest.c:39: error: `NULL' undeclared (first use in this function)
conftest.c:39: error: (Each undeclared identifier is reported only once
conftest.c:39: error: for each function it appears in.)
configure:21590: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gnopernicus"
| #define VERSION "0.9.19"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define GETTEXT_PACKAGE "gnopernicus"
| #define HAVE_LOCALE_H 1
| #define HAVE_LC_MESSAGES 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define ENABLE_NLS 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define HAVE_LIBPOPT 1
| /* end confdefs.h.  */
|  /* is brltty available? */
| 	#include <brltty/brlapi.h>
| 	#include <brltty/brldefs.h>
| 	int main()
| 	{
| 	    brlapi_initializeConnection (NULL, NULL);
| 	    /*if (brlapi_initializeConnection (NULL, NULL) < 0)
|     		return 0;*/
| 	    return 0;
| 	}
| 
| 
configure:21606: result: no

    ST> Regards, Samuel

-- 

Jan Buchal
Tel: (00420) 224921679
Mob: (00420) 608023021




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