Re: Compilation issue-Newbie to Networkmanager.



On Sat, 2010-06-26 at 11:42 -0400, Sathia Narayanan wrote:
> wirelesstools - I thot it was optional. Thanks after fixing some more
> dependencies it compiled. 

Really just wireless.h is required; that is found in either
wireless-tools development headers, or in the kernel development
headers, so we need one of those two.  We should probably just use the
kernel development headers, but those are often a larger download.

Dan


> Regards,
> Sathia
> 
> On Fri, Jun 25, 2010 at 4:10 AM, Jirka Klimes <jklimes redhat com>
> wrote:
>         
>         On Friday 25 of June 2010 06:27:40 Sathia Narayanan wrote:
>         > Can someone help me in compiling network manager code in
>         Ubuntu. I tried
>         > compiling and it gives Makefile.in generated from
>         Makefile.am. When I try
>         > to compile it says nothing to make. I copied Makefile.in as
>         Makefile and
>         > tried to see that gives missing separator error.
>         My ./configure shows like
>         > this. my make file is in /usr/bin/Make.
>         >
>         > The steps in the website for networkmanager is not helping
>         to compile the
>         > code.
>         >
>         >
>         > checking for a BSD-compatible install... /usr/bin/install -c
>         > checking whether build environment is sane... yes
>         > checking for a thread-safe mkdir -p... /bin/mkdir -p
>         > checking for gawk... gawk
>         > checking whether make sets $(MAKE)... yes
>         > checking how to create a ustar tar archive... gnutar
>         > checking whether to enable maintainer-specific portions of
>         Makefiles... no
>         > checking for style of include used by make... GNU
>         > checking for gcc... gcc
>         > checking whether the C compiler works... yes
>         > checking for C compiler default output file name... a.out
>         > checking for suffix of executables...
>         > checking whether we are cross compiling... no
>         > checking for suffix of object files... o
>         > checking whether we are using the GNU C compiler... yes
>         > checking whether gcc accepts -g... yes
>         > checking for gcc option to accept ISO C89... none needed
>         > checking dependency style of gcc... gcc3
>         > checking how to run the C preprocessor... gcc -E
>         > checking for grep that handles long lines and
>         -e... /bin/grep
>         > checking for egrep... /bin/grep -E
>         > checking for ANSI C header files... yes
>         > checking for sys/types.h... yes
>         > checking for sys/stat.h... yes
>         > checking for stdlib.h... yes
>         > checking for string.h... yes
>         > checking for memory.h... yes
>         > checking for strings.h... yes
>         > checking for inttypes.h... yes
>         > checking for stdint.h... yes
>         > checking for unistd.h... yes
>         > checking minix/config.h usability... no
>         > checking minix/config.h presence... no
>         > checking for minix/config.h... no
>         > checking whether it is safe to define __EXTENSIONS__... yes
>         > checking for gcc... (cached) gcc
>         > checking whether we are using the GNU C compiler... (cached)
>         yes
>         > checking whether gcc accepts -g... (cached) yes
>         > checking for gcc option to accept ISO C89... (cached) none
>         needed
>         > checking dependency style of gcc... (cached) gcc3
>         > checking whether gcc and cc understand -c and -o together...
>         yes
>         > checking build system type... i686-pc-linux-gnu
>         > checking host system type... i686-pc-linux-gnu
>         > checking for a sed that does not truncate output... /bin/sed
>         > checking for fgrep... /bin/grep -F
>         > checking for ld used by gcc... /usr/bin/ld
>         > checking if the linker (/usr/bin/ld) is GNU ld... yes
>         > checking for BSD- or MS-compatible name lister
>         (nm)... /usr/bin/nm -B
>         > checking the name lister (/usr/bin/nm -B) interface... BSD
>         nm
>         > checking whether ln -s works... yes
>         > checking the maximum length of command line arguments...
>         1572864
>         > checking whether the shell understands some XSI
>         constructs... yes
>         > checking whether the shell understands "+="... yes
>         > checking for /usr/bin/ld option to reload object files... -r
>         > checking for objdump... objdump
>         > checking how to recognize dependent libraries... pass_all
>         > checking for ar... ar
>         > checking for strip... strip
>         > checking for ranlib... ranlib
>         > checking command to parse /usr/bin/nm -B output from gcc
>         object... ok
>         > checking for dlfcn.h... yes
>         > checking for objdir... .libs
>         > checking if gcc supports -fno-rtti -fno-exceptions... no
>         > checking for gcc option to produce PIC... -fPIC -DPIC
>         > checking if gcc PIC flag -fPIC -DPIC works... yes
>         > checking if gcc static flag -static works... yes
>         > checking if gcc supports -c -o file.o... yes
>         > checking if gcc supports -c -o file.o... (cached) yes
>         > checking whether the gcc linker (/usr/bin/ld) supports
>         shared libraries...
>         > yes
>         > checking whether -lc should be explicitly linked in... no
>         > checking dynamic linker characteristics... GNU/Linux ld.so
>         > checking how to hardcode library paths into programs...
>         immediate
>         > checking whether stripping libraries is possible... yes
>         > checking if libtool supports shared libraries... yes
>         > checking whether to build shared libraries... yes
>         > checking whether to build static libraries... yes
>         > checking for ANSI C header files... (cached) yes
>         > checking fcntl.h usability... yes
>         > checking fcntl.h presence... yes
>         > checking for fcntl.h... yes
>         > checking paths.h usability... yes
>         > checking paths.h presence... yes
>         > checking for paths.h... yes
>         > checking sys/ioctl.h usability... yes
>         > checking sys/ioctl.h presence... yes
>         > checking for sys/ioctl.h... yes
>         > checking sys/time.h usability... yes
>         > checking sys/time.h presence... yes
>         > checking for sys/time.h... yes
>         > checking syslog.h usability... yes
>         > checking syslog.h presence... yes
>         > checking for syslog.h... yes
>         > checking for unistd.h... (cached) yes
>         > checking for mode_t... yes
>         > checking for pid_t... yes
>         > checking whether time.h and sys/time.h may both be
>         included... yes
>         > checking whether gcc needs -traditional... no
>         > checking for working memcmp... yes
>         > checking for select... yes
>         > checking for socket... yes
>         > checking for uname... yes
>         > checking whether NLS is requested... yes
>         > checking for intltool >= 0.35.0... 0.41.0 found
>         > checking for intltool-update... /usr/bin/intltool-update
>         > checking for intltool-merge... /usr/bin/intltool-merge
>         > checking for intltool-extract... /usr/bin/intltool-extract
>         > checking for xgettext... /usr/bin/xgettext
>         > checking for msgmerge... /usr/bin/msgmerge
>         > checking for msgfmt... /usr/bin/msgfmt
>         > checking for gmsgfmt... /usr/bin/msgfmt
>         > checking for perl... /usr/bin/perl
>         > checking for perl >= 5.8.1... 5.10.1
>         > checking for XML::Parser... ok
>         > checking locale.h usability... yes
>         > checking locale.h presence... yes
>         > checking for locale.h... yes
>         > checking for LC_MESSAGES... yes
>         > checking libintl.h usability... yes
>         > checking libintl.h presence... yes
>         > checking for libintl.h... yes
>         > checking for ngettext in libc... yes
>         > checking for dgettext in libc... yes
>         > checking for bind_textdomain_codeset... yes
>         > checking for msgfmt... (cached) /usr/bin/msgfmt
>         > checking for dcgettext... yes
>         > checking if msgfmt accepts -c... yes
>         > checking for gmsgfmt... (cached) /usr/bin/msgfmt
>         > checking for xgettext... (cached) /usr/bin/xgettext
>         > checking whether byte ordering is bigendian... no
>         > checking for /etc/redhat-release... no
>         > checking for /etc/SuSE-release... no
>         > checking for /etc/fedora-release... no
>         > checking for /etc/gentoo-release... no
>         > checking for /etc/debian_version... yes
>         > checking for /etc/arch-release... no
>         > checking for /etc/slackware-version... no
>         > checking for /etc/frugalware-release... no
>         > checking for /etc/mandriva-release... no
>         > checking for /etc/pardus-release... no
>         > checking Linux Wireless Extensions >= 18... no
>         > configure: error: wireless-tools library and development
>         headers >= 28pre9
>         > not installed or not functional
>         
>         
>         The error on the  last line says you all. You are missing
>         wireless tools
>         development libraries. Install it via:
>         sudo apt-get install libiw-dev
>         
>         In general, NetworkManager requires several dependencies to
>         build (libraries
>         it depends on). When configuring it checks their presence and
>         reports the
>         result.
>         To get the list of dependency packages on Ubuntu you can run:
>         sudo apt-get build-dep network-manager
>         
>         Jirka
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]