logo       

Re: [ gpsdrive ] problem with latest cvs and cmake: msg#00003

Subject: Re: [ gpsdrive ] problem with latest cvs and cmake
Daniel Vetter wrote:
> Hi all
Hi Daniel,

> 
> I tried to compile gpsdrive from cvs with cmake, but it failed while testing 
> for
> libgdal:
> 
> /path/to/gpsdrive/sources$ cmake 
> -DCMAKE_INSTALL_PREFIX=$HOME/testing/gpsdrive .
> ...
> -- Found GTK2:
> /usr/lib64/libgtk-x11-2.0.so;/usr/lib64/libgdk-x11-2.0.so;/usr/lib64/libglib-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so
> CMake Error: Error in cmake code at
> /home/daniel/src/gpsdrive/cmake/Modules/FindGDAL.cmake:58:
> MESSAGE Could not find GDAL
> Current CMake stack:
> /home/daniel/src/gpsdrive/src/CMakeLists.txt;/home/daniel/src/gpsdrive/cmake/Modules/FindGDAL.cmake
> -- Configuring done
> 
> changing line 33 in cmake/Modules/FindGDAL.cmake from
>    gdal
> to
>    gdal1.3.2
> worked around the problem (1.3.2 is the version of gdal I have installed). 
> This
> is on debian unstable.

Is debian always using the version as suffix? I've added it to the gdal
module for 1.3.1 and 1.3.2

> 
> Then, when I tried 'make install' as an normal user, it failed because it 
> wanted
> to install the Perl modules in /usr/local/share/perl - nevertheless all the
> other files ended up corretly in $HOME/testing/gpsdrive. Relevant excerpt of
> commandline output:

Yes, perl modules should be installed to the sitelib directory of perl.
So I ask perl what's the directory and install them there.

I've added an option for this. The question is should the scripts be
installed by default or not. :)

cmake -DWITH_SCRIPTS=OFF

> 
> ...
> -- Installing /home/daniel/testing/gpsdrive/bin/nasaconv.sh
> -- Installing /usr/local/share/perl/5.8.8
> /Geo/Gpsdrive/DBFuncs.pm/DBFuncs.pm
> CMake Error: Error in cmake code at
> /home/daniel/src/gpsdrive/scripts/cmake_install.cmake:45:
> FILE Problem setting permissions on file "/usr/local/share/perl/5.8.8
> /Geo/Gpsdrive/DBFuncs.pm/DBFuncs.pm"
> Current CMake stack:
> /home/daniel/src/gpsdrive/cmake_install.cmake;/home/daniel/src/gpsdrive/scripts/cmake_install.cmake
> make: *** [install] Error 255
> 
> rm'ing CMakeCache.txt and rerunning cmake with /usr/local/ as prefix worked
> around this problem (and then running 'make install' as root, of course)
> 
> Finally, everything was in place to run gpsdrive:
> 
> $gpsdrive
> created /home/daniel/.gpsdrive/
> created /home/daniel/.gpsdrive/maps
> cp: cannot stat `/gpsdrive/map_koord.txt': No such file or directory
> Error Creating /home/daniel/.gpsdrive/maps/map_koord.txt
> with command: 'cp /gpsdrive/map_koord.txt
> /home/daniel/.gpsdrive/maps/map_koord.txt'
> 
> Manually copying the file map_koord.txt into it's place revealed the prefix
> '/usr/local/share' got lost in other filenames, too - 'kismet.pnp could not be
> found:

Should be fixed now.

> 
> read_icon: No Icon 'kismet.png' found
> Please install the program as root with:
> make install
> 
> I searched in :
>         kismet.png
>               ./data/icons/kismet.png
>               ../data/icons/kismet.png
>               ./data/pixmaps/kismet.png
>               ../data/pixmaps/kismet.png
>               /home/daniel/.gpsdrive/pixmaps/kismet.png
>               /home/daniel/.gpsdrive/icons/kismet.png
>               /gpsdrive/icons/kismet.png
>               /gpsdrive/pixmaps/kismet.png
>               /usr/share/gpsdrive/icons/kismet.png
>               /usr/share/gpsdrive/pixmaps/kismet.png
> 
> Then, I fed up. If there's anything else I can provide or should test, I'd be
> glad to do so.
> 
> Thanks for your efforts
Thanks for testing

> 
> Daniel

        -- andreas

> --
> This message was part of the gpsdrive mailinglist
> unsubscribing can be done by sending a mail containing a body of:
> -quote--
> unsubscribe gpsdrive
> -unquote--
> to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
> 

-- 
http://www.cynapses.org/ - cybernetic synapses


Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe