i am trying to build packagekit from source, i followed the steps to do so from the link (<a href="https://fedoraproject.org/wiki/BuildingPackageKitFromSource">https://fedoraproject.org/wiki/BuildingPackageKitFromSource</a>) but encountered an configure error. <br>
(/home/pranjal is my home directory)<br><br><br>./autogen.sh --enable-maintainer-mode --enable-gtk-doc --prefix= /home/pranjal/.root --enable-apt --enable-dummy --enable-docbook-docs --enable-tests --enable-developer --enable-local --with-default-backend=apt<br>
<br>this is the complete output :<br><br>libtoolize: putting auxiliary files in `.'.<br>libtoolize: copying file `./config.guess'<br>libtoolize: copying file `./config.sub'<br>libtoolize: copying file `./install-sh'<br>
libtoolize: copying file `./ltmain.sh'<br>libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.<br>libtoolize: copying file `m4/libtool.m4'<br>libtoolize: You should add the contents of `m4/libtool.m4' to `aclocal.m4'.<br>
libtoolize: copying file `m4/ltoptions.m4'<br>libtoolize: You should add the contents of `m4/ltoptions.m4' to `aclocal.m4'.<br>libtoolize: copying file `m4/ltsugar.m4'<br>libtoolize: You should add the contents of `m4/ltsugar.m4' to `aclocal.m4'.<br>
libtoolize: copying file `m4/ltversion.m4'<br>libtoolize: copying file `m4/lt~obsolete.m4'<br>libtoolize: You should add the contents of `m4/lt~obsolete.m4' to `aclocal.m4'.<br>libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.<br>
intltoolize: 'po/<a href="http://Makefile.in.in">Makefile.in.in</a>' exists: use '--force' to overwrite<br>Running ./configure --enable-maintainer-mode --enable-gtk-doc --enable-maintainer-mode --enable-gtk-doc --prefix= /home/pranjal/.root --enable-apt --enable-dummy --enable-docbook-docs --enable-tests --enable-developer --enable-local --with-default-backend=apt ...<br>
configure: WARNING: you should use --build, --host, --target<br>configure: WARNING: invalid host type: /home/pranjal/.root<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking whether build environment is sane... yes<br>
checking for a thread-safe mkdir -p... /bin/mkdir -p<br>checking for gawk... no<br>checking for mawk... mawk<br>checking whether make sets $(MAKE)... yes<br>checking for /home/pranjal/.root-gcc... no<br>checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking for style of include used by make... GNU<br>checking dependency style of gcc... gcc3<br>
checking for /home/pranjal/.root-g++... no<br>checking for /home/pranjal/.root-c++... no<br>checking for /home/pranjal/.root-gpp... no<br>checking for /home/pranjal/.root-aCC... no<br>checking for /home/pranjal/.root-CC... no<br>
checking for /home/pranjal/.root-cxx... no<br>checking for /home/pranjal/.root-cc++... no<br>checking for /home/pranjal/.root-cl.exe... no<br>checking for /home/pranjal/.root-FCC... no<br>checking for /home/pranjal/.root-KCC... no<br>
checking for /home/pranjal/.root-RCC... no<br>checking for /home/pranjal/.root-xlC_r... no<br>checking for /home/pranjal/.root-xlC... no<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>checking dependency style of g++... gcc3<br>checking for a BSD-compatible install... /usr/bin/install -c<br>checking for library containing strerror... none required<br>checking how to run the C preprocessor... gcc -E<br>
checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for ANSI C header files... yes<br>checking build system type... Invalid configuration `/home/pranjal/.root': machine `/home/pranjal/.root' not recognized<br>
configure: error: /bin/bash ./config.sub /home/pranjal/.root failed<br><br><br>kindly help.<br>-Regards<br>-Pranjal Pandit<br>