Re: Request for new release

Stipe Tolj <[email protected]> Mon, 25 Jun 2018 11:14:40 +0200
Newsgroups gmane.comp.mobile.kannel.devel
Organization Kannel Software Foundation (KSF)
Message-ID <[email protected]>
Hi all,

ok, the pure build issue could be solved, thanks to Alex's research 
about this:

https://lists.gnu.org/archive/html/bug-automake/2009-06/msg00001.html

ChangeLog:

https://redmine.kannel.org/projects/kannel/repository/revisions/5226/diff

but, when we use a parallel build, i.e. via 'make -j6' we run into a 
build error:

cc -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 -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c
make -C utils
make[1]: Entering directory `/home/tolj/src/kannel/devel/gateway/utils'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..    -I. -I../gw -I../gwlib -I.. 
-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE 
-D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -MT 
seewbmp.o -MD -MP -MF .deps/seewbmp.Tpo -c -o seewbmp.o seewbmp.c
make[1]: *** No rule to make target `../libgwlib.a', needed by 
`seewbmp'.  Stop.
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/seewbmp.Tpo .deps/seewbmp.Po
make[1]: Leaving directory `/home/tolj/src/kannel/devel/gateway/utils'
make: *** [utils] Error 2
make: *** Waiting for unfinished jobs....

This is due to the non-complete migration to the auto-tools suite. 
Continuing here with a non-parallel 'make' does finalize the build.


Am 19.06.2018 15:25, schrieb Stipe Tolj:
> 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
-------------------------------------------------------------------