From: Erik K. <eka...@sn...> - 2005-12-10 02:25:28
|
Hello All, I was wondering if someone who has seen this before, or is a little more experienced in troubleshooting compilation issues when adding optional software via buildroot might be able to send me a hint or point me in the right direction. I am trying to compile vtun in the same way in which I have already successfully compiled tcpdump and openssh. By simply adding it as a TARGET+=vtun to the top level Makefile in my /gumstix-buildroot/ and running a make. I'm then just copying my new binaries out of /build_arm_nofpu/root/..., etc. And all has seemed to work well so far. Vtun is resisting however. This is what I am getting consistently: last 13-14 lines right before a bomb on trying to find LZO headers. checking for library containing socket... none required checking for library containing inet_ntoa... none required checking for library containing gethostbyname... none required checking for library containing nanosleep... none required checking for library containing setproctitle... no checking for ZLIB Library and Header files ... checking for deflate in -lz... yes checking for LZO Library and Header files ... checking for lzo1x.h... no configure: error: LZO headers not found. make: *** [/home/**/gumstix-buildroot/build_arm_nofpu/vtun-2.6/.configured] Error 1 [**@** gumstix-buildroot]$ I have tried this with Revision 675, 676, and 677 (the most recent iteration as of right now) and I get the same exact error. I think I have a properly compiled lzo though? If I look in /gumstix-buildroot/build_arm_nofpu/lzo-1.08/ and in /include in this directory respectively, I see lzo1x.h among other required header files. Two things I've tried so far. Editing the vtun Makefile to point to an lzoinclude directory that I renamed and copied out of /build_arm_nofpu/lzo-1.08 and placed in the staging directory. New config reads -> --with-lzo-headers=$(STAGING_DIR)/lzoinclude \ At which point I bomb like this -- checking for ZLIB Library and Header files ... checking for deflate in -lz... yes checking for LZO Library and Header files ... checking for lzo1x.h... (/home/**/gumstix-buildroot/build_arm_nofpu/staging_dir/lzoinclude) yes checking for lzo1x_decompress in -llzo... no configure: error: LZO library not found. make: *** [/home/**/gumstix-buildroot/build_arm_nofpu/vtun-2.6/.configured] Error 1 [**@** gumstix-buildroot]$ Or I have also tried removing the requirements of lzo and openssl altogether from the vtun makefile since I don't need either data compression or encryption for vtun. But this fails as well with the same LZO headers not found error. I think it munges vtun way too far to try to compile it without those? No idea.. So those are my stabs in the dark so far. Can any one provide any tips, tricks, or guidance on a successful vtun install? I'm probably overlooking something very obvious. Thanks! Erik Kamerling |