[brailleblaster] Re: Configure Issues With LibLouisUTDML

  • From: Alex Jurgensen <asquared21@xxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Wed, 13 Jul 2011 22:38:54 -0700

Hi John,

What is the purpose of installing GCJ on the Mac, when it is not listed as a 
dependency of LibLouisUTDML?

Regards,
Alex,


On 2011-07-13, at 10:16 PM, John J. Boyer wrote:

> Alex,
> 
> Try installing gcj. also, to get a concise listing of make errors type
> 
> make 2>errors
> 
> This will put any genuine error messages in the file called errors, 
> which you can then look at with a text editor.
> 
> John
> 
> On Wed, Jul 13, 2011 at 08:42:56PM -0700, Alex Jurgensen wrote:
>> Hi John,
>> 
>> That seemed to do it, but I get the following errors when exicuting "Make".
>> 
>> 
>> Making all in gnulib
>> make  all-recursive
>> make[3]: Nothing to be done for `all-am'.
>> Making all in doc
>> make[1]: Nothing to be done for `all'.
>> Making all in lbu_files
>> make[1]: Nothing to be done for `all'.
>> Making all in liblouisutdml
>> make  all-am
>> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
>> -I. -I.. -DLBU_PATH=\"/usr/local/share/liblouisutdml/lbu_files/\" 
>> -DLIBLOUIS_TABLES_PATH=\"/usr/local/share/liblouis/tables/\"   
>> -I/usr/local/include/liblouis -I/usr/include/libxml2   -g -O2 -MT 
>> liblouisutdml_la-Jliblouisutdml.lo -MD -MP -MF 
>> ".deps/liblouisutdml_la-Jliblouisutdml.Tpo" -c -o 
>> liblouisutdml_la-Jliblouisutdml.lo `test -f '../java/Jliblouisutdml.c' || 
>> echo './'`../java/Jliblouisutdml.c; \
>>      then mv -f ".deps/liblouisutdml_la-Jliblouisutdml.Tpo" 
>> ".deps/liblouisutdml_la-Jliblouisutdml.Plo"; else rm -f 
>> ".deps/liblouisutdml_la-Jliblouisutdml.Tpo"; exit 1; fi
>> gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. 
>> -DLBU_PATH=\"/usr/local/share/liblouisutdml/lbu_files/\" 
>> -DLIBLOUIS_TABLES_PATH=\"/usr/local/share/liblouis/tables/\" 
>> -I/usr/local/include/liblouis -I/usr/include/libxml2 -g -O2 -MT 
>> liblouisutdml_la-Jliblouisutdml.lo -MD -MP -MF 
>> .deps/liblouisutdml_la-Jliblouisutdml.Tpo -c ../java/Jliblouisutdml.c  
>> -fno-common -DPIC -o .libs/liblouisutdml_la-Jliblouisutdml.o
>> In file included from ../java/Jliblouisutdml.c:29:
>> ../java/Jliblouisutdml.h:2:17: error: jni.h: No such file or directory
>> In file included from ../java/Jliblouisutdml.c:29:
>> ../java/Jliblouisutdml.h:35: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jstring'
>> ../java/Jliblouisutdml.h:43: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:51: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:59: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:67: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:75: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:83: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:91: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:99: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:107: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:115: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'void'
>> ../java/Jliblouisutdml.h:123: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jint'
>> ../java/Jliblouisutdml.h:131: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.h:139: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'void'
>> ../java/Jliblouisutdml.h:147: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'void'
>> ../java/Jliblouisutdml.c:37: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jstring'
>> ../java/Jliblouisutdml.c:48: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:112: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:179: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:224: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:278: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:332: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:373: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:414: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:440: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> ../java/Jliblouisutdml.c:475: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'void'
>> ../java/Jliblouisutdml.c:493: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jint'
>> ../java/Jliblouisutdml.c:504: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'void'
>> ../java/Jliblouisutdml.c:522: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'void'
>> ../java/Jliblouisutdml.c:536: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before '*' token
>> ../java/Jliblouisutdml.c:560: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 'jboolean'
>> make[2]: *** [liblouisutdml_la-Jliblouisutdml.lo] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [all-recursive] Error 1
>> 
>> 
>> Do you have any idea why this is happening?
>> 
>> Regards,
>> Alex,
>> 
>> 
>> On 2011-07-13, at 2:09 PM, John J. Boyer wrote:
>> 
>>> Alex,
>>> 
>>> I think your problem is caused by autoconf generating a bad configure 
>>> script. I encountered this in a different context recently. It occurred 
>>> because configure.ac contained dos line endings. I changed these to 
>>> Unix. That solved the problem. Maybe autoconf on the Mac is looking for 
>>> Mac line endings. You could try fixing that. A better bet might be to 
>>> download the tarball for liblouisutdml from http://www.abilitiessoft.com 
>>> That way you won't have to run autogen.sh 
>>> 
>>> This whold business of different line endings is pretty silly. The 
>>> autotools should work whatever the line endings are. But we have to put 
>>> up with it for now.
>>> 
>>> John
>>> 
>>> On Wed, Jul 13, 2011 at 07:52:53AM -0700, Alex Jurgensen wrote:
>>>> Hi All,
>>>> 
>>>> I am trying to configure  LibLouisUTDML, but I get the following error.
>>>> 
>>>> checking for pkg-config... /usr/local/bin/pkg-config
>>>> ./configure: line 14441: syntax error near unexpected token 
>>>> `BASE_DEPENDENCIES,'
>>>> ./configure: line 14441: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, liblouis, 
>>>> libxml-2.0)'
>>>> 
>>>> Does anyone have any idea why this may be occuring?
>>>> 
>>>> Any help is appreicated.
>>>> 
>>>> Regards,
>>>> Alex,
>>>> 
>>>> 
>>> 
>>> -- 
>>> John J. Boyer; President, Chief Software Developer
>>> Abilitiessoft, Inc.
>>> http://www.abilitiessoft.com
>>> Madison, Wisconsin USA
>>> Developing software for people with disabilities
>>> 
>>> 
>> 
> 
> -- 
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
> 
> 


Other related posts: