Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 31/10/2007, à 08:20

Mad_Angel

Navit

Bonjour, je sais pas si certain on entendu parler de Navit, un logiciel de naviguation GPS avec carte vectoriel. J'ai un vieux pc tablet (juste un ecran tactile et une prise usb) que j'utilise en GPS sous Win98.

J'ai souhaité installer navit sur ma machine principal fraichement passé sous ubuntu mais je n'arrive pas à compil les package... :$ je suis nouveau et un peu boulet... voila ce que ca me met lorsque je lance le fichier "configure " dans la console.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Et j'ouvre le fichier config.log:

hostname = pc-baptiste
uname -m = x86_64
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 21:45:15 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1614: checking for a BSD-compatible install
configure:1669: result: /usr/bin/install -c
configure:1680: checking whether build environment is sane
configure:1723: result: yes
configure:1788: checking for gawk
configure:1817: result: no
configure:1788: checking for mawk
configure:1804: found /usr/bin/mawk
configure:1814: result: mawk
configure:1824: checking whether make sets $(MAKE)
configure:1844: result: yes
configure:2014: checking whether to enable maintainer-specific portions of Makefiles
configure:2023: result: no
configure:2092: checking for gcc
configure:2108: found /usr/bin/gcc
configure:2118: result: gcc
configure:2362: checking for C compiler version
configure:2365: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2368: $? = 0
configure:2370: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2373: $? = 0
configure:2375: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2378: $? = 1
configure:2401: checking for C compiler default output file name
configure:2404: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2407: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "navit"
| #define PACKAGE_TARNAME "navit"
| #define PACKAGE_VERSION "0.0.1"
| #define PACKAGE_STRING "navit 0.0.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "navit"
| #define VERSION "0.0.1"
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2446: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_FREETYPE2_CFLAGS_set=
ac_cv_env_FREETYPE2_CFLAGS_value=
ac_cv_env_FREETYPE2_LIBS_set=
ac_cv_env_FREETYPE2_LIBS_value=
ac_cv_env_GTK2_CFLAGS_set=
ac_cv_env_GTK2_CFLAGS_value=
ac_cv_env_GTK2_LIBS_set=
ac_cv_env_GTK2_LIBS_value=
ac_cv_env_IMLIB2_CFLAGS_set=
ac_cv_env_IMLIB2_CFLAGS_value=
ac_cv_env_IMLIB2_LIBS_set=
ac_cv_env_IMLIB2_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_NAVIT_CFLAGS_set=
ac_cv_env_NAVIT_CFLAGS_value=
ac_cv_env_NAVIT_LIBS_set=
ac_cv_env_NAVIT_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/baptiste/Bureau/navit/missing --run aclocal-1.9'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/baptiste/Bureau/navit/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/baptiste/Bureau/navit/missing --run autoconf'
AUTOHEADER='${SHELL} /home/baptiste/Bureau/navit/missing --run autoheader'
AUTOMAKE='${SHELL} /home/baptiste/Bureau/navit/missing --run automake-1.9'
AWK='mawk'
BINDING_PYTHON_FALSE=''
BINDING_PYTHON_TRUE=''
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CEGUI_CFLAGS=''
CEGUI_LIBS=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FREETYPE2_CFLAGS=''
FREETYPE2_LIBS=''
GENCAT=''
GLC_CFLAGS=''
GLC_LIBS=''
GLIBC21=''
GLIBC2=''
GMSGFMT=''
GPSD_CFLAGS=''
GPSD_LIBS=''
GRAPHICS_GTK_DRAWING_AREA_FALSE=''
GRAPHICS_GTK_DRAWING_AREA_TRUE=''
GRAPHICS_OPENGL_FALSE=''
GRAPHICS_OPENGL_TRUE=''
GTK2_CFLAGS=''
GTK2_LIBS=''
GUI_GTK_FALSE=''
GUI_GTK_TRUE=''
GUI_SDL_FALSE=''
GUI_SDL_TRUE=''
HAVE_ASPRINTF=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
IMLIB2_CFLAGS=''
IMLIB2_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLIBS=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
INTL_MACOSX_LIBS=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/baptiste/Bureau/navit/missing --run makeinfo'
MKINSTALLDIRS=''
MOFILES=''
MSGFMT=''
MSGMERGE=''
NAVIT_CFLAGS=''
NAVIT_LIBS=''
OBJEXT=''
OPENGL_CFLAGS=''
OPENGL_LIBS=''
PACKAGE='navit'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='navit'
PACKAGE_STRING='navit 0.0.1'
PACKAGE_TARNAME='navit'
PACKAGE_VERSION='0.0.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PYTHON_CFLAGS=''
PYTHON_LIBS=''
RANLIB=''
SDL_CFLAGS=''
SDL_LIBS=''
SET_MAKE=''
SHELL='/bin/bash'
SPEECHD_CFLAGS=''
SPEECHD_LIBS=''
SPEECH_SPEECH_DISPATCHER_FALSE=''
SPEECH_SPEECH_DISPATCHER_TRUE=''
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_NLS=''
VEHICLE_GPSD_FALSE=''
VEHICLE_GPSD_TRUE=''
VERSION='0.0.1'
XGETTEXT=''
_PATH_PYTHON=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/baptiste/Bureau/navit/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "navit"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "navit"
#define PACKAGE_STRING "navit 0.0.1"
#define PACKAGE_TARNAME "navit"
#define PACKAGE_VERSION "0.0.1"
#define VERSION "0.0.1"
#define _GNU_SOURCE 1

configure: exit 77

Merci d'avance pour votre aide... et désolé de mon ignorance :$

Hors ligne

#2 Le 31/10/2007, à 10:10

Neuromancien

Re : Navit

checking for C compiler default output file name... configure: error: C compiler cannot create executables

Le compilateur n'arrive pas a creer l'executatble.
Peut etre un probleme de droit d'acces ?

Hors ligne

#3 Le 31/10/2007, à 17:59

Mad_Angel

Re : Navit

je me connect bien en "root" avec sudo -s avant de lancer la commande donc je pense que ca devrait etre bon non?

Hors ligne

#4 Le 01/11/2007, à 08:15

youbs

Re : Navit

salut,

Il te manque des librairies, à partir d'une console :

sudo apt-get install libtool automake autoconf gettext libglib2.0-dev libglib2.0-dev

Apres ça un petit

./configure --disable-binding-python

puis

make

Il te reste plus qu'a le lancer en faisant

cd src
./navit

#5 Le 02/11/2007, à 15:13

Mad_Angel

Re : Navit

Merci beaucoup pour tes infos ca a l'air de c'etre correctement installé mais au lancement de l'application cela me fait:

root@pc-baptiste:~/src# ./navit

** ERROR **: Error parsing 'navit.xml': L'ouverture du fichier « navit.xml » a échoué : Aucun fichier ou répertoire de ce type

aborting...
Abandon (core dumped)

Désolé de soliciter encore votre aide mais j'avous etre totalement perdu là :$

Hors ligne

#6 Le 11/09/2009, à 13:05

uboops

Re : Navit

Sinon tu peux l'installer plus simplement depuis un fichier .deb la, ou par les dépôts :
http://navit.latouche.info/ubuntu/
ou la (fichier .tar.gz):
http://sourceforge.net/projects/navit/files/navit/
http://www.navit-project.org/

ou

sudo -s
(telecharger latest version de Navit:)
svn co https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/ navit
cd navit
./autogen.sh && ./configure && make
cd navit
./navit

( voir : http://doc.ubuntu-fr.org/navit )

C'est vrai, Navit est un logiciel en développement très intéressant car il permet d'utiliser plein de type de cartes, dont les cartes vectorielles gratuites d' openstreetmaps fichier .osm vers le format .bin pour Navit : planet.bin --> http://maps.navit-project.org/
ou de les générer soit même par exemple en faisant:

wget -O france-20090910.bin http://maps.navit-project.org/api/map/index.php?bbox=-5.45,42.00,8.44,51.68

Dernière modification par uboops (Le 29/10/2009, à 14:54)


“Au lieu de faire que ce qui fût juste fût fort, on a fait que ce qui fût fort fût juste.” (Blaise Pascal).

Hors ligne