[liblouis-liblouisxml] Re: Problems with making liblouis

  • From: Greg Kearney <gkearney@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 13 May 2014 07:47:24 -0700

I could of course make my installer install the programs and files in any 
location. I was simply following the paths used by make install. There could 
even be a choice.

There could be any number of reasons why we should want to install the program 
but not want to go through the process of compiling it. Despite what you say on 
a Mac it is not a simple matter of configure, make, make install particually I 
am an experienced user, but not a formal programmer and I run into issues all 
the time.

For example a user might be writing a web interface that needs to call the 
various binaries to do translations, a programmer working in Perl or Python but 
not familiar with compiling programs might need the binaries. Perhaps someone 
would just prefer to use the command line. As John can tell you I designed a 
formal MacOS interface for libelous, I would like to update this by using the 
more modern tools but I keep running into the build issues that prevent me from 
doing so. This is particularly the case with liblouisutdml which despite having 
all the auto-config paths set up still will not build on a standard Mac as 
shipped by Apple with the developer tools.

While a table development tools would be nice I agree I can not wait about 
while one gets built.


Commonwealth Braille & Talking Book Cooperative
Greg Kearney, General Manager
605 Robson Street, Suite 850
Vancouver BC V6B 5J3
CANADA
Email: info@xxxxxxxxx

U.S. Address
21908 Almaden Av.
Cupertino, CA 95014
UNITED STATES
Email: gkearney@xxxxxxxxx



On May 13, 2014, at 6:07 AM, Bert Frees <bertfrees@xxxxxxxxx> wrote:

