autotools - error when compiling -- using autogen generated makefile -


i trying compile libwebsocket package, procedure used :--

./autogen  ./configure  make 

i getting libtool error @ make time :---

make make  all-recursive make[1]: entering directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17' making in lib make[2]: entering directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17/lib' /bin/bash ../libtool  --tag=cc   --mode=compile gcc -dhave_config_h -i. -i..    -wall -std=gnu99 -pedantic  -rdynamic -fpic -werror -c -dinstall_datadir=\"/usr/share\" -dlws_openssl_client_certs=\"/etc/pki/tls/certs/\" -g -o2 -mt libwebsockets_la-libwebsockets.lo -md -mp -mf .deps/libwebsockets_la-libwebsockets.tpo -c -o libwebsockets_la-libwebsockets.lo `test -f 'libwebsockets.c' || echo './'`libwebsockets.c ../libtool: line 862: x--tag=cc: command not found ../libtool: line 895: libtool: ignoring unknown tag : command not found ../libtool: line 862: x--mode=compile: command not found ../libtool: line 1029: *** warning: inferring mode of operation deprecated.: command not found ../libtool: line 1030: *** future versions of libtool require --mode=mode specified.: command not found ../libtool: line 1173: xgcc: command not found ../libtool: line 1173: x-dhave_config_h: command not found ../libtool: line 1173: x-i.: command not found ../libtool: line 1173: x-i..: command not found ../libtool: line 1173: x-wall: command not found ../libtool: line 1173: x-std=gnu99: command not found ../libtool: line 1173: x-pedantic: command not found ../libtool: line 1173: x-rdynamic: command not found ../libtool: line 1173: x-fpic: command not found ../libtool: line 1173: x-werror: command not found ../libtool: line 1173: x-c: command not found ../libtool: line 1173: x-dinstall_datadir="/usr/share": no such file or directory ../libtool: line 1173: x-dlws_openssl_client_certs="/etc/pki/tls/certs/": no such file or directory ../libtool: line 1173: x-g: command not found ../libtool: line 1173: x-o2: command not found ../libtool: line 1173: x-mt: command not found ../libtool: line 1173: xlibwebsockets_la-libwebsockets.lo: command not found ../libtool: line 1173: x-md: command not found ../libtool: line 1173: x-mp: command not found ../libtool: line 1173: x-mf: command not found ../libtool: line 1173: x.deps/libwebsockets_la-libwebsockets.tpo: no such file or directory ../libtool: line 1173: x-c: command not found ../libtool: line 1226: xlibwebsockets_la-libwebsockets.lo: command not found ../libtool: line 1231: libtool: compile: cannot determine name of library object `': command not found make[2]: *** [libwebsockets_la-libwebsockets.lo] error 1 make[2]: leaving directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17/lib' make[1]: *** [all-recursive] error 1 make[1]: leaving directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17' make: *** [all] error 2 

i searched on google & found these 2 link both use state run -- autoreconf -fi command

http://forums.gentoo.org/viewtopic-t-870737-start-0.html
https://openlinuxforums.org/index.php?topic=3119.0

what autoreconf -fi command ? regenerate configure.ac file ?
sequence correct recompile package ?

autoreconf -fi ./autogen  ./configure  make 

if want build package , build procedure fails, i'd report user's mailing list @ least. maybe has figured out works you.

autoreconf -fi regenerate configure script, rewrite makefile.in , other stuff. not regenerate configure.ac. new sequence may or may not work.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -