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
signature.asc
Description: OpenPGP digital signature
|