Re: Can't include SQLite libs in compile

2013-12-18 Thread Thomas Jahns
system there's both .pc files. Have you checked with .pc files are found for sqlite and sqlite3? Regards, Thomas -- Thomas Jahns DKRZ GmbH, Department: Application software Deutsches Klimarechenzentrum Bundesstraße 45a D-20146 Hamburg Phone: +49-40-460094-151 Fax: +49-40-460094-270 Email: Thomas

Re: Can't include SQLite libs in compile

2013-12-18 Thread Thomas Jahns
think. But you could use an m4 define. AC_SUBST([SQLITE3_CFLAGS]) AC_SUBST([SQLITE3_LIBS]) Or instead of putting SQLITE3 above use AC_SUBST([SQLITE3_CFLAGS], [$SQLITE_CFLAGS]) Regards, Thomas -- Thomas Jahns DKRZ GmbH, Department: Application software Deutsches Klimarechenzentrum

Re: question about libtool wrapper and plugins

2014-01-16 Thread Thomas Jahns
Hello Felix, not an automake issue, but... On 01/16/14 13:02, Felix Salfelder wrote: [rpath in uninstalled binary] The normal mode of using libtool to run the binary with adjusted paths in circumstances like yours is ./libtool --mode=execute main/program Regards, Thomas -- Thomas Jahns DKRZ

Re: `make check` linking against installed copies of the libraries

2014-02-18 Thread Thomas Jahns
this is an issue with your use of libtool and you might need to ensure your tests run non-installed binaries prefixed with $abs_topbuilddir/libtool --mode=execute although the versions of libtool I know generate wrappers which arrange for that automatically. Regards, Thomas -- Thomas Jahns DKRZ GmbH

Re: How to use ld options correctly for --whole-archive in automake and libtool

2015-03-04 Thread Thomas Jahns
Hello Andy, On Mar 4, 2015, at 20:05 , Andy Falanga (afalanga) wrote: The team I work with has a project which is a C++ shared library which is exposed in two different manners. The first is a traditional C++ library and the second is it's exposed, through Boost.python, as a module. I

Re: How to use ld options correctly for --whole-archive in automake and libtool

2015-03-06 Thread Thomas Jahns
Hello Vincent, On 03/05/15 18:43, Vincent Torri wrote: I would also use $(top_builddir) instead of relative path. It could help when building in another directory than the source one (like with make distcheck) I cannot see how .. would ever refer to the source tree and since libhwmgmt.la is

Re: How to use ld options correctly for --whole-archive in automake and libtool

2015-03-06 Thread Thomas Jahns
On 03/05/15 18:28, Andy Falanga (afalanga) wrote: -Original Message- From: Thomas Jahns [mailto:ja...@dkrz.de] Sent: Wednesday, March 04, 2015 5:45 PM To: Andy Falanga (afalanga) Cc: automake@gnu.org Subject: Re: How to use ld options correctly for --whole-archive in automake and libtool

Re: Turn off C compiler warnings in automake

2015-06-22 Thread Thomas Jahns
Hello, On 06/22/15 15:44, Alex Vong wrote: Is there any easy way to turn off c compiler warnings (those printed to stderr) portably? From my point of view, the easy way is to write portable code which does not generate warnings. This is also the preferred and recommended way. But automake

Re: Turn off C compiler warnings in automake

2015-06-30 Thread Thomas Jahns
and instead make STREAM be either '2/dev/null' or the empty string ''? Regards, Thomas -- Thomas Jahns HD(CP)^2 Abteilung Anwendungssoftware Deutsches Klimarechenzentrum GmbH Bundesstraße 45a • D-20146 Hamburg • Germany Phone: +49 40 460094-151 Fax:+49 40 460094-270 Email: Thomas Jahns ja

Re: Turn off C compiler warnings in automake

2015-06-29 Thread Thomas Jahns
Hi Alex, On 06/28/15 16:21, Alex Vong wrote: Besides, the code base is quite old and as we know compilers always add new warnings. I have asked upstream about fixing the warnings, but it seems there is no easy way to fix all of them. So I want to know is there a portable way to silent all

Re: Creating a link with automake

2017-01-23 Thread Thomas Jahns
On 01/20/2017 11:21 AM, Bernhard Seckinger wrote: I've got a program, that contains some php-script frontend (cli not web) (and other stuff, which is irrelevant here). I've put the php-scripts into $pkgdatadir. Now I'd like to have a link from $bindir to the main script i.e. ln -s

Re: Automake Digest, Vol 175, Issue 3

2017-09-07 Thread Thomas Jahns
Hello, On 09/06/17 00:57, Nick Bowler wrote: On 2017-09-05, Kip Warner wrote: [...] Hey Thomas. Good question. It could well be that no hackery at all is required with this. Here is my Makefile.am:

Re: Mapfile missing from shared object artifact?

2017-11-09 Thread Thomas Jahns
On 11/09/17 05:10, Jeffrey Walton wrote: On Wed, Nov 8, 2017 at 3:53 PM, Jeffrey Walton wrote: On Tue, Nov 7, 2017 at 12:33 PM, Jeffrey Walton wrote: I'm trying to run 'make check' on Solaris. It results in: $ ./cryptestcwd v ld.so.1: cryptestcwd:

Re: compile .c files as C++?

2018-01-25 Thread Thomas Jahns
On 01/25/18 04:07, Jay K wrote: I have a bunch of C. I want to move to C++. I'm using automake. I don't want to rename any files. that's unwise and not going to serve you well in the long run. I very much advise against not renaming files converted from C to C++. While it can be done, this

Re: pkg-conf and LD* variables

2018-10-28 Thread Thomas Jahns
Hi, On 10/28/18 1:42 AM, Harlan Stenn wrote: pkg-conf offers the following ways to get "link flags": --libsAll link flags use the above and put it in the LIBS variable. No need to make this more complicated. --libs-only-L The -L/-R stuff --libs-only-l The -l stuff

Re: Future plans for Autotools

2021-05-03 Thread Thomas Jahns
tists, who otherwise knew and used Python. Regards, Thomas -- Thomas Jahns HPC-Gruppe Abteilung Anwendungssoftware Deutsches Klimarechenzentrum GmbH Bundesstraße 45a • D-20146 Hamburg • Germany Phone: +49 40 460094-151 Fax:+49 40 460094-270 Email: Thomas Jahns URL:www.dkrz.de Gesch

Re: Constantly changing libtool

2021-04-16 Thread Thomas Jahns
enable you to keep much more under control than only the sources. Users would receive a complete environment that's almost guaranteed to produce identical results to what you prepared for lectures/hands-on sessions. Thomas Jahns On 4/15/21 4:41 PM, Laurence Marks wrote: As you say, it has

Re: How to speed up 'automake'

2022-05-02 Thread Thomas Jahns
On May 2, 2022, at 15:07 , Jan Engelhardt wrote: > > > On Monday 2022-05-02 14:20, Thomas Jahns wrote: >>>>> Is there a way to speed 'automake' up? >>>> >>>> [...let] ephemeral builds [..] use /dev/shm [...] >>> >>> There

Re: How to speed up 'automake'

2022-04-29 Thread Thomas Jahns
On 4/27/22 3:49 PM, R. Diez wrote: Is there a way to speed 'automake' up? While you are probably looking for system-independent advice, the best results I've had with speeding up ephemeral builds is to simply use /dev/shm for backing storage on Linux, i.e. first try to put build directories

Re: How to speed up 'automake'

2022-05-02 Thread Thomas Jahns
> On Apr 30, 2022, at 01:31 , Jan Engelhardt wrote: > > On Friday 2022-04-29 22:59, Thomas Jahns wrote: >> On 4/27/22 3:49 PM, R. Diez wrote: >>> Is there a way to speed 'automake' up? >> >> While you are probably looking for system-independent advi

Addressing sources dynamically generated by autoconf

2022-11-21 Thread Thomas Jahns
nd regards, Thomas Jahns smime.p7s Description: S/MIME cryptographic signature

Re: Addressing sources dynamically generated by autoconf

2022-11-21 Thread Thomas Jahns
On Nov 21, 2022, at 18:37 , Russ Allbery wrote: > Thomas Jahns writes: > >> I know I can write a Makefile.in myself, but given the number of >> additional targets users expect, I'd really prefer sticking to build >> instructions as much as possible and delegate dist, ch

Re: Addressing sources dynamically generated by autoconf

2022-11-21 Thread Thomas Jahns
> On Nov 21, 2022, at 17:10 , Jan Engelhardt wrote: > On Monday 2022-11-21 16:22, Thomas Jahns wrote: > >> The question consequently is: how would I create a Makefile.am that accounts >> for a list of C sources, when the sources are not yet present/known from the >&

Test for install_sh missing +set

2014-08-07 Thread Thomas Jahns
Mon Sep 17 00:00:00 2001 From: Thomas Jahns ja...@dkrz.de Date: Thu, 7 Aug 2014 11:03:06 +0200 Subject: [PATCH] Fix test for install_sh. --- m4/install-sh.m4 |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/install-sh.m4 b/m4/install-sh.m4 index 094c10a..16a3d9c 100644

bug#28160: Support newer version of python

2017-09-15 Thread Thomas Jahns
On 09/15/17 11:17, Mathieu Lirzin wrote: Instead of preemptively adding possible future version of Python that hopefully would be released, I would prefer a solution that removes the need to hard-code them. WDYT? Why not parse PATH and filter what pathelem/python* returns for a pattern like

bug#32737: generated LDFLAGS order incorrect

2018-09-17 Thread Thomas Jahns
On 09/14/18 22:06, A.Timmermans wrote: incorrect, does not compile: LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ I'm pretty confident that's the correct way to specify this. Can you provide an example of what exactly is going wrong? A typical error is to erroneously

bug#49901: Bug in build c-ares [too many loops]

2021-09-01 Thread Thomas Jahns
ns. I found that to support older autoconf versions, it was useful to put overrides into conditional blocks like this: m4_if(m4_version_compare(m4_PACKAGE_VERSION,[2.70]),[-1], [m4_include([m4/ac_fc_module_output_flag.m4])]) Regards, Thomas -- Thomas Jahns HPC-Gruppe Abteilung Anwendungssoftwar