The trouble with versions

2009-05-23 Thread Gerald I. Evenden
Original library was setup and installed as: libproject_la_LDFLAGS = -version-info 0:0:0 $(ALDFLAG) $(BLDFLAG) I added a new procedure and modified several others (without changing their interface). Refering to 7.3 of libtool I change the above to: libproject_la_LDFLAGS = -version-info 1:1:1

Testing for GSL

2009-05-17 Thread Gerald I. Evenden
Has anyone successfully written a configure.ac that successfully tests for the Gnu Scientific Library (aka GSL)? I would appreciate knowing how you did it? Additional comment: GSL requires an additional library so that the traditional test by compiling a test routine fails because there is no

Re: Testing for GSL

2009-05-17 Thread Gerald I. Evenden
On Sunday 17 May 2009 2:52:17 pm Ralf Wildenhues wrote: Hello Gerald, * Gerald I. Evenden wrote on Sun, May 17, 2009 at 08:40:46PM CEST: Has anyone successfully written a configure.ac that successfully tests for the Gnu Scientific Library (aka GSL)? AFAIK the GSL package distributes

Re: Setting shared lib version not functioning

2009-05-06 Thread Gerald I. Evenden
As and aside on this whole mess and before I blow my brains out (just kidding, I think) I tried starting the whole mess over and setting the version to 0:0:0 after doing a 'make maintainer-clean'. Well, everything compiled and looked OK when installed in /usr/local/lib libproject.a

Setting shared lib version not functioning

2009-05-03 Thread Gerald I. Evenden
The following is the beginning of my Makefile.am script: include_HEADERS = project.h lib_LTLIBRARIES = libproject.la noinst_HEADERS = proj_list.h libproject_la_LDFLAGS = -version-info 2:0:1 which worked fine when with previous loading of a library with 2:0:0 versioning code. But now, when

Re: Setting shared lib version not functioning

2009-05-03 Thread Gerald I. Evenden
On Sunday 03 May 2009 1:02:54 pm Jan Engelhardt wrote: On Sunday 2009-05-03 18:58, John Calcote wrote: It appears that Libtool is smart enough to detect ridiculous cases, but it should probably throw an error of some sort, rather than simply generate code with a different version number.

Re: Finding library procedures in /usr/local/lib/

2009-04-03 Thread Gerald I. Evenden
On Thursday 02 April 2009 5:56:52 pm Peter Johansson wrote: Hello Gerald, Gerald I. Evenden wrote: After trying so many options related to libraries I am exhausted. I have a simple program that needs to link with a shared library installed in /usr/local/lib. When using my own simple

Re: Finding library procedures in /usr/local/lib/

2009-04-03 Thread Gerald I. Evenden
On Friday 03 April 2009 12:17:14 pm John Calcote wrote: On 4/3/2009 8:49 AM, Gerald I. Evenden wrote: On Thursday 02 April 2009 5:56:52 pm Peter Johansson wrote: Hello Gerald, Gerald I. Evenden wrote: After trying so many options related to libraries I am exhausted. I have a simple

Re: Finding library procedures in /usr/local/lib/

2009-04-03 Thread Gerald I. Evenden
On Friday 03 April 2009 12:17:14 pm John Calcote wrote: On 4/3/2009 8:49 AM, Gerald I. Evenden wrote: On Thursday 02 April 2009 5:56:52 pm Peter Johansson wrote: Hello Gerald, Gerald I. Evenden wrote: After trying so many options related to libraries I am exhausted. I have a simple

Re: Troubles with conditional adding files to library

2009-03-27 Thread Gerald I. Evenden
On Friday 27 March 2009 10:52:33 am Russ Allbery wrote: Gerald I. Evenden geraldi.even...@gmail.com writes: Then I ran autoconfig followed by autoconfig -vfi and got messages: ... configure.ac:34: required file `src/malloc.c' not found configure.ac:34: required file `src/strtod.c

Troubles with conditional adding files to library

2009-03-26 Thread Gerald I. Evenden
I am quite new to using this system but managed to get it to make a distribution of a shared library. The first try was, however, simple and straight forward. However, I want selectively add two files to the library based upon the condition that they are *not* present on the target computer.

Re: Troubles with conditional adding files to library

2009-03-26 Thread Gerald I. Evenden
On Thursday 26 March 2009 10:26:13 pm Russ Allbery wrote: Gerald I. Evenden geraldi.even...@gmail.com writes: I am quite new to using this system but managed to get it to make a distribution of a shared library. The first try was, however, simple and straight forward. However, I want