Skip to main content

Thread: Can't compile from source anymore


i'm having troubles compiling source. use not happen, running "make" command doesn't work. compiling different things didn't work. tried compiling same packages on different computer , worked, know problem isn't source.

code:
alex@kubuntu:/tmp/compile$ wget 'http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz'  alex@kubuntu:/tmp/compile$ tar -xzf bash-4.2.tar.gz  alex@kubuntu:/tmp/compile$ cd bash-4.2  alex@kubuntu:/tmp/compile/bash-4.2$ ./configure &>/dev/null  alex@kubuntu:/tmp/compile/bash-4.2$ make  rm -f mksyntax  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g  -o mksyntax ./mksyntax.c   rm -f syntax.c  ./mksyntax -o syntax.c  /bin/sh ./support/mkversion.sh -b -s . -s release -d 4.2 -o newversion.h \                  && mv newversion.h version.h  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g  -dbuildtool -c -o buildversion.o ./version.c  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g  -o bashversion ./support/bashversion.c buildversion.o               ***********************************************************            *                                                         *            * gnu bash, version 4.2.0(1)-release (x86_64-unknown-linux-gnu)            *                                                         *            ***********************************************************    rm -f shell.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c shell.c  rm -f eval.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c eval.c  make[1]: entering directory `/tmp/compile/bash-4.2/builtins'  rm -f mkbuiltins.o  gcc -c  -dhave_config_h -dshell  -i. -i..  -i.. -i../include -i../lib -i.    -g  mkbuiltins.c  gcc -rdynamic -g -o2 -rdynamic -g  -o mkbuiltins mkbuiltins.o -ldl   ./mkbuiltins -externfile builtext.h -structfile builtins.c \              -noproduction -d .   ./alias.def ./bind.def ./break.def ./builtin.def ./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def ./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def ./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def ./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def ./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def ./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def ./complete.def ./mapfile.def  make[1]: leaving directory `/tmp/compile/bash-4.2/builtins'  rm -f y.tab.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c y.tab.c  rm -f general.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c general.c  rm -f make_cmd.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c make_cmd.c  rm -f print_cmd.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c print_cmd.c  print_cmd.c: in function ‘make_command_string_internal’:  print_cmd.c:167:5: warning: zero-length gnu_printf format string [-wformat-zero-length]  print_cmd.c: in function ‘indent’:  print_cmd.c:1394:3: error: format not string literal , no format arguments [-werror=format-security]  cc1: warnings being treated errors  make: *** [print_cmd.o] error 1  alex@kubuntu:/tmp/compile/bash-4.2$ make              ***********************************************************            *                                                         *            * gnu bash, version 4.2.0(1)-release (x86_64-unknown-linux-gnu)            *                                                         *            ***********************************************************    rm -f print_cmd.o  gcc  -dprogram='"bash"' -dconf_hosttype='"x86_64"' -dconf_ostype='"linux-gnu"' -dconf_machtype='"x86_64-unknown-linux-gnu"' -dconf_vendor='"unknown"' -dlocaledir='"/usr/local/share/locale"' -dpackage='"bash"' -dshell -dhave_config_h   -i.  -i. -i./include -i./lib   -g -o2 -c print_cmd.c  print_cmd.c: in function ‘make_command_string_internal’:  print_cmd.c:167:5: warning: zero-length gnu_printf format string [-wformat-zero-length]  print_cmd.c: in function ‘indent’:  print_cmd.c:1394:3: error: format not string literal , no format arguments [-werror=format-security]  cc1: warnings being treated errors  make: *** [print_cmd.o] error 1
also, running "make" give out different errors each time. http://pastebin.com/xpd3wf72

how fix this? tried reinstalling make, build-essential, , gcc, didn't work.

you might want have in output when run ./configure. you'll find problems there...


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs [SOLVED] Can't compile from source anymore


Ubuntu

Comments

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?