From: Daniel P. <da...@po...> - 2014-03-06 20:28:13
|
On 03/03/14 23:33, Nick Satterly wrote: > Hi Daniel, > > When I ran your commands the configure step failed with an error about > "php-config" so I installed "php5-dev" and it worked. For the PHP stuff to compile: - it also needs libphp5-embed (maybe php5-dev should depend on that?) or there is a link error about missing libphp5.so - I had to remove #include "file.h" from gmond/modules/php/mod_php.c - file.h no longer exists in the project I've enabled --with-php in the travis builds now. We should really aim to have all options building cleanly in travis before any release. Here is the current travis configure line: ./configure --with-gmetad --with-php --with-perl=/usr --enable-status --with-memcached and here is what I tried: ./configure --with-gmetad --enable-perl --enable-php --enable-status --with-python --with-riemann so we also need to ask travis to try --with-python --with-riemann That doesn't fix the other problems I had with the tarball though. > > --Nick. > > > On Sat, Mar 1, 2014 at 12:27 AM, Daniel Pocock <da...@po...> wrote: > >> >> >> >> >> I've made a 3.7.0 tag and a release/3.7 branch for creating 3.7.1, 3.7.2 >> >> bootstrap was done on Debian wheezy (amd64) with autoconf 2.69, I >> recommend using the same platform and autoconf version for future 3.7.x >> series releases, it has caused confusion for people when autoconf >> versions varied in the past (sometimes people can work around that by >> re-bootstrapping after they unpack the tarball) >> >> libck0 (concurrency kit) is a new dependency, I have uploaded that to >> Debian, it is in the FTP "NEW" queue waiting for final approval: >> https://ftp-master.debian.org/new.html >> and anybody who wants to can build it from: >> Vcs-Browser: http://git.debian.org/?p=collab-maint/ck.git >> Vcs-Git: git://git.debian.org/git/collab-maint/ck.git >> >> git clone git://git.debian.org/git/collab-maint/ck.git >> cd ck >> dpkg-buildpackage -rfakeroot -i.git >> >> ganglia packages will have to wait and will not propagate to Ubuntu >> until libck0 is accepted in the archives. Can anybody assist with this >> for Fedora? >> >> To release, I bootstrap like so: >> >> - edit the version number into configure.ac >> >> - tag >> >> - branch (as it is .0) >> >> - run ./bootstrap.sh >> >> - install new dependencies: >> >> apt-get install libprotobuf-c0-dev protobuf-c-compiler >> and things I build locally: >> dpkg -i libck0.deb libck-dev.deb >> >> - configure: >> >> ./configure --with-gmetad --enable-perl \ >> --enable-php --enable-status --with-python \ >> --with-riemann >> >> - and finally: >> >> make dist >> >> This gives me the tarballs >> >> >> The ganglia-3.7.0.tar.gz checksum (sha224) is >> dec117ebd2966b1eeb6c3b775d16c606e82ce2c9eb60f36a84805293 >> >> and it is uploaded here: >> >> https://sourceforge.net/projects/ganglia/files/pre-release/ >> >> I tried a build, it looks like a few things are failing - are some of >> these errors because I am enabling unsupported/deprecated features or is >> the tarball broken? We can make a 3.7.1 next week if necessary >> >> >> $ ./configure --with-gmetad --enable-perl \ >> --enable-php --enable-status --with-python \ >> --with-riemann && make -j13 -i && make >> >> >> >> >> make[4]: Entering directory >> `/home/daniel/tmp/builds/ganglia-3.7.0/gmond/modules/php' >> /bin/bash ../../../libtool --tag=CC --mode=compile gcc -std=gnu99 >> -DHAVE_CONFIG_H -I. -I../../.. -D_REENTRANT -D_GNU_SOURCE >> -I/usr/include/apr-1.0 -I/usr/include/php5 -I/usr/include/php5/main >> -I/usr/include/php5/TSRM -I/usr/include/php5/Zend >> -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib >> -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM >> -I/usr/include/php5/Zend -I/usr/include/php5/ext >> -I/usr/include/php5/ext/date/lib -D_LARGEFILE64_SOURCE >> -I../../../include -I../../../lib -g -O2 -DWITH_RIEMANN >> -fno-strict-aliasing -Wall -D_REENTRANT -MT mod_php.lo -MD -MP -MF >> .deps/mod_php.Tpo -c -o mod_php.lo mod_php.c >> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../.. >> -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -I/usr/include/php5 >> -I/usr/include/php5/main -I/usr/include/php5/TSRM >> -I/usr/include/php5/Zend -I/usr/include/php5/ext >> -I/usr/include/php5/ext/date/lib -I/usr/include/php5 >> -I/usr/include/php5/main -I/usr/include/php5/TSRM >> -I/usr/include/php5/Zend -I/usr/include/php5/ext >> -I/usr/include/php5/ext/date/lib -D_LARGEFILE64_SOURCE >> -I../../../include -I../../../lib -g -O2 -DWITH_RIEMANN >> -fno-strict-aliasing -Wall -D_REENTRANT -MT mod_php.lo -MD -MP -MF >> .deps/mod_php.Tpo -c mod_php.c -fPIC -DPIC -o .libs/mod_php.o >> mod_php.c:46:18: fatal error: file.h: No such file or directory >> compilation terminated. >> make[4]: [mod_php.lo] Error 1 (ignored) >> mv -f .deps/mod_php.Tpo .deps/mod_php.Plo >> mv: cannot stat `.deps/mod_php.Tpo': No such file or directory >> make[4]: [mod_php.lo] Error 1 (ignored) >> /bin/bash ../../../libtool --tag=CC --mode=link gcc -std=gnu99 >> -D_LARGEFILE64_SOURCE -I../../../include -I../../../lib -g -O2 >> -DWITH_RIEMANN -fno-strict-aliasing -Wall -D_REENTRANT -module >> -avoid-version -lphp5 -L/usr/lib -lpthread -lapr-1 -o modphp.la >> -rpath /usr/local/lib64/ganglia mod_php.lo -ldl -lnsl -lnsl -lz -lpcre >> -lexpat -lconfuse -lprotobuf-c -lpthread >> libtool: link: `mod_php.lo' is not a valid libtool object >> make[4]: [modphp.la] Error 1 (ignored) >> >> >> >> >> >> >> >> >> make[3]: Entering directory `/home/daniel/tmp/builds/ganglia-3.7.0/gmond' >> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE >> -I/usr/include/apr-1.0 -I/usr/include/php5 -I/usr/include/php5/main >> -I/usr/include/php5/TSRM -I/usr/include/php5/Zend >> -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I../lib >> -I../include/ -I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 >> -DWITH_RIEMANN -fno-strict-aliasing -Wall -D_REENTRANT -MT gmond.o -MD >> -MP -MF .deps/gmond.Tpo -c -o gmond.o gmond.c >> gmond.c: In function 'socket_send': >> gmond.c:267:17: error: 'struct gengetopt_args_info' has no member named >> 'gzip_output_flag' >> gmond.c: In function 'process_tcp_accept_channel': >> gmond.c:2050:7: warning: passing argument 4 of 'apr_socket_data_set' >> from incompatible pointer type [enabled by default] >> In file included from /usr/include/apr-1.0/apr_poll.h:28:0, >> from gmond.c:32: >> /usr/include/apr-1.0/apr_network_io.h:467:27: note: expected >> 'apr_status_t (*)(void *)' but argument is of type 'void (*)(struct >> z_stream *)' >> make[3]: [gmond.o] Error 1 (ignored) >> mv -f .deps/gmond.Tpo .deps/gmond.Po >> mv: cannot stat `.deps/gmond.Tpo': No such file or directory >> make[3]: [gmond.o] Error 1 (ignored) >> /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -I../lib >> -I../include/ -I../libmetrics -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 >> -DWITH_RIEMANN -fno-strict-aliasing -Wall -D_REENTRANT -export-dynamic >> -L/usr/lib -lpthread -lapr-1 -o gmond gmond.o cmdline.o g25_config.o >> core_metrics.o sflow.o ../libmetrics/libmetrics.la ../lib/libganglia.la >> ../lib/libgetopthelper.a -ldl -lnsl -lnsl -lz -lpcre -lexpat -lconfuse >> -lprotobuf-c -lpthread >> libtool: link: gcc -std=gnu99 -I../lib -I../include/ -I../libmetrics >> -D_LARGEFILE64_SOURCE -DSFLOW -g -O2 -DWITH_RIEMANN -fno-strict-aliasing >> -Wall -D_REENTRANT -o .libs/gmond gmond.o cmdline.o g25_config.o >> core_metrics.o sflow.o -Wl,--export-dynamic -L/usr/lib >> /usr/lib/libapr-1.so ../libmetrics/.libs/libmetrics.a -lresolv >> ../lib/.libs/libganglia.so ../lib/libgetopthelper.a -ldl -lnsl -lz >> -lpcre /usr/lib/x86_64-linux-gnu/libexpat.so -lconfuse -lprotobuf-c >> -lpthread -pthread -Wl,-rpath -Wl,/usr/local/lib64 >> gcc-4.7.real: error: gmond.o: No such file or directory >> make[3]: [gmond] Error 1 (ignored) >> make[3]: Leaving directory `/home/daniel/tmp/builds/ganglia-3.7.0/gmond' >> >> >> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Ganglia-developers mailing list >> Gan...@li... >> https://lists.sourceforge.net/lists/listinfo/ganglia-developers >> > > > |