Re: configure gives error about CMake

Michal Čihař <[email protected]> Wed, 16 Nov 2016 13:42:39 +0100
Newsgroups gmane.linux.drivers.gammu
Message-ID <[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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh+Zzr4P2w6DDRMjD9KoinU1YwkUFAlgsVD8ACgkQ9KoinU1Y
wkWECQ//aqRUJgyqwCcGs1LgfpyxcwSVecTr8UUobzvfZRbZs2h7aKsax88OJLA5
u0e1o3mupfzhaJBKJq2NgBho0CPZ4vM2IAvRpTzFrq8ECD+Vh2zd7n69YhCKMJVo
BhtacrPI0F3kWhF83jPerL0HzN0cibeDFwySExZ8bl5XW0Dfajgs7A33TBfM/A9L
5o7ioSCmVGpLjutXijFuWLAI3tKU8KQeYIG1nWw+lRkZi6gDpXsB98lW7wG2T1LX
Q8qBgPWb6ECAU/iTVkc3uolhI2Lh/bJ7Y3a4H9k96ta2mcTRXYu2GFpA4E4ahG/U
I3Ejjs0gtpYrdgG4fGTCnhogpIbGwPBtq0Cc7yUa3axfnSgYSjwX1m0vv/9gyn0X
3xEsJpO4xFA4I1l5eNEkWEOrCue0Wt48hqE+a8+dVZU69kuW1i4qQcuMsOiL9zOC
hZSrWce+f9D0qVJpPGNLDAKE/MC9j99Ye/D53VQcmzyp+FCkZZv/H/VOeRiQ0rYS
dfbzVqkBylYdWMLV8bdPP/plKW1jfGr68Zi1QefAgj5WAgWJlowjA22jG7iieMTf
bbQRORq/qteU8ZNXL9XTPo+feHLbQHGLae4dX/lmLIJzkFlIZVNI333/rJO8E/Wu
4kjOHBE7R2JCgb3B/U2kBnC72piouYaXEUS6VIHbSQp4wGZySMY=
=iBx1
-----END PGP SIGNATURE-----