Skip to main content

Thread: Trying to compile fluxconf


hi, i'm trying compile fluxconf source (here). it's graphical ui setting menus in fluxbox.

i've got libraries, when compile says:

code:
cc1: warnings being treated errors fluxconf.c: in function ‘sauver’: fluxconf.c:244: error: format not string literal , no format arguments fluxconf.c:187: error: ignoring return value of ‘write’, declared attribute warn_unused_result make[2]: *** [fluxconf-fluxconf.o] error 1 make[2]: leaving directory `/home/josh/fluxconf-0.9.9/src' make[1]: *** [all-recursive] error 1 make[1]: leaving directory `/home/josh/fluxconf-0.9.9/src' make: *** [all-recursive] error 1
that doesn't dependency issue , other people seem able compile/make fine no problems. how can compile?

thanks!

here's full output of ./configure , make
code:
# ./configure checking bsd-compatible install... /usr/bin/install -c checking whether build environment sane... yes checking gawk... no checking mawk... mawk checking whether make sets $(make)... yes checking gcc... gcc checking c compiler default output file name... a.out checking whether c compiler works... yes checking whether cross compiling... no checking suffix of executables...  checking suffix of object files... o checking whether using gnu c compiler... yes checking whether gcc accepts -g... yes checking gcc option accept ansi c... none needed checking style of include used make... gnu checking dependency style of gcc... gcc3 checking gcc option accept ansi c... none needed checking bsd-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking how run c preprocessor... gcc -e checking egrep... grep -e checking ansi c header files... yes checking sys/types.h... yes checking sys/stat.h... yes checking stdlib.h... yes checking string.h... yes checking memory.h... yes checking strings.h... yes checking inttypes.h... yes checking stdint.h... yes checking unistd.h... yes checking stdlib.h... (cached) yes checking string.h... (cached) yes checking strings.h... (cached) yes checking whether nls requested... yes checking msgfmt... /usr/bin/msgfmt checking gmsgfmt... /usr/bin/msgfmt checking xgettext... /usr/bin/xgettext checking msgmerge... /usr/bin/msgmerge checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking ranlib... ranlib checking strerror in -lcposix... no checking ansi c-conforming const... yes checking inline... inline checking off_t... yes checking size_t... yes checking working alloca.h... yes checking alloca... yes checking stdlib.h... (cached) yes checking unistd.h... (cached) yes checking getpagesize... yes checking working mmap... yes checking whether using gnu c library 2.1 or newer... yes checking whether integer division 0 raises sigfpe... yes checking inttypes.h... yes checking stdint.h... yes checking unsigned long long... yes checking inttypes.h... yes checking whether inttypes.h prixnn macros broken... no checking ld used gcc... /usr/bin/ld checking if linker (/usr/bin/ld) gnu ld... yes checking shared library run path origin... /bin/bash: ./config.rpath: no such file or directory done checking argz.h usability... yes checking argz.h presence... yes checking argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking stddef.h... yes checking stdlib.h... (cached) yes checking string.h... (cached) yes checking unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking sys/param.h... yes checking feof_unlocked... yes checking fgets_unlocked... yes checking getc_unlocked... yes checking getcwd... yes checking getegid... yes checking geteuid... yes checking getgid... yes checking getuid... yes checking mempcpy... yes checking munmap... yes checking putenv... yes checking setenv... yes checking setlocale... yes checking stpcpy... yes checking strcasecmp... yes checking strdup... yes checking strtoul... yes checking tsearch... yes checking __argz_count... yes checking __argz_stringify... yes checking __argz_next... yes checking __fsetlocking... yes checking iconv... yes checking iconv declaration...           extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking nl_langinfo , codeset... yes checking lc_messages... yes checking bison... no checking whether nls requested... yes checking whether included gettext requested... no checking gnu gettext in libc... yes checking whether use nls... yes checking gettext function comes from... libc checking stdlib.h... (cached) yes checking gnu libc compatible malloc... yes checking memset... yes checking strcasecmp... (cached) yes checking gtk-config... no checking gtk12-config... no checking pkg-config... /usr/bin/pkg-config using pkg-config... found gtk2 ! compiling using gtk2... configure: creating ./config.status config.status: creating makefile config.status: creating docs/makefile config.status: creating po/makefile config.status: creating src/makefile config.status: executing depfiles commands config.status: executing default-1 commands
code:
# make making in src make[1]: entering directory `/home/josh/fluxconf-0.9.9/src' make[2]: entering directory `/home/josh/fluxconf-0.9.9/src' if gcc -dpackage_name=\"fluxconf\" -dpackage_tarname=\"fluxconf\" -dpackage_version=\"0.9.7b\" -dpackage_string=\"fluxconf\ 0.9.7b\" -dpackage_bugreport=\"\" -dpackage=\"fluxconf\" -dversion=\"0.9.7b\" -dstdc_headers=1 -dhave_sys_types_h=1 -dhave_sys_stat_h=1 -dhave_stdlib_h=1 -dhave_string_h=1 -dhave_memory_h=1 -dhave_strings_h=1 -dhave_inttypes_h=1 -dhave_stdint_h=1 -dhave_unistd_h=1 -dhave_stdlib_h=1 -dhave_string_h=1 -dhave_strings_h=1 -dhave_alloca_h=1 -dhave_alloca=1 -dhave_stdlib_h=1 -dhave_unistd_h=1 -dhave_getpagesize=1 -dhave_mmap=1 -dintdiv0_raises_sigfpe=1 -dhave_inttypes_h_with_uintmax=1 -dhave_stdint_h_with_uintmax=1 -dhave_unsigned_long_long=1 -dhave_uintmax_t=1 -dhave_inttypes_h=1 -dhave_argz_h=1 -dhave_limits_h=1 -dhave_locale_h=1 -dhave_nl_types_h=1 -dhave_malloc_h=1 -dhave_stddef_h=1 -dhave_stdlib_h=1 -dhave_string_h=1 -dhave_unistd_h=1 -dhave_sys_param_h=1 -dhave_feof_unlocked=1 -dhave_fgets_unlocked=1 -dhave_getc_unlocked=1 -dhave_getcwd=1 -dhave_getegid=1 -dhave_geteuid=1 -dhave_getgid=1 -dhave_getuid=1 -dhave_mempcpy=1 -dhave_munmap=1 -dhave_putenv=1 -dhave_setenv=1 -dhave_setlocale=1 -dhave_stpcpy=1 -dhave_strcasecmp=1 -dhave_strdup=1 -dhave_strtoul=1 -dhave_tsearch=1 -dhave___argz_count=1 -dhave___argz_stringify=1 -dhave___argz_next=1 -dhave___fsetlocking=1 -dhave_iconv=1 -diconv_const= -dhave_langinfo_codeset=1 -dhave_lc_messages=1 -denable_nls=1 -dhave_gettext=1 -dhave_dcgettext=1 -dhave_stdlib_h=1 -dhave_malloc=1 -dhave_memset=1 -dhave_strcasecmp=1  -i. -i.    -iinclude/ -ixpm/ -ggdb -d_gnu_source -werror -g -o2 -dlocaledir=\"/usr/local/share/locale\" -ansi -wall -w -dgtk2 -pthread -d_reentrant -i/usr/include/gtk-2.0 -i/usr/lib/gtk-2.0/include -i/usr/include/atk-1.0 -i/usr/include/cairo -i/usr/include/pango-1.0 -i/usr/include/gio-unix-2.0/ -i/usr/include/glib-2.0 -i/usr/lib/glib-2.0/include -i/usr/include/pixman-1 -i/usr/include/freetype2 -i/usr/include/directfb -i/usr/include/libpng12   -mt fluxconf-fluxconf.o -md -mp -mf ".deps/fluxconf-fluxconf.tpo" \           -c -o fluxconf-fluxconf.o `test -f 'fluxconf.c' || echo './'`fluxconf.c; \         mv -f ".deps/fluxconf-fluxconf.tpo" ".deps/fluxconf-fluxconf.po"; \         else rm -f ".deps/fluxconf-fluxconf.tpo"; exit 1; \         fi cc1: warnings being treated errors fluxconf.c: in function ‘sauver’: fluxconf.c:244: error: format not string literal , no format arguments fluxconf.c:187: error: ignoring return value of ‘write’, declared attribute warn_unused_result make[2]: *** [fluxconf-fluxconf.o] error 1 make[2]: leaving directory `/home/josh/fluxconf-0.9.9/src' make[1]: *** [all-recursive] error 1 make[1]: leaving directory `/home/josh/fluxconf-0.9.9/src' make: *** [all-recursive] error 1
also, why treating warnings errors? don't see werror flag anywhere in makefile.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] Trying to compile fluxconf


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO