sprhawk / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

"make install" dumps all the test/example programs into /usr/local/bin! #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?

On a Mac or Linux box, do "./configure; make; make install".

You'll see that all the programs under "prog" automatically get installed in 
/usr/local/bin/.  Bad idea.  They should only get installed if the user says 
something like "make install-examples", or some such.

> What version of the product are you using? On what operating system?

This is 1.68 on OS X 10.5.

Original issue reported on code.google.com by Bill.Jan...@gmail.com on 22 Apr 2011 at 12:29

GoogleCodeExporter commented 9 years ago
This is an issue I had been meaning to raise with Dan but after all the effort 
it took to get 1.68 out the door, I wanted a break from it! ;)

I've never been entirely clear on what these programs are actually for. I 
gather some of them are tests. Are there also utilities that may be useful? Or 
example programs where the source is more interesting than the resulting 
binaries?

In the case of tests, these can be treated specially by autotools. I've never 
tried it but "make distcheck" can be used to run such tests and "make 
installcheck" can be used to install them if that is desired. I'll see what I 
can do here.

Original comment by JerseyChewi@gmail.com on 25 Apr 2011 at 11:55

GoogleCodeExporter commented 9 years ago
Did you try this:
./configure --disable-programs

Original comment by zde...@gmail.com on 6 Jul 2012 at 5:10

GoogleCodeExporter commented 9 years ago
Fixed in 1.70, which you can get at leptonica.org/download.html

Original comment by dan.bloo...@gmail.com on 23 Jan 2014 at 8:41