[Ubuntu] Lazarus problème à la compilation

Tidodo Messages postés 143 Date d'inscription   Statut Membre -  
Tidodo Messages postés 143 Date d'inscription   Statut Membre -
Bonjour à tous !

J'ai un petit problème à la compilation dans Lazarus :

project1.lpr(1,1) Fatal: Can't find unit glib

Pourtant j'ai bien iinstallé Lazarus je ne comprends pas ...
J'ai suivi ce tuto : https://www.developpez.net/forums/d307167/autres-langages/pascal/lazarus/installation-kubuntu-6-10-a/

Vous avez une idée ?

A bientôt
Configuration: Linux
Firefox 2.0.0.5

8 réponses

  1. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Salut,

    il faut installer glib
    apt-cache search glib
    pour trouver les lib à installer
    ensuite
    aptitutde install glib-x.x.x

    Il faut aussi installer les dev
    0
  2. Tidodo Messages postés 143 Date d'inscription   Statut Membre 21
     
    merci pour ta réponse mais je ne trouve pas ...

    dorian@dorian-laptop:~$ apt-cache search glib
    dbus - simple interprocess messaging system
    gftp-gtk - X/GTK+ FTP client
    glibc-doc - GNU C Library: Documentation
    libarts1-mpeglib - mpeglib plugin for aRts, supporting mp3 and mpeg audio/video
    libavahi-glib-dev - Development headers for the Avahi glib integration library
    libavahi-glib1 - Avahi glib integration library
    libc6 - GNU C Library: Shared libraries
    libc6-pic - GNU C Library: PIC archive library
    libdbus-1-3 - simple interprocess messaging system
    libdbus-glib-1-2 - simple interprocess messaging system (GLib-based shared library)
    libdbus-glib-1-dev - simple interprocess messaging system (GLib interface)
    libdbus-glib-1-doc - simple interprocess messaging system (GLib-based shared library)
    libglib-perl - Perl interface to the GLib and GObject libraries
    libglib1.2 - The GLib library of C routines
    libglib1.2-dbg - The GLib library of C routines (debug)
    libglib1.2-dev - The GLib library of C routines (development)
    libglib2.0-0 - The GLib library of C routines
    libglib2.0-0-dbg - The GLib libraries and debugging symbols
    libglib2.0-cil - CLI binding for the GLib utility library 2.12
    libglib2.0-data - Common files for GLib library
    libglib2.0-dev - Development files for the GLib library
    libglib2.0-doc - Documentation files for the GLib library
    libglibmm-2.4-1c2a - C++ wrapper for the GLib toolkit (shared libraries)
    libglibmm-2.4-dev - C++ wrapper for the GLib toolkit (development files)
    libgnet-dev - Developer files for GNet network library
    libgnet2.0-0 - GNet network library
    libgnomecups1.0-1 - GNOME library for CUPS interaction
    libgnomecups1.0-dev - GNOME library for CUPS interaction (headers)
    libgoffice-0-3 - Document centric objects library - runtime files
    libgoffice-0-3-dbg - Document centric objects library - debugging files
    libgoffice-0-common - Document centric objects library - common files
    libgoffice-0-dev - Document centric objects library - runtime files
    libgoffice-gtk-0-3 - Document centric objects library - runtime files
    libgoffice-gtk-0-3-dbg - Document centric objects library - debugging files
    libndesk-dbus-glib1.0-cil - CLI implementation of D-Bus (GLib mainloop integration)
    libnm-glib-dev - network management framework (GLib interface)
    libnm-glib0 - network management framework (GLib shared library)
    libnss-mdns - NSS module for Multicast DNS name resolution
    libpoppler-glib-dev - PDF rendering library -- development files (GLib interface)
    libpoppler1-glib - PDF rendering library (GLib-based shared library)
    libsoup2.2-8 - an HTTP library implementation in C -- Shared library
    libsoup2.2-dev - an HTTP library implementation in C -- Development files
    libsoup2.2-doc - an HTTP library implementation in C -- API Reference
    libtag1-dev - TagLib Audio Meta-Data Library [development]
    libtag1-doc - TagLib Audio Meta-Data Library [documentation]
    libtag1c2a - TagLib Audio Meta-Data Library
    libtagc0 - TagLib Audio Meta-Data Library (C bindings)
    libtagc0-dev - TagLib Audio Meta-Data Library (C bindings) [development]
    manpages-dev - Manual pages about using GNU/Linux for development
    mpeglib - mp3 and mpeg I audio and video library
    python-gobject - Python bindings for the GObject library
    python-gobject-dbg - Python bindings for the GObject library (debug extension)
    python-gobject-dev - Development headers for the GObject python bindings
    python-gobject-doc - Python bindings for the GObject - documentation
    abicheck - binary compatibility checking tool
    anyevent-perl - provide framework for multiple event loops
    bglibs-dev - BG Libraries Collection
    bglibs-doc - BG Libraries Collection (documentation)
    classpath-common - clean room standard Java libraries - architecture independent files
    classpath-common-unzipped - clean room standard Java libraries - architecture independent files
    free-java-sdk - Complete Java SDK environment consisting of free Java tools
    gftp - X/GTK+ FTP client
    gftp-text - colored FTP client using GLib
    gtk2hs-doc - A GUI library for Haskell (Gtk2Hs) -- documentation and examples
    guile-gnome0-glib - Guile bindings for GLib
    ja-trans - Japanese gettext message files
    kmtrace - a KDE memory leak tracer
    libdb1-compat - The Berkeley database routines [glibc 2.0/2.1 compatibility]
    libevent-rpc-perl - Event based transparent Client/Server RPC framework
    libg++2.8.1.3-glibc2.2 - The GNU C++ extension library - runtime version
    libgetopt-java - GNU getopt - Java port
    libgfccore-2.0-0-dbg - GTK+ Foundation Classes Core - debug symbols
    libgfccore-2.0-0c2a - GTK+ Foundation Classes Core - shared libraries
    libgfccore-dev - GTK+ Foundation Classes Core - development files
    libgfccore-doc - GTK+ Foundation Classes Core - API reference documentation
    libggz-dev - GGZ Gaming Zone: common utilities library - development files
    libggz2 - GGZ Gaming Zone: common utilities library
    libghc6-glib-dev - A GUI library for Haskell (Gtk2Hs) -- GLib bindings
    libghc6-missingh-dev - Library of utility functions for Haskell, GHC6 package
    libglib-cil - CLI binding for the GLib utility library
    libglib-java - GLIB bindings for Java
    libglib-java-doc - GLIB bindings for Java (API documentation)
    libglib-java-gcj - GLIB bindings for Java (native code for use with gij)
    libglib2-ruby - Glib 2 bindings for the Ruby language
    libgnetwork1.0-0 - networking wrapper library using Glib/GObject
    libgnetwork1.0-dev - networking wrapper library using Glib/GObject (development files)
    libgnomescan-common - Gnome scan widgets library
    libgnomescan0 - Gnome scan access library
    libhugs-missingh - Library of utility functions for Haskell, Hugs package
    libmissinglib-ocaml-dev - Library of utility functions for OCaml
    libnss-ldap - NSS module for using LDAP as a naming service
    libnss-pgsql1 - name service switch module using PostgreSQL
    libroy-dev - Utility and data structure library (development files)
    libroy1 - Utility and data structure library (runtime files)
    libroy1-dbg - Utility and data structure library (debugging files)
    libroy1-prof - Utility and data structure library (profiling files)
    libsofia-sip-ua-glib-dev - Sofia-SIP library glib/gobject interface development files
    libsofia-sip-ua-glib0 - Sofia-SIP library glib/gobject interfaces runtime
    libstdc++2.10-glibc2.2 - The GNU stdc++ library
    libtagc0-ruby - TagLib Audio Meta-Data Library for Ruby
    libtagc0-ruby1.8 - TagLib Audio Meta-Data Library for Ruby 1.8
    libtelepathy-dev - Telepathy framework - GLib library headers
    libtelepathy2 - Telepathy framework - GLib library
    libuclibc-dev - A small implementation of the C library
    libuclibc0 - A small implementation of the C library
    libwww-dev - The W3C WWW library - development files
    libwww-doc - The W3C WWW library - documentation
    libwww-ssl-dev - The W3C WWW library - development files (SSL support)
    linuxinfo - Displays extended system information
    manpages-fr-dev - French version of the development manual pages
    manpages-pl-dev - Polish man pages for developers
    missingh-doc - Documentation for Haskell utility library
    perdition-dev - Development libraries and headers for perdition
    perdition-ldap - Library to allow perdition to access LDAP based popmaps
    perdition-mysql - Library to allow perdition to access MySQL based popmaps
    perdition-odbc - Library to allow perdition to access ODBC based popmaps
    perdition-postgresql - Library to allow perdition to access PostgreSQL based popmaps
    pingpong - Free server for Amateur Radio convers
    python-utmp - python module for working with utmp
    libpulse-mainloop-glib0 - PulseAudio client libraries
    linux-libc-dev - Linux Kernel Headers for development
    winbind - service to resolve user and group information from Windows NT servers
    dorian@dorian-laptop:~$

    --------

    Merci tu es le seul à m'avoir répondu, espérons que je vais arriver au bout !
    0
  3. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    Essaie avec
    aptitude install libglib2.0-0 libglib2.0-dev
    --
    lami20j
    0
  4. Tidodo Messages postés 143 Date d'inscription   Statut Membre 21
     
    Voilà ce que ca a donné :

    sudo aptitude install libglib2.0-0 libglib2.0-dev
    Password:
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture de l'information d'état... Fait
    Initialisation de l'état des paquets... Fait
    Construction de la base de données des étiquettes... Fait
    Aucun paquet ne va être installé, mis à jour ou enlevé.
    0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
    Il est nécessaire de télécharger 0o d'archives. Après dépaquetage, 0o seront utilisés.
    Écriture de l'information d'état étendu... Fait

    Toujours le meme problème
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. Tidodo Messages postés 143 Date d'inscription   Statut Membre 21
     
    En fait c'est dès que je veux appuyer sur la petite flèche verte ...
    0
  7. lami20j Messages postés 21506 Date d'inscription   Statut Modérateur, Contributeur sécurité Dernière intervention   3 571
     
    regarde ici
    0
  8. Tidodo Messages postés 143 Date d'inscription   Statut Membre 21
     
    Oki j'ai mis les paquets :

    Maintenant project1.lpr(8,7) Fatal: Can't find unit Interfaces
    0
  9. Tidodo Messages postés 143 Date d'inscription   Statut Membre 21
     
    J'ai essayé ça, mais ca donne rien ...

    http://wiki.lazarus.freepascal.org/Lazarus_Faq/fr
    0