[brailleblaster] Re: Building under Vinux

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Tue, 7 May 2013 04:11:40 -0500

Vic,

Just install gcj . This is a compiler that transforms Java directly into 
machine code. It brings in the jni header files, which the C compiler 
can then find.

John

On Tue, May 07, 2013 at 03:45:43AM -0400, Vic Beckley wrote:
> Thanks John and Michael. Installing the libxml2-dev package helped. That is
> really strange having the libxml2 package half installed. The ./configure
> command now finishes correctly. Now I am getting a fatal error when running
> the make command. Here it is:
> 
> In file included from ../java/Jliblouisutdml.c:29:0:
> ../java/Jliblouisutdml.h:2:17: fatal error: jni.h: No such file or directory
> compilation terminated.
> make[2]: *** [liblouisutdml_la-Jliblouisutdml.lo] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> 
> At least we are making progress!
> 
> 
> Best regards from Ohio,
> 
> Vic
> 
> 
> -----Original Message-----
> From: brailleblaster-bounce@xxxxxxxxxxxxx
> [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
> Sent: Tuesday, May 07, 2013 12:09 AM
> To: brailleblaster@xxxxxxxxxxxxx
> Subject: [brailleblaster] Re: Building under Vinux
> 
> Right. Vic may have to install the libxml2-dev package. It's another 
> gotcha. At least, when all the pieces have been installed you don't have 
> to do it again.
> 
> John
> 
> On Tue, May 07, 2013 at 03:43:56AM +0100, Michael Whapples wrote:
> > I think the problem with dependencies might be my pet hate for many 
> > linux distributions. You think you may have installed libxml2, you 
> > installed the package for it from apt, but no you have not, or at least 
> > not fully. Normally there are separate dev packages for the library 
> > headers (don't know what the name will be but it might be like 
> > libxml2-dev ).
> > 
> > There are a handful of distributions like ArchLinux where they do not 
> > package the headers separate, but most like debian, ubuntu, fedora and 
> > their derivatives do.
> > 
> > Michael whapples
> > On 07/05/2013 03:13, John J. Boyer wrote:
> > >Vic,
> > >
> > >Please resend the link to the Vinux suport list. I can't find that
> > >lmessage. Thanks.
> > >
> > >You have now run into my favorite gotcha, pkgconfig . Type the
> > >following.
> > >
> > >export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> > >
> > >To make sure that you don't have to type this again, add it as the last
> > >line to your .bashrc file.
> > >
> > >John
> > >
> > >On Mon, May 06, 2013 at 08:59:47PM -0400, Vic Beckley wrote:
> > >>John,
> > >>
> > >>I think liblouis compiled OK. It seemed to install fine. Here is the 
> > >>error I
> > >>get when compiling liblouisutdml:
> > >>
> > >>configure: error: Package requirements (liblouis, libxml-2.0) were not 
> > >>met:
> > >>
> > >>No package 'libxml-2.0' found
> > >>
> > >>Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > >>installed software in a non-standard prefix.
> > >>
> > >>Alternatively, you may set the environment variables
> > >>BASE_DEPENDENCIES_CFLAGS
> > >>and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> > >>See the pkg-config man page for more details.
> > >>
> > >>I tried installing a package called libxml-2.0 and nothing was found.
> > >>
> > >>
> > >>
> > >>Best regards from Ohio,
> > >>
> > >>Vic
> > >>
> > >>
> > >>-----Original Message-----
> > >>From: brailleblaster-bounce@xxxxxxxxxxxxx
> > >>[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
> > >>Sent: Monday, May 06, 2013 6:21 PM
> > >>To: brailleblaster@xxxxxxxxxxxxx
> > >>Subject: [brailleblaster] Re: Building under Vinux
> > >>
> > >>Vic,
> > >>
> > >>See if you can install libtool . I'm not as familiar with gnu autotools
> > >>as perhaps I should be, but this is installed on my machine.
> > >>
> > >>John
> > >>
> > >>On Mon, May 06, 2013 at 12:03:31PM -0400, Vic Beckley wrote:
> > >>>John,
> > >>>
> > >>>Here are the errors I get when running ./autogen.sh in the root 
> > >>>directory.
> > >>>
> > >>>Can't exec "libtoolize": No such file or directory at
> /usr/bin/autoreconf
> > >>>line 196.
> > >>>Use of uninitialized value in pattern match (m//) at
> /usr/bin/autoreconf
> > >>>line 196.
> > >>>configure.ac:86: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> > >>>       If this token and others are legitimate, please use
> > >>m4_pattern_allow.
> > >>>       See the Autoconf documentation.
> > >>>configure.ac:87: error: possibly undefined macro: AC_PROG_LIBTOOL
> > >>>autoreconf: /usr/bin/autoconf failed with exit status: 1
> > >>>
> > >>>
> > >>>Best regards from Ohio,
> > >>>
> > >>>Vic
> > >>>
> > >>>
> > >>>-----Original Message-----
> > >>>From: brailleblaster-bounce@xxxxxxxxxxxxx
> > >>>[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
> > >>>Sent: Monday, May 06, 2013 11:49 AM
> > >>>To: brailleblaster@xxxxxxxxxxxxx
> > >>>Subject: [brailleblaster] Re: Building under Vinux
> > >>>
> > >>>Are you building from the repository? autogen.sh should be in the root
> > >>>directory created by the checkout. It should have the correct
> > >>>permissions.
> > >>>
> > >>>John
> > >>>
> > >>>On Mon, May 06, 2013 at 11:21:12AM -0400, Vic Beckley wrote:
> > >>>>Keith,
> > >>>>
> > >>>>I don't have a trunk directory. Why would that be?
> > >>>>
> > >>>>
> > >>>>Best regards from Ohio,
> > >>>>
> > >>>>Vic
> > >>>>
> > >>>>
> > >>>>-----Original Message-----
> > >>>>From: brailleblaster-bounce@xxxxxxxxxxxxx
> > >>>>[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of Keith Creasy
> > >>>>Sent: Monday, May 06, 2013 11:07 AM
> > >>>>To: brailleblaster@xxxxxxxxxxxxx
> > >>>>Subject: [brailleblaster] Re: Building under Vinux
> > >>>>
> > >>>>Are your permissions set right?
> > >>>>
> > >>>>sudo chmod -R 755 liblouis/trunk
> > >>>>cd liblouis/trunk
> > >>>>./configure
> > >>>>
> > >>>>
> > >>>>
> > >>>>Keith Creasy
> > >>>>Software Developer
> > >>>>American Printing House for the Blind
> > >>>>KCreasy@xxxxxxx
> > >>>>Phone: 502.895.2405
> > >>>>Skype: keith537
> > >>>>
> > >>>>
> > >>>>-----Original Message-----
> > >>>>From: brailleblaster-bounce@xxxxxxxxxxxxx
> > >>>>[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of Vic Beckley
> > >>>>Sent: Monday, May 06, 2013 11:02 AM
> > >>>>To: brailleblaster@xxxxxxxxxxxxx
> > >>>>Subject: [brailleblaster] Building under Vinux
> > >>>>
> > >>>>John,
> > >>>>
> > >>>>When I run the configure command in the liblouis directory, I get the
> > >>>error
> > >>>>message that the command isn't found. I installed the build-essential
> > >>>>package. What else do I need to install?
> > >>>>
> > >>>>
> > >>>>Best regards from Ohio,
> > >>>>
> > >>>>Vic
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>-- 
> > >>>John J. Boyer, Executive Director
> > >>>GodTouches Digital Ministry, Inc.
> > >>>http://www.godtouches.org
> > >>>Madison, Wisconsin, USA
> > >>>Peace, Love, Service
> > >>>
> > >>>
> > >>-- 
> > >>John J. Boyer, Executive Director
> > >>GodTouches Digital Ministry, Inc.
> > >>http://www.godtouches.org
> > >>Madison, Wisconsin, USA
> > >>Peace, Love, Service
> > >>
> > >>
> > 
> 
> -- 
> 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: