automake

Which processes in the autoconf and automake flowchart are performed by who and when?

一笑奈何 提交于 2019-12-08 06:41:06
问题 In the flowchart of autoconf and automake from https://en.wikipedia.org/wiki/Automake , there are several processes autoscan alocal autoheader autoconf automake configure make Which processes are performed by a user of a software program after he downloaded the distribution of the software program by the party who creates the distribution of the software program from its source code (and who is likely the author of the software program)? I ask this question, because I remember that after I,

Which processes in the autoconf and automake flowchart are performed by who and when?

穿精又带淫゛_ 提交于 2019-12-08 05:18:28
In the flowchart of autoconf and automake from https://en.wikipedia.org/wiki/Automake , there are several processes autoscan alocal autoheader autoconf automake configure make Which processes are performed by a user of a software program after he downloaded the distribution of the software program by the party who creates the distribution of the software program from its source code (and who is likely the author of the software program)? I ask this question, because I remember that after I, as a user of some software program, downloaded its source distribution, the commands I ran to build an

PKG_CHECK_MODULES breaking in solaris

橙三吉。 提交于 2019-12-08 04:09:00
问题 My project requires dependency of libxml2 am using autotools to check the dependencies & install the same. I declare the dependency of using the following macro in configure.ac echo -n "checking if libxml2 is present... " PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6.19], [echo "yes (features requiring libxml2 enabled)" AC_DEFINE(HAVE_LIB_XML, 1, [define if libxml2 is present])], [echo "no"] ) The macro works as desired in GNU/Linux . But somehow it fails in Solaris with the following error

Automake Combine two static libraries into one

妖精的绣舞 提交于 2019-12-07 21:09:48
问题 I am trying to include symbols from a pre-built static library into a static library that I am building. The static library that I am building is then used inside of an executable. The problem I am having is that I am getting undefined symbols in my static library from the other static library. Which means the symbols I need from the pre-built static library are not being included in my static library. What is the correct approach with auto tools to do this? I know I need to un-archive the

Automake Variables to tidy up Makefile.am

淺唱寂寞╮ 提交于 2019-12-06 18:24:36
问题 I have a directory /src containing all of my source files, and /bin to store all binary after running make command. The directory is something like below: /BuildDirectory - - /src - - /bin - - configure - - Makefile.am - - configure.ac - - ... Now in Makefile.am, I have to specified: bin_PROGRAMS = bin/x bin/y bin/z bin/k ... bin_x_SOURCES = src/x.cpp bin_y_SOURCES = src/y.cpp bin_z_SOURCES = src/z.cpp Is there any variable that can help to get rid of all "bin/" and "src/" ? For example I

MacOS - automake: command not found

99封情书 提交于 2019-12-06 12:01:13
I am trying to install automake on MacOS using brew . From terminal I write, brew install automake says Warning: automake-1.15 already installed . When I then try automake version it responds -bash: automake: command not found . I am using OS X El Capitan. $ automake version -bash: automake: command not found $ brew install automake Warning: automake-1.15 already installed $ automake version -bash: automake: command not found The solution had to do with brew having failed to link the binary into the PATH . Un-linking and re-linking solved it. Fattie What an infuriating problem! In a Docker

automake Environment Variable Condition

≯℡__Kan透↙ 提交于 2019-12-06 10:28:45
I have a file Makefile.am I am using to generate a Makefile. In the generated Makefile I want to have something like: ifndef SOURCECODEPATH SOURCECODEPATH := /home/root/source_code_path endif It seems so simple, does anyone know how I can do it? Use the AM_CONDITIONAL macro in configure.ac . The script sets a variable you can test, e.g., a variable that is set to non-empty if the condition is enabled: AM_CONDITIONAL([ENABLE_SOURCECODEPATH], [test "x$ac_srcpath" != "x"]) Then in Makefile.am : if !ENABLE_SOURCECODEPATH SOURCECODEPATH = ... endif However, since you are explicitly defining the

automake and custom rpath

半腔热情 提交于 2019-12-06 07:31:23
I have to ship a third-party library with an application. Because I don't want to set LD_LIBRARY_PATH by hand or require any wrapper script I want automake to set a custom rpath . Unfortunately libtool has its own -rpath option and adding -Wl,-rpath,/foo/bar to LDFLAGS only results in g++: unrecognized option '-rpath' because libtool seems to get confused with the command line options. The same happens with the alternative form -Wl,-rpath -Wl,/foo/bar . Is there any way to specify a custom rpath without libtool interference? As you said, libtool has its own -rpath option. Any reason you don't

Check framework example giving me error when running './configure'

こ雲淡風輕ζ 提交于 2019-12-06 05:01:26
问题 I'm building the check framework example 'check_money', but it's not building on my machine. The error is: configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." I've tried installing it using: libtoolize --force aclocal autoheader automake --force-missing --add-missing autoconf ./configure It's still giving me the same error. So, I copied the same directory to another directory and ran: autoreconf --install ./configure And it's still giving me the same error.

JNI and Java: ant calling make or make calling ant?

六眼飞鱼酱① 提交于 2019-12-06 02:22:20
问题 I'm just about to make my first trip into the world of JNI (Java Native Interface) to provide file system change notifications from platform specific C/C++ code to Java. That is unless someone suggest some brilliant library for doing this that I've missed. Being new to JNI I've managed to find much documentation on the interface side of it and library generation side of it, but I've not found much on building the native library. I've got an existing build based on ant for the pre-existing