[liblouis-liblouisxml] Re: Compiling liblouisutdml under Linux

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 21 Jun 2012 15:33:59 -0500

Hi Vic,

Run make install on liblouis.

John

On Thu, Jun 21, 2012 at 04:02:26PM -0400, Vic Beckley wrote:
> John,
> 
> Here is what I did.
> 
> Updated liblouis with svn update. At revision 703.
> Did make clean.
> Did make.
> Updated liblouisutdml with hg pull and hg update.
> Did make clean.
> Did make 2>error.txt.
> 
> Here is what the error log showed:
> 
> ../liblouisutdml/.libs/liblouisutdml.so: undefined reference to
> `getLastTableList'
> collect2: error: ld returned 1 exit status
> make[1]: *** [testTranslateString] Error 1
> make: *** [all-recursive] Error 1
> 
> 
> Best regards from Ohio, U.S.A.,
> 
> Vic
> E-mail: vic.beckley3@xxxxxxxxx
> 
> 
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> Boyer
> Sent: Thursday, June 21, 2012 3:37 PM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: Compiling liblouisutdml under Linux
> 
> Hi Vic,
> 
> Did you install liblouis from the repository? The latest release does 
> not have the getLastTableList function. 
> 
> John
> 
> On Thu, Jun 21, 2012 at 03:21:22PM -0400, Vic Beckley wrote:
> > John,
> > 
> > I now have gcj installed but am still getting an error.
> > 
> > ../liblouisutdml/.libs/liblouisutdml.so: undefined reference to
> > `getLastTableList'
> > collect2: error: ld returned 1 exit status
> > make[1]: *** [testTranslateString] Error 1
> > make: *** [all-recursive] Error 1
> > 
> > If this doesn't tell you anything, I wil send the entire error log. There
> > are a bunch of warnings but this is the only error I saw.
> > 
> > 
> > Best regards from Ohio, U.S.A.,
> > 
> > Vic
> > E-mail: vic.beckley3@xxxxxxxxx
> > 
> > -----Original Message-----
> > From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> > [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Michael
> > Whapples
> > Sent: Thursday, June 21, 2012 9:30 AM
> > To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > Subject: [liblouis-liblouisxml] Re: Compiling liblouisutdml under Linux
> > 
> > Further to my last message it seems like may be there is no official gcj 
> > package for ArchLinux, there is a gcj package build script in AUR, see 
> > http://aur.archlinux.org/packages.php?ID=1638
> > 
> > For information on building packages from AUR see the ArchLinux wiki 
> > page https://wiki.archlinux.org/index.php/Arch_User_Repository
> > 
> > Also if you find yourself needing lots of packages from AUR there are 
> > some helper applications which extend pacman for working with AUR, eg. 
> > yaourt
> > 
> > Michael Whapples
> > On 21/06/2012 14:12, Michael Whapples wrote:
> > > No, gcj is the GNU java compiler and is probably part of gcc.
> > >
> > > I have just had a quick look through the packages for ArchLinux and 
> > > nothing obvious is coming up for searches on gcc or java.
> > >
> > > Do you have a gcj command on your system?
> > >
> > > A separate thing, probably more for John, would it be possible, if not 
> > > already possible, to give the configure script a option to specify the 
> > > Java header directory?
> > >
> > > Also why not make use of the JAVA_HOME environment variable which is a 
> > > standard Java thing for specifying where your JDK is.
> > >
> > > Michael Whapples
> > > On 21/06/2012 13:41, Vic Beckley wrote:
> > >> Could that package be called texlive-langcjk? I can't find a package 
> > >> called
> > >> gcj. It says this package is Chinese, Japanese and Korean macros and 
> > >> fonts.
> > >>
> > >>
> > >> Best regards from Ohio, U.S.A.,
> > >>
> > >> Vic
> > >> E-mail: vic.beckley3@xxxxxxxxx
> > >>
> > >> -----Original Message-----
> > >> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
> > >> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
> > >> Boyer
> > >> Sent: Thursday, June 21, 2012 8:31 AM
> > >> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > >> Subject: [liblouis-liblouisxml] Re: Compiling liblouisutdml under Linux
> > >>
> > >> Hi Vic,
> > >>
> > >> You need to install gcj.
> > >>
> > >> John
> > >>
> > >> On Thu, Jun 21, 2012 at 08:09:52AM -0400, Vic Beckley wrote:
> > >>> John,
> > >>>
> > >>> My liblouis is compiling fine under Linux but liblouisutdml isn't. 
> > >>> Here is
> > >>> the error I am getting. What might be causing it?
> > >>>
> > >>> 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
> > >>>
> > >>>
> > >>> Best regards from Ohio, U.S.A.,
> > >>>
> > >>> Vic
> > >>> E-mail: vic.beckley3@xxxxxxxxx
> > >>>
> > >>>
> > >>>
> > >>> For a description of the software, to download it and links to
> > >>> project pages go to http://www.abilitiessoft.com
> > >
> > >
> > > For a description of the software, to download it and links to
> > > project pages go to http://www.abilitiessoft.com
> > 
> > 
> > For a description of the software, to download it and links to
> > project pages go to http://www.abilitiessoft.com
> > 
> > For a description of the software, to download it and links to
> > project pages go to http://www.abilitiessoft.com
> 
> -- 
> John J. Boyer; President, Chief Software Developer
> Abilitiessoft, Inc.
> http://www.abilitiessoft.com
> Madison, Wisconsin USA
> Developing software for people with disabilities
> 
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com
> 
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: