Re: configure gives error about CMake

Mübin İçyer <[email protected]> Wed, 16 Nov 2016 16:46:32 +0100
Newsgroups gmane.linux.drivers.gammu
Message-ID <CAA9KBADwFKCrFVfmUM6MUvrJH-D3OrSC6ONWuOS2vYF7h+j10A@mail.gmail.com>
It seems that CMake interprets this file. As error message already says,
there is an unknown command for CMake: add_coverage. On this CMake
documentation this command (add_coverage) does not exist.
https://cmake.org/cmake/help/v2.8.9/cmake.html#section_Commands
I am using CMake 2.8.9

I commented this line and tried again, I have gotten other errors. So Maybe
we have to use other commands instead of add_coverage.



2016-11-16 13:42 GMT+01:00 Michal Čihař <[email protected]>:

> Hi
>
> I'm asking because top level CMakeLists.txt does have that line on top
> (see https://github.com/gammu/gammu/blob/master/CMakeLists.txt#L5).
> Based on the error you're invoking cmake with CMakeLists.txt from gammu
>  subdirectory.
>
> Anyway it seems that configure script didn't work as expected (I've
> added some safeguards to it right now to make it more robust), try
> building using CMake directly:
>
> https://wammu.eu/docs/manual/project/install.html#using-cmake
>
> --
>         Michal Čihař | https://cihar.com/ | https://weblate.org/
>
> Mübin İçyer píše v St 16. 11. 2016 v 11:09 +0100:
> > Hi,
> > Of course in the source code directory : ~Projects/sms/gammu-1.37.91/
> >
> > 2016-11-16 10:47 GMT+01:00 Michal Čihař <[email protected]>:
> > > Hi
> > >
> > > In which directory did you run the configure command?
> > >
> > > --
> > >         Michal Čihař | https://cihar.com/ | https://weblate.org/
> > >
> > > Mübin İçyer píše v St 16. 11. 2016 v 10:40 +0100:
> > > > Hi,
> > > > I just followed the instruction in documentation.
> > > >
> > > > I first installed some packets with this command:
> > > >
> > > > sudo apt-get install cmake python-dev pkg-config libmysqlclient-
> > > dev
> > > > libpq-dev libcurl4-gnutls-dev libusb-1.0-0-dev libdbi0-dev
> > > > libbluetooth-dev libgudev-1.0-dev libglib2.0-dev unixodbc-dev
> > > >
> > > > Then as mentioned in documentation I run ./configure command.
> > > > Maybe I have to do something before this command?
> > > > By the way, I am using Raspbian GNU/Linux 7 (wheezy) on Banana
> > > Pi.
> > > >
> > > >
> > > >
> > > >
> > > > 2016-11-16 10:23 GMT+01:00 Michal Čihař <[email protected]>:
> > > > > Hi
> > > > >
> > > > > Mübin İçyer píše v Út 15. 11. 2016 v 23:39 +0100:
> > > > > > Hello,
> > > > > > I have downloaded the latest source code and want to compile
> > > > > myself.
> > > > > > If I type ./configure, I get following error:
> > > > >
> > > > > How did you invoke configure? It seems you're not using
> > > toplevel
> > > > > CMakeLists.txt.
> > > > >
> > > > > --
> > > > >         Michal Čihař | https://cihar.com/ |
> > > https://weblate.org/
> > > > >
> > > > > -------------------------------------------------------------
> > > ----
> > > > > -------------
> > > > >
> > > > > _______________________________________________
> > > > > Gammu-users mailing list - https://lists.sourceforge.net/lists/
> > > list
> > > > > info/gammu-users
> > > > >
> > > >
> > > > ---------------------------------------------------------------
> > > ----
> > > > -----------
> > > > _______________________________________________
> > > > Gammu-users mailing list - https://lists.sourceforge.net/lists/li
> > > stin
> > > > fo/gammu-users
> > >
> > > -----------------------------------------------------------------
> > > -------------
> > >
> > > _______________________________________________
> > > Gammu-users mailing list - https://lists.sourceforge.net/lists/list
> > > info/gammu-users
> > >
> >
> > -------------------------------------------------------------------
> > -----------
> > _______________________________________________
> > Gammu-users mailing list - https://lists.sourceforge.net/lists/listin
> > fo/gammu-users
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Gammu-users mailing list - https://lists.sourceforge.net/
> lists/listinfo/gammu-users
>
>

------------------------------------------------------------------------------

_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users