Ubuntu 9.04 Building problems

View: New views
7 Messages — Rating Filter:   Alert me  

Ubuntu 9.04 Building problems

by Charles Curley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Building gpsdrive on Ubuntu 9.04, as updated. The tree is a fresh
subversion checkout, per http://gpsdrive.de/download.shtml.

First problem I hit, while running:

ccurley@grissom:~/gpsdrive-trunk/build$ cmake ..
...
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use
FindPkgConfig

Probably something for the packagers to look at.

-- PKGCONFIG() indicates that libgps is not installed (install the
package which contains libgps.pc if you want to support this feature)

That's a good error message. It tells the user exactly what to do to
solve the problem. Running "aptitude install libgps17" worked.

Next:

...
-- Found Mapnik: /usr/lib/libmapnik.so
mapnik datadir: /usr/local/share/gpsdrive/mapnik
CMake Error: The following variables are used in this project, but they
are set to NOTFOUND. Please set them or make sure they are set and
tested correctly in the CMake files: GPS_INCLUDE_DIR
   used as include directory in
directory /home/ccurley/gpsdrive-trunk/src GPS_LIBRARY
    linked by target "gpsdrive" in
directory /home/ccurley/gpsdrive-trunk/src SPEECHD_INCLUDE_DIR
   used as include directory in
directory /home/ccurley/gpsdrive-trunk/src

-- Configuring incomplete, errors occurred!
ccurley@grissom:~/gpsdrive-trunk/build$

Any ideas on what to do with this?

Thanks

--

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Ubuntu 9.04 Building problems

by Charles Curley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 25 Oct 2009 16:33:34 -0600
Charles Curley <charlescurley@...> wrote:

> Building gpsdrive on Ubuntu 9.04, as updated. The tree is a fresh
> subversion checkout, per http://gpsdrive.de/download.shtml.
>

> -- PKGCONFIG() indicates that libgps is not installed (install the
> package which contains libgps.pc if you want to support this feature)
>
> That's a good error message. It tells the user exactly what to do to
> solve the problem. Running "aptitude install libgps17" worked.

Correction: "aptitude install libgps-dev". This also gets rid of the
first two error messages below, which leaves me wondering about the
speech variable.

>
> Next:
>
> ...
> -- Found Mapnik: /usr/lib/libmapnik.so
> mapnik datadir: /usr/local/share/gpsdrive/mapnik
> CMake Error: The following variables are used in this project, but
> they are set to NOTFOUND. Please set them or make sure they are set
> and tested correctly in the CMake files: GPS_INCLUDE_DIR
>    used as include directory in
> directory /home/ccurley/gpsdrive-trunk/src GPS_LIBRARY
>     linked by target "gpsdrive" in
> directory /home/ccurley/gpsdrive-trunk/src SPEECHD_INCLUDE_DIR
>    used as include directory in
> directory /home/ccurley/gpsdrive-trunk/src
>
> -- Configuring incomplete, errors occurred!
> ccurley@grissom:~/gpsdrive-trunk/build$
>
> Any ideas on what to do with this?
>
> Thanks
>



--

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Ubuntu 9.04 Building problems

by Charles Curley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 25 Oct 2009 16:44:06 -0600
Charles Curley <charlescurley@...> wrote:

> On Sun, 25 Oct 2009 16:33:34 -0600
> Charles Curley <charlescurley@...> wrote:
>
> > Building gpsdrive on Ubuntu 9.04, as updated. The tree is a fresh
> > subversion checkout, per http://gpsdrive.de/download.shtml.
> >


> >     linked by target "gpsdrive" in
> > directory /home/ccurley/gpsdrive-trunk/src SPEECHD_INCLUDE_DIR
> >    used as include directory in
> > directory /home/ccurley/gpsdrive-trunk/src
> >
> > -- Configuring incomplete, errors occurred!
> > ccurley@grissom:~/gpsdrive-trunk/build$
> >
> > Any ideas on what to do with this?

"aptitude install libspeechd-dev"

However, I never use the speech stuff. Is it possible to compile
without it?

--

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Ubuntu 9.04 Building problems

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Sonntag 25 Oktober 2009 23:48:59 schrieb Charles Curley:
> However, I never use the speech stuff. Is it possible to compile
> without it?
>
configure the build with cmake .. -DWITH_SPEECH=OFF in the build directory
or disable this option in ccmake

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Ubuntu 9.04 Building problems

by Charles Curley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 26 Oct 2009 07:53:12 +0100
Guenther Meyer <d.s.e@...> wrote:

> Am Sonntag 25 Oktober 2009 23:48:59 schrieb Charles Curley:
> > However, I never use the speech stuff. Is it possible to compile
> > without it?
> >
> configure the build with cmake .. -DWITH_SPEECH=OFF in the build
> directory or disable this option in ccmake

Thanks. Being a cmake illiterate, I went looking for a file called
ccmake in the build. I didn't find it. But I did find in gpsdrive-trunk
the file DefineOptions.cmake. I edited this line:

option(WITH_SPEECH "Build with support of speech output" ON)

to read:

option(WITH_SPEECH "Build with support of speech output" OFF)

and that seems compile. I still get the message "Speech Dispatcher not
available, disabling speech output!" when firing up gpsdrive. So I
don't know if I have actually disabled it or not.

--

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Ubuntu 9.04 Building problems

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Dienstag 27 Oktober 2009 16:39:40 schrieb Charles Curley:

> On Mon, 26 Oct 2009 07:53:12 +0100
>
> Guenther Meyer <d.s.e@...> wrote:
> > Am Sonntag 25 Oktober 2009 23:48:59 schrieb Charles Curley:
> > > However, I never use the speech stuff. Is it possible to compile
> > > without it?
> >
> > configure the build with cmake .. -DWITH_SPEECH=OFF in the build
> > directory or disable this option in ccmake
>
> Thanks. Being a cmake illiterate, I went looking for a file called
> ccmake in the build. I didn't find it.
ccmake is a front end for cmake which is usually installed as a separate
package

> But I did find in gpsdrive-trunk
> the file DefineOptions.cmake. I edited this line:
>
> option(WITH_SPEECH "Build with support of speech output" ON)
>
> to read:
>
> option(WITH_SPEECH "Build with support of speech output" OFF)
>
> and that seems compile. I still get the message "Speech Dispatcher not
> available, disabling speech output!" when firing up gpsdrive. So I
> don't know if I have actually disabled it or not.
>
no you have compiled with speech support ;-)

if you change one of the options in DefineOptions.cmake you have to run "cmake
.." from your build directorry to set up the build with the changed options.
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: Ubuntu 9.04 Building problems

by Charles Curley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 27 Oct 2009 21:00:54 +0100
Guenther Meyer <d.s.e@...> wrote:

> Am Dienstag 27 Oktober 2009 16:39:40 schrieb Charles Curley:
> > On Mon, 26 Oct 2009 07:53:12 +0100
> >
> > Guenther Meyer <d.s.e@...> wrote:
> > > Am Sonntag 25 Oktober 2009 23:48:59 schrieb Charles Curley:
> > > > However, I never use the speech stuff. Is it possible to compile
> > > > without it?
> > >
> > > configure the build with cmake .. -DWITH_SPEECH=OFF in the build
> > > directory or disable this option in ccmake
> >
> > Thanks. Being a cmake illiterate, I went looking for a file called
> > ccmake in the build. I didn't find it.
> ccmake is a front end for cmake which is usually installed as a
> separate package
>
> > But I did find in gpsdrive-trunk
> > the file DefineOptions.cmake. I edited this line:
> >
> > option(WITH_SPEECH "Build with support of speech output" ON)
> >
> > to read:
> >
> > option(WITH_SPEECH "Build with support of speech output" OFF)
> >
> > and that seems compile. I still get the message "Speech Dispatcher
> > not available, disabling speech output!" when firing up gpsdrive.
> > So I don't know if I have actually disabled it or not.
> >
> no you have compiled with speech support ;-)
>
> if you change one of the options in DefineOptions.cmake you have to
> run "cmake .." from your build directorry to set up the build with
> the changed options.

That's what I thought I did. To be sure, I just now did the following:

svn update
cmake ..
make clean
time make
make install (as root)

And I still see:

ccurley@grissom:~/gpsdrive-trunk$ gpsdrive
Speech Dispatcher not available, disabling speech output!
Connection to GPS Daemon on 127.0.0.1:2947 established.
...


--

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive