Is there any target on Automake that is executed before the automake Makefile rules?
Date : March 29 2020, 07:55 AM
help you fix your problem There isn't a way to do this. In general in a Makefile, if you want to do this, you should instead consider adding proper dependencies where needed.
|
glib2 build can't find automake 1.13 when automake 1.14 is installed
Date : March 29 2020, 07:55 AM
hope this fix your issue I'm attempting to build glib-2.36.4 on CentOS5. I realize it would be wiser to upgrade to 6 but this isn't possible because of a customer requirement. , From the top level directory run the command automake
|
Using automake/libtool to link shared library with static non-automake-generated lib
Tag : windows , By : Sandeep Arneja
Date : March 29 2020, 07:55 AM
this will help Don't use libtool to link shared libraries on Windows if your library depends on other libraries. If you do, expect at the very least to create .la wrappers for any libraries not produced by autotools. Instead, you can create and maintain custom link rules for Windows using cl.exe or link.exe directly. You can conditionally specify such rules in your Makefile.am and they will override the default libtool rule. This is far less trouble than fighting with libtool.
|
error: version mismatch. This is Automake 1.15.1 but the definition ... comes from Automake 1.14.1
Date : March 29 2020, 07:55 AM
may help you . Here is how I fixed it. it worked for both libidn and libidn2. First, download and unpack libidn{2}. Then cd into the appropriate directory. # Fix AM_INIT_AUTOMAKE
sed -e 's/^AM_INIT_AUTOMAKE.*/AM_INIT_AUTOMAKE/g' configure.ac > configure.ac.fixed
mv configure.ac.fixed configure.ac
# Remove useless directive
sed -e '/AM_SILENT_RULES/d' configure.ac > configure.ac.fixed
mv configure.ac.fixed configure.ac
# Get rid of all docs Makefiles
sed -e '/^ doc\//d' configure.ac > configure.ac.fixed
mv configure.ac.fixed configure.ac
# Set time in the past to avoid re-configuration
touch -t 197001010000 configure.ac
for mfile in $(find "$PWD" -name Makefile);
do
# Get rid of all docs directories
sed -e 's| doc | |g' "$mfile" > "$mfile.fixed"
mv "$mfile.fixed" "$mfile"
done
|
(automake, libtool) build fails in automake when using same source file name in different directory
Date : March 29 2020, 07:55 AM
|