Am 19.06.2018 15:18, schrieb Stipe Tolj:
Hi all,

ok, the next piece of "cake" here:

When I bootstrap the code either on Debian 8 (amd64) or on CentOS 7
(amd64), I can './configure && make' on the same that i bootstrapped,
but no on the other.

I.e. here is what I get on Debian 8, when using a Centos 7 bootstrapped
codebase:

tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$ make -C utils
make: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make am--refresh
make[1]: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:331: .depend: No such file or directory
for dir in gw gw/smsc gwlib test wmlscript checks wap radius; do \
for file in $dir/*.c; do \
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
-I/usr/include/openssl -MM $file -MT $dir/`basename $file .c`.o -MT
$dir/`basename $file .c`.i; done; done > .depend
make[1]: *** No rule to make target 'am--refresh'. Stop.
make[1]: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:436: recipe for target '../aclocal.m4' failed
make: *** [../aclocal.m4] Error 2
make: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$

I get some more info when running in debug:

...
Considering target file '../aclocal.m4'.
Pruning file '../acinclude.m4'.
Pruning file '../configure.in'.
Finished prerequisites of target file '../aclocal.m4'.
Prerequisite '../acinclude.m4' is newer than target '../aclocal.m4'.
Prerequisite '../configure.in' is newer than target '../aclocal.m4'.
Must remake target '../aclocal.m4'.
make: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make am--refresh

Now, how do you bootstrap the code so that the resulting environment CAN
be './configure && make'ed on any machine?

we obviously don't want a normal user to make all the GNU auto-tools installed to be able to compile Kannel itself, right?

--
Best Regards,
Stipe Tolj

-------------------------------------------------------------------
Düsseldorf, NRW, Germany

Kannel Foundation                 tolj.org system architecture
http://www.kannel.org/            http://www.tolj.org/

stolj at kannel.org               st at tolj.org
-------------------------------------------------------------------

Reply via email to