problem to create a noinst_LTLIBRARIES shared libraray

2009-04-03 Thread Andreas Otto
Hi, I currently writing a java JNI extension used only for local check and this library should *not* be installed. The problem is that I need a shared library for dlopen using java file: TestMain.java === public abstract class TestMain

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 John Calcote
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 program that needs to link with a shared library

Re: problem to create a noinst_LTLIBRARIES shared libraray

2009-04-03 Thread John Calcote
Andreas, On 4/3/2009 3:26 AM, Andreas Otto wrote: I currently writing a java JNI extension used only for local check and this library should *not* be installed. ... Question: what can I do to get a shared LTLIBRARIES using the noinst prefix ? Use check_LTLIBRARIES instead of

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

2009-04-03 Thread Jan Engelhardt
On Thursday 2009-04-02 23:45, 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 Makefile and simply adding -lproject -lm everything

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: mostlyclean and texinfo outputs

2009-04-03 Thread Ralf Wildenhues
[ let's drop bug-gnulib ] Hello Bruno, Karl, all, * Bruno Haible wrote on Fri, Apr 03, 2009 at 12:58:26PM CEST: For the {dvi,ps} formats this is (arguably) a bug in automake, I agree; automake should remove {html,dvi,ps,pdf} only upon 'clean', but not upon 'mostlyclean'. Only the

Re: problem to create a noinst_LTLIBRARIES shared libraray

2009-04-03 Thread Ralf Wildenhues
Hello, * John Calcote wrote on Fri, Apr 03, 2009 at 06:25:07PM CEST: On 4/3/2009 3:26 AM, Andreas Otto wrote: I currently writing a java JNI extension used only for local check and this library should *not* be installed. ... Question: what can I do to get a shared LTLIBRARIES using

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

2009-04-03 Thread Ralf Wildenhues
Hello Gerald, * Gerald I. Evenden wrote on Fri, Apr 03, 2009 at 08:11:22PM CEST: One added note, that bothers me a little. If the system checks for an entry being present in a particular iibrary by compiling/linking a test program using the function *and* linking to the specified

Re: silent build rules

2009-04-03 Thread Ralf Wildenhues
* Jan Engelhardt wrote on Thu, Apr 02, 2009 at 09:53:21AM CEST: On Thursday 2009-04-02 04:01, Eric Blake wrote: One of Ralf's concerns is that you can't do AC_SUBST([V], [1]), because it interacts badly with various make implementations. That is, the Makefile must not pre-define V as the

Re: silent build rules

2009-04-03 Thread Ralf Wildenhues
* Bob Friesenhahn wrote on Wed, Apr 01, 2009 at 11:04:14PM CEST: On Wed, 1 Apr 2009, Ralf Wildenhues wrote: * Bob Friesenhahn wrote on Wed, Apr 01, 2009 at 09:32:54PM CEST: My opinion is that if this mode is optional that it should default to off It defaults to off. It is enabled if the

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

2009-04-03 Thread John Calcote
On 4/3/2009 12:29 PM, Ralf Wildenhues wrote: Hello Gerald, * Gerald I. Evenden wrote on Fri, Apr 03, 2009 at 08:11:22PM CEST: One added note, that bothers me a little. If the system checks for an entry being present in a particular iibrary by compiling/linking a test program using the

Re: silent build rules

2009-04-03 Thread Bob Friesenhahn
On Fri, 3 Apr 2009, Ralf Wildenhues wrote: A) 1) The developer can choose to enable the silent-rules option in configure.ac (as argument to AM_INIT_AUTOMAKE) or Makefile.am (adding the option to the AUTOMAKE_OPTIONS variable). Without this option, there will never be less verbose output. 2)

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

2009-04-03 Thread Peter Johansson
John Calcote wrote: I sure don't know what's happening to my email messages lately. This is the third time this month that some response of mine has apparently been completely lost by Google mail. I sent this response to this thread last night (via Mozilla Thunderbird client), which goes

aclocal problems

2009-04-03 Thread John Calcote
Automake maintainers, On page 158, paragraph 3 of the 2.63 Autoconf manual, it states: If a macro doesn’t use AC_REQUIRE, is expected to never be the object of an AC_REQUIRE directive, and macros required by other macros inside arguments do not need to be expanded before this macro, then use

Re: aclocal problems

2009-04-03 Thread Ralf Wildenhues
Hi John, * John Calcote wrote on Fri, Apr 03, 2009 at 09:33:40PM CEST: On page 158, paragraph 3 of the 2.63 Autoconf manual, it states: If a macro doesn’t use AC_REQUIRE, is expected to never be the object of an AC_REQUIRE directive, and macros required by other macros inside arguments

Re: aclocal problems

2009-04-03 Thread John Calcote
On 4/3/2009 5:31 PM, Ralf Wildenhues wrote: Hi John, * John Calcote wrote on Fri, Apr 03, 2009 at 09:33:40PM CEST: On page 158, paragraph 3 of the 2.63 Autoconf manual, it states: If a macro doesn’t use AC_REQUIRE, is expected to never be the object of an AC_REQUIRE directive, and macros

Re: mostlyclean and texinfo outputs (was: Installing gnulib from git)

2009-04-03 Thread Bruno Haible
Hi Ralf, Thanks for pursuing this. For the {dvi,ps} formats this is (arguably) a bug in automake, I agree; automake should remove {html,dvi,ps,pdf} only upon 'clean', but not upon 'mostlyclean'. Only the latex by-products should be removed upon 'mostlyclean'. OK, this is issue #1. $

Re: automake (GNU automake) 1.10.2 failed test

2009-04-03 Thread Ralf Wildenhues
Hello Rainer, * Rainer Tammer wrote on Fri, Apr 03, 2009 at 04:03:41PM CEST: the test automake 1.10.2 check10.t fails on AIX 5.3: Yep. After I have applied * tests/check10.test: When a rule fails, Solaris make will output the complete command that failed; in this case the test

Using GNU Make

2009-04-03 Thread Reuben Thomas
Is there a standard way to make an autotoolised build system require GNU Make? I'm getting a bit fed up having to express everything in POSIX make when most systems now seem to have GNU Make, even where it's not installed as the default make. -- http://rrt.sc3d.org/ | fiction, n. fact

Re: Using GNU Make

2009-04-03 Thread Mike Frysinger
On Friday 03 April 2009 20:01:15 Reuben Thomas wrote: Is there a standard way to make an autotoolised build system require GNU Make? I'm getting a bit fed up having to express everything in POSIX make when most systems now seem to have GNU Make, even where it's not installed as the default