linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Someone forgot to update the version in the makefil


From: Sebastian Nielsen
Subject: Re: [Linphone-users] Someone forgot to update the version in the makefile
Date: Tue, 10 Oct 2017 21:38:09 +0200

How I supply build arguments to cmake? Like --disable_video --disable-gtk_ui --disable-x11

Because I guess those arguments are different for cmake than automake.

 

Från: Linphone-users [mailto:address@hidden För Jehan Monnier
Skickat: den 9 oktober 2017 13:16
Till: address@hidden
Ämne: Re: [Linphone-users] Someone forgot to update the version in the makefile

 

Hi,

 

We moved from autotools to cmake based build system.

configure.ac/Makefile.am are no longer maintained.

 

For cmake instructions, I recommend you to look at  https://github.com/BelledonneCommunications/linphone/blob/master/README.md

 

Best regards

 

 

 

Le 8 oct. 2017 à 04:09, Sebastian Nielsen <address@hidden> a écrit :

 

I just cloned fresh from git://git.linphone.org/linphone.git and when compiling I get the following error:

 

 

if test -n "`cd .. && git log -1 --pretty=format:%H configure.ac`" ; then  \

        if test "`cd .. && git describe --always`" != "" ; then \

                if [ "`cd .. && git describe --abbrev=0`" != "3.11.2" ]; then \

                        /bin/echo "*** PACKAGE_VERSION and git tag differ. Please put them identical."; \

                        exit 1; \

                fi ; \

                printf "#define LIBLINPHONE_GIT_VERSION \"`cd .. && git describe --always`\"\n" > ./liblinphone_gitversion.h.tmp ; \

        elif test "`cd .. && git rev-parse HEAD`" != "" ; then \

                printf "#define LIBLINPHONE_GIT_VERSION \"3.11.2_`cd .. && git rev-parse HEAD`\"\n" > ./liblinphone_gitversion.h.tmp ; \

        else \

                printf "" > ./liblinphone_gitversion.h.tmp ; \

        fi ; \

        if ! test -f ./liblinphone_gitversion.h ; then \

                cp -f ./liblinphone_gitversion.h.tmp ./liblinphone_gitversion.h ; \

        fi ; \

        if test "`cat ./liblinphone_gitversion.h.tmp`" != "`cat ./liblinphone_gitversion.h`" ; then \

                cp -f ./liblinphone_gitversion.h.tmp ./liblinphone_gitversion.h ; \

        fi ; \

        rm -f ./liblinphone_gitversion.h.tmp ; \

else \

        touch liblinphone_gitversion.h ; \

fi

*** PACKAGE_VERSION and git tag differ. Please put them identical.

Makefile:1201: receptet för målet ”make_gitversion_h” misslyckades

make[2]: *** [make_gitversion_h] Fel 1

make[2]: Lämnar katalogen ”/root/linphone/coreapi”

Makefile:610: receptet för målet ”all-recursive” misslyckades

make[1]: *** [all-recursive] Fel 1

make[1]: Lämnar katalogen ”/root/linphone”

Makefile:537: receptet för målet ”all” misslyckades

make: *** [all] Fel 2

 

 

The output of: ” git describe --abbrev=0 ”

Is:

3.12.0

 

So apparently someone forgot to update the make scripts with the correct PACKAGE_VERSION, since PACKAGE_VERSION is 3.11.2.

_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users

 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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