> 
> Hi Greg,
> 
> First of all, we really appreciate your efforts for making liblouis more
> easily obtainable for non-developers, and I'm sorry you have to keep
> repeating yourself to get your point across.
> 
> Let me start off by reminding that liblouis and liblouisutdml were
> developed as libraries intended to be used in other software with a
> proper user interface, so called frontends, such as BrailleBlaster,
> DAISY Pipeline, NVDA, etc. (correct me if I'm wrong, John). But indeed,
> I agree that there are certain use cases for which the existing
> frontends are not suitable. One of those use cases is table
> developers. However I have different ideas about how to solve that
> problem.
> 
> First, I'm not convinced that table developers wouldn't be able to build
> liblouis from source. If they can use the liblouis tools to test the
> tables, they are expected to at least have a notion of what the command
> line is, so it can't be that hard to teach them configure && make &&
> make install, right? (assuming of course that they are on Linux or Mac.)
> 
> As David said, it is mostly a matter of documenting things better. If
> you have the right tools, building liblouis from source really isn't
> hard at all. (In your particular case, the error message already gives
> you a big hint. So let's sit together, maybe meet us on the IRC channel,
> so that we can guide you through the process.)
> 
> Second, I've never been really fond of your idea about making an
> installer that simply puts the binaries into /usr/local/. It just
> doesn't seem right. There is a reason why package managers for Mac OS
> such as fink and homebrew install the binaries in places that they have
> total control of. I would be much happier with for example an
> application bundle that would include all the necessary binaries,
> somewhere under /Applications/Louis.app/Contents/MacOS.
> 
> Or would there perhaps be interest in a new frontend dedicated for table
> developers? I would include the library and could provide a simple
> interface for testing a table with the need to use the command line.
> 
> 
> Regards,
> Bert
> 
> 
> 
> Greg Kearney writes:
> 
>> I keep hearing about others building it I just can not seem to make it work. 
>> I have some experiments I wish to do outside of the braille blaster 
>> environment all I really want is an installer. All this trouble. There has 
>> got to be a better way really.
>> 
>> Commonwealth Braille & Talking Book Cooperative
>> Greg Kearney, General Manager
>> 605 Robson Street, Suite 850
>> Vancouver BC V6B 5J3
>> CANADA
>> Email: info@xxxxxxxxx
>> 
>> U.S. Address
>> 21908 Almaden Av.
>> Cupertino, CA 95014
>> UNITED STATES
>> Email: gkearney@xxxxxxxxx
>> 
>> 
>> 
>> On May 12, 2014, at 10:57 AM, John J. Boyer <johnjboyer@xxxxxxxxxxxxx> wrote:
>> 
>>> The problem with liblouisutdml is an old one. It's due to 
>>> PKG_CONFIG_PATH not being set or the pkg-config utility not being 
>>> present. Others have built liblouisutdml on Mac OSX successfully. More 
>>> documentation would certainly help.
>>> 
>>> I'm wondering, though, why you need to build liblouis, since you have 
>>> BrailleBlaster. 
>>> 
>>> John
>>> 
>>> On Mon, May 12, 2014 at 09:31:47AM -0700, Greg Kearney wrote:
>>>> Well what I really want is to avoid this whole configure/make/make install 
>>>> process and to just have an installer that puts the various programs and 
>>>> support files into the right places. I could even build such an installer 
>>>> for use if I could just get a set of files to install. As a rule after 
>>>> some fiddling about I get libelous built and installed but always run into 
>>>> trouble with liblouisutdml for example:
>>>> 
>>>> I build libelous and run the make install. All should be set to go on and 
>>>> build liblouisutdml right? Wrong I get the following which I have no idea 
>>>> at all how to fix.
>>>> 
>>>> 
>>>> checking for BASE_DEPENDENCIES... configure: error: Package requirements 
>>>> (liblouis, libxml-2.0) were not met:
>>>> 
>>>> No package 'liblouis' 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.
>>>> 
>>>> 
>>>> Commonwealth Braille & Talking Book Cooperative
>>>> Greg Kearney, General Manager
>>>> 605 Robson Street, Suite 850
>>>> Vancouver BC V6B 5J3
>>>> CANADA
>>>> Email: info@xxxxxxxxx
>>>> 
>>>> U.S. Address
>>>> 21908 Almaden Av.
>>>> Cupertino, CA 95014
>>>> UNITED STATES
>>>> Email: gkearney@xxxxxxxxx
>>>> 
>>>> 
>>>> 
>>>> On May 12, 2014, at 9:20 AM, David Sweetman <david@xxxxxxxxxxxxxxxxx> 
>>>> wrote:
>>>> 
>>>>> For these issues, an Xcode project really wouldn’t solve any problems, it 
>>>>> could only possibly complicate things. The current checkout builds fine 
>>>>> for me on OS X (a091dc), so perhaps what is really needed is improved 
>>>>> documentation on how to build. I think documentation was on Bert’s 
>>>>> roadmap so that may be coming soon.
>>>>> 
>>>>> David
>>>>> 
>>>>> On May 12, 2014, at 7:27 AM, Greg Kearney <gkearney@xxxxxxxxx> wrote:
>>>>> 
>>>>>> I have cloned the the github version of libelous and did the configure. 
>>>>>> Upon running make it get the following:
>>>>>> 
>>>>>> gkearney:Liblouis gkearney$ make
>>>>>> Making all in gnulib
>>>>>> /bin/sh: /Volumes/Untitled: No such file or directory
>>>>>> make: *** [all-recursive] Error 1
>>>>>> 
>>>>>> Can anyone tell me what is going on here? We really really  really need 
>>>>>> a better way to do this for people who just need the binaries for table 
>>>>>> development. A simple installer, an Xcode project that builds every time 
>>>>>> something other than what is going on now. I don’t believe I have ever 
>>>>>> downloaded a new version without running into problems.
>>>>>> 
>>>>>> 
>>>>>> Commonwealth Braille & Talking Book Cooperative
>>>>>> Greg Kearney, General Manager
>>>>>> 605 Robson Street, Suite 850
>>>>>> Vancouver BC V6B 5J3
>>>>>> CANADA
>>>>>> Email: info@xxxxxxxxx
>>>>>> 
>>>>>> U.S. Address
>>>>>> 21908 Almaden Av.
>>>>>> Cupertino, CA 95014
>>>>>> UNITED STATES
>>>>>> Email: gkearney@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
>>> 
>>> -- 
>>> My websites:
>>> GodTouches Digital Ministry, Inc. http://www.godtouches.org
>>> Abilitiessoft, Inc. http://www.abilitiessoft.com
>>> Location: Madison, Wisconsin, USA
>>> 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

Other related posts: