linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Problem with compiling on windows


From: Simon Morlat
Subject: Re: [Linphone-developers] Problem with compiling on windows
Date: Thu, 03 Mar 2011 15:38:31 +0100

Hi,

When installing msysgit, you must ask him to leave and commit line
ending as they are. 
The problem here is shell invocations that are broken due to \r added by
msysgit.

Simon

Le vendredi 18 février 2011 à 21:27 +0800, lv yiwen a écrit :
> 
> 
> Greeting,
> Who has compiled the last version of Linphone   on Windows 7
> successfully?  could you share your experience.
> 
>  
> 
> Below is my step by step compiling linphone on windows. 
> 
> 1.     Set up compiling enviorment by README.mingw
> 
> 2.     Get source from git by “git clone
> git://git.savannah.nongnu.org/linphone.git –recursive”
> 
> 3.     Compile code by “./autogen.sh && ./configure
> --prefix=/opt/linphone --enable-shared --disable-static ”
> 
> After running ./autogen.sh, I can’t find configure script.
> 
> 4.     Below is autogen.sh log, 
> 
>  
> 
> $ ./autogen.sh
> 
> Generating build scripts in linphone...
> 
> + libtoolize --copy --force
> 
> libtoolize: putting auxiliary files in `.'.
> 
> libtoolize: copying file `./ltmain.sh'
> 
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> 
> libtoolize: copying file `m4/libtool.m4'
> 
> libtoolize: copying file `m4/ltoptions.m4'
> 
> libtoolize: copying file `m4/ltsugar.m4'
> 
> libtoolize: copying file `m4/ltversion.m4'
> 
> libtoolize: copying file `m4/lt~obsolete.m4'
> 
> + /usr/bin/intltoolize -c --force --automake
> 
> + aclocal -I m4 -I /share/aclocal
> 
> ' is already registered with AC_CONFIG_FILES.
> 
> /mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/status.m4:290:
> AC_CONFIG_FILES is expanded from...
> 
> configure.ac:455: the top level
> 
> /bin/m4: cannot remove temporary directory /tmp/m4-7i9GtT: Directory
> not empty
> 
> autom4te-2.67: /bin/m4 failed with exit status: 1
> 
> aclocal-1.11: autom4te failed with exit status: 1
> 
> + autoheader
> 
> ' is already registered with AC_CONFIG_FILES.
> 
> /mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/status.m4:290:
> AC_CONFIG_FILES is expanded from...
> 
> configure.ac:455: the top level
> 
> autom4te-2.67: /bin/m4 failed with exit status: 1
> 
> autoheader-2.67: '/mingw/bin/autom4te-2.67' failed with exit status: 1
> 
> + automake --force-missing --add-missing --copy
> 
> ' is already registered with AC_CONFIG_FILES.
> 
> /mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/status.m4:290:
> AC_CONFIG_FILES is expanded from...
> 
> configure.ac:455: the top level
> 
> autom4te-2.67: /bin/m4 failed with exit status: 1
> 
> automake-1.11: autoconf failed with exit status: 1
> 
> + autoconf
> 
> ' is already registered with AC_CONFIG_FILES.
> 
> /mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/status.m4:290:
> AC_CONFIG_FILES is expanded from...
> 
> configure.ac:455: the top level
> 
> autom4te-2.67: /bin/m4 failed with exit status: 1
> 
> + echo 'Generating build scripts in oRTP...'
> 
> Generating build scripts in oRTP...
> 
> + cd oRTP
> 
> + ./autogen.sh
> 
> + rm -rf config.cache autom4te.cache
> 
> + libtoolize --copy --force
> 
> libtoolize: putting auxiliary files in `.'.
> 
> libtoolize: copying file `./ltmain.sh'
> 
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
> configure.ac and
> 
> libtoolize: rerunning libtoolize, to keep the correct libtool macros
> in-tree.
> 
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> 
> + aclocal -I /share/aclocal
> 
> + autoheader
> 
> + automake --add-missing --copy
> 
> configure.ac:31: installing `./install-sh'
> 
> configure.ac:127: required file `./ltmain.sh' not found
> 
> configure.ac:31: installing `./missing'
> 
> src/Makefile.am: installing `./depcomp'
> 
> Makefile.am:16: docdir was already defined in condition TRUE, which
> includes condition HAVE_DOXYGEN ...
> 
> configure.ac:2: ... `docdir' previously defined here
> 
> Makefile.am:23: <D: non-POSIX variable name
> 
> Makefile.am:55: shell pwd: non-POSIX variable name
> 
> Makefile.am:55: (probably a GNU make extension)
> 
> Makefile.am: installing `./INSTALL'
> 
> Makefile.am: required file `./NEWS' not found
> 
> Makefile.am: required file `./README' not found
> 
> + autoconf
> 
> + cd -
> 
> /home/yiwen/linphone
> 
> + echo 'Generating build scripts in mediastreamer2...'
> 
> Generating build scripts in mediastreamer2...
> 
> + cd mediastreamer2
> 
> + ./autogen.sh
> 
> Generating build scripts in mediastreamer...
> 
> + libtoolize --copy --force
> 
> libtoolize: putting auxiliary files in `.'.
> 
> libtoolize: copying file `./ltmain.sh'
> 
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
> configure.ac and
> 
> libtoolize: rerunning libtoolize, to keep the correct libtool macros
> in-tree.
> 
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> 
> + aclocal -I /share/aclocal
> 
> + autoheader
> 
> + automake --force-missing --add-missing --copy
> 
> help/Makefile.am:10: docdir was already defined in condition TRUE,
> which includes condition HAVE_DOXYGEN ...
> 
> configure.ac:2: ... `docdir' previously defined here
> 
> help/Makefile.am:17: <D: non-POSIX variable name
> 
> automake-1.11: SOURCES was already defined in condition HAVE_DOXYGEN,
> which is included in condition TRUE ...
> 
> help/Makefile.am:7: ... `SOURCES' previously defined here
> 
> + autoconf
> 
> + cd /home/yiwen/linphone
> 
>  
> 
> I wish waiting your help.
> 
>  
> 
> Thanks
> 
> Mark
> 
>  
> 
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]