[clonezilla] erreur dépendance libntfs-dev (abandon)

Mise à jour / Création /debug de paquetages
Répondre
Kainny
archer
Messages : 124
Inscription : dim. 08 mai 2011, 15:24
Localisation : seine et marne

[clonezilla] erreur dépendance libntfs-dev (abandon)

Message par Kainny »

j'ai voulu installer clonezilla mais j'ai un message d'erreur sur l'installation d'une dépendance libntfs-dev
En voici le code :

Code : Tout sélectionner

==> Lancer la compilation de libntfs-dev ? [O/n]
==> --------------------------------------------
==> 
==> Construction et installation du paquet
==> Création du paquet libntfs-dev 2.0.0-1 (dim. mai 13 12:31:22 CEST 2012)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Téléchargement de linux-ntfs_2.0.0.orig.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  882k  100  882k    0     0   326k      0  0:00:02  0:00:02 --:--:--  335k
==> Validation des fichiers sources avec md5sums...
    linux-ntfs_2.0.0.orig.tar.gz ... Réussite
==> Extraction des sources...
  -> Extraction de linux-ntfs_2.0.0.orig.tar.gz avec bsdtar
==> Lancement de build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
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... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking whether gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for LIBNTFS_GNOMEVFS... yes
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.2... yes
checking for GNUTLS... yes
checking for libconfig... no
configure: WARNING: Linux-NTFS crypto code requires the libconfig.
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_generate in -luuid... yes
checking version of gcc... 4.7.0, ok
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking linux/major.h usability... yes
checking linux/major.h presence... yes
checking for linux/major.h... yes
checking linux/fd.h usability... yes
checking linux/fd.h presence... yes
checking for linux/fd.h... yes
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for library containing getmntent... none required
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for working memcmp... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for basename... yes
checking for dup2... yes
checking for fdatasync... yes
checking for getopt_long... yes
checking for hasmntopt... yes
checking for mbsinit... yes
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for setxattr... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strnlen... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for utime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating include/ntfs/Makefile
config.status: creating libntfs/Makefile
config.status: creating libntfs/libntfs.conf
config.status: creating libntfs/libntfs.8
config.status: creating libntfs/libntfs-gnomevfs.8
config.status: creating ntfsprogs/Makefile
config.status: creating ntfsprogs/mkntfs.8
config.status: creating ntfsprogs/ntfscat.8
config.status: creating ntfsprogs/ntfsclone.8
config.status: creating ntfsprogs/ntfscluster.8
config.status: creating ntfsprogs/ntfscmp.8
config.status: creating ntfsprogs/ntfscp.8
config.status: creating ntfsprogs/ntfsfix.8
config.status: creating ntfsprogs/ntfsinfo.8
config.status: creating ntfsprogs/ntfslabel.8
config.status: creating ntfsprogs/ntfsls.8
config.status: creating ntfsprogs/ntfsmount.8
config.status: creating ntfsprogs/ntfsprogs.8
config.status: creating ntfsprogs/ntfsresize.8
config.status: creating ntfsprogs/ntfsundelete.8
config.status: creating ntfsprogs.spec
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1] : on entre dans le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0 »
Making all in doc
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/doc »
make[2]: Rien à faire pour « all ».
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/doc »
Making all in include
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/include »
Making all in ntfs
make[3] : on entre dans le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/include/ntfs »
make[3]: Rien à faire pour « all ».
make[3] : on quitte le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/include/ntfs »
make[3] : on entre dans le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/include »
make[3]: Rien à faire pour « all-am ».
make[3] : on quitte le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/include »
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/include »
Making all in libntfs
make[2] : on entre dans le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/libntfs »
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include/ntfs   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -MT libntfs_gnomevfs_la-gnome-vfs-method.lo -MD -MP -MF .deps/libntfs_gnomevfs_la-gnome-vfs-method.Tpo -c -o libntfs_gnomevfs_la-gnome-vfs-method.lo `test -f 'gnome-vfs-method.c' || echo './'`gnome-vfs-method.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -MT libntfs_gnomevfs_la-gnome-vfs-method.lo -MD -MP -MF .deps/libntfs_gnomevfs_la-gnome-vfs-method.Tpo -c gnome-vfs-method.c  -fPIC -DPIC -o .libs/libntfs_gnomevfs_la-gnome-vfs-method.o
In file included from gnome-vfs-method.c:34:0:
/usr/include/glib-2.0/glib/gmessages.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-vfs-method.c:36:0:
/usr/include/glib-2.0/glib/ghash.h:28:2: error: #error "Only <glib.h> can be included directly."
gnome-vfs-method.c: In function 'libntfs_gnomevfs_read_directory_filldir':
gnome-vfs-method.c:397:8: warning: variable 'errint' set but not used [-Wunused-but-set-variable]
make[2]: *** [libntfs_gnomevfs_la-gnome-vfs-method.lo] Erreur 1
make[2] : on quitte le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0/libntfs »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /tmp/yaourt-tmp-yannick/aur-libntfs-dev/src/ntfsprogs-2.0.0 »
make: *** [all] Erreur 2
==> ERREUR : Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire libntfs-dev.
==> Relancer la compilation de libntfs-dev ? [o/N]

Merci pour votre aide
Dernière modification par Kainny le dim. 30 sept. 2012, 14:10, modifié 2 fois.
Yannick-
jean_no
yeomen
Messages : 285
Inscription : dim. 09 sept. 2007, 12:19

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par jean_no »

Bonjour

tu dois modifier les sources de libntfs-dev

Pour chaque fichier et à chaque erreur de ce style,
( par exemple : gnome-vfs-method.c et gnome-vfs-module.c )
supprimer les lignes
#include <glib/gmessages.h>
#include <glib/gutils.h>
#include <glib/ghash.h>
en fait toutes les ligne #include <glib/GQQCHOSE.h>

et indiquer
#include <gib.h>
( 1 seule fois par fichier! )

bon courage et A+
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par FoolEcho »

@jean_no: un peu vache de présenter ça comme ça :P ... même si le conseil est bon. :chinois:

Tu devrais pouvoir le faire automatiquement en éditant le PKGBUILD et en rajoutant dans build(), sur une ligne suivant le "cd":

Code : Tout sélectionner

find . -name '*.c' -or -name '*.h' -exec sed -i 's|#include <glib/[^>]*>|#include <glib.h>|' {} \;
(lâchement pompé depuis http://forums.archlinux.fr/post93490.html :) )
«The following statement is not true. The previous statement is true.» :nage:
Kainny
archer
Messages : 124
Inscription : dim. 08 mai 2011, 15:24
Localisation : seine et marne

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par Kainny »

FoolEcho a écrit :@jean_no: un peu vache de présenter ça comme ça :P ... même si le conseil est bon. :chinois:

Tu devrais pouvoir le faire automatiquement en éditant le PKGBUILD et en rajoutant dans build(), sur une ligne suivant le "cd":

Code : Tout sélectionner

find . -name '*.c' -or -name '*.h' -exec sed -i 's|#include <glib/[^>]*>|#include <glib.h>|' {} \;
(lâchement pompé depuis http://forums.archlinux.fr/post93490.html :) )
Bon Foolecho,ça ne marche pas en editant le PKGBUILD et en rajoutant la ligne que tu m'as donné.Je vais essayer d'insister.Va bien finir par prendre la poudre d'escampette ce message d'erreur.


jean_no a écrit :Bonjour

tu dois modifier les sources de libntfs-dev

Pour chaque fichier et à chaque erreur de ce style,
( par exemple : gnome-vfs-method.c et gnome-vfs-module.c )
supprimer les lignes
#include <glib/gmessages.h>
#include <glib/gutils.h>
#include <glib/ghash.h>
en fait toutes les ligne #include <glib/GQQCHOSE.h>

et indiquer
#include <gib.h>
( 1 seule fois par fichier! )

bon courage et A+
Si j'ai bien compris jean_no,il faut télécharger l'archive de libnfs-dev?
Et modifier les 2 fichiers gnome-vfs-method.c et gnome-vfs-module.c comme tu me l'indiques à part que c'est #include <glib.h> et non #include <gib.h>?

Enfin,c'est ce que j'ai fait et la compilation a été jusqu'au bout sans erreur.
Seulement quand je fais yaourt -S clonezilla , j'arrive toujours aux messages d'erreurs à la fin.
Donc,il faut que je télécharge toutes les archives de clonezilla et ses dépendances?Et que je les compile une par une?
Bon je ne sais pas si je suis bien clair ,parce que sinon je ne sais pas modifier les sources par yaourt :oops:


Dur dur pour moi
Yannick-
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par FoolEcho »

yannpk a écrit :Bon Foolecho,ça ne marche pas en editant le PKGBUILD et en rajoutant la ligne que tu m'as donné.Je vais essayer d'insister.Va bien finir par prendre la poudre d'escampette ce message d'erreur.
Fonctionne chez moi. :|
Tu as bien recopié la ligne telle quelle quand il s'agit de compiler libntfs-dev ? (je ne parle pas pour clonezilla, je n'ai pas essayé, mais si tu as la même erreur il te suffit d'utiliser cette même ligne)

Code : Tout sélectionner

build() {
  cd "$srcdir/ntfsprogs-$pkgver"
  find . -name '*.c' -or -name '*.h' -exec sed -i 's|#include <glib/[^>]*>|#include <glib.h>|' {} \;
  ./configure --prefix=/usr --disable-ntfsmount --disable-gnomevfs
  make
}
«The following statement is not true. The previous statement is true.» :nage:
Kainny
archer
Messages : 124
Inscription : dim. 08 mai 2011, 15:24
Localisation : seine et marne

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par Kainny »

alors voilà comment j'ai édité par nano

Code : Tout sélectionner

# Maintainer: jsteel <jsteel at vorx dot com>

pkgname=libntfs-dev
pkgver=2.0.0
pkgrel=1
pkgdesc="Library that provides common NTFS access functions (development files)"
arch=('i686' 'x86_64')
url="http://www.linux-ntfs.org"
license=(GPL2)
source=(http://ftp.de.debian.org/debian/pool/main/l/linux-ntfs/linux-ntfs_$pkgver.orig.tar.gz)
md5sums=('2c402b647bb7aeb1d3f8ce1cc354fd68')

build() {
  cd "$srcdir/ntfsprogs-$pkgver"
  find . -name '*.c' -or -name '*.h' -exec sed -i 's|#include
<glib/[^>]*>|#include <glib.h>|' {} \;
  ./configure --prefix=/usr --disable-ntfsmount --disable-gnomevfs
  make
}

package() {
  cd "$srcdir/ntfsprogs-$pkgver"
  make DESTDIR="$pkgdir" install
  rm -rv "$pkgdir"/usr/{bin,sbin,share}
  rm -rv "$pkgdir"/sbin/
}
J'ai fait un copié collé de la ligne que tu me donnes. :roll:
Dernière modification par FoolEcho le dim. 13 mai 2012, 20:08, modifié 1 fois.
Raison : [code]
Yannick-
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17576
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par benjarobin »

Sauf que tu as un beau saut de ligne...
Sinon merci d'utiliser la balise code et non quote !
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Kainny
archer
Messages : 124
Inscription : dim. 08 mai 2011, 15:24
Localisation : seine et marne

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par Kainny »

benjarobin a écrit :Sauf que tu as un beau saut de ligne...
Sinon merci d'utiliser la balise code et non quote !

Code : Tout sélectionner

build() {
  cd "$srcdir/ntfsprogs-$pkgver"
  find . -name '*.c' -or -name '*.h' -exec sed -i 's|#include <glib/[^>]*>|#include <glib.h>|' {} \;
  ./configure --prefix=/usr --disable-ntfsmount --disable-gnomevfs
  make
}
Comme ça c'est mieux?Parce que même comme ça j'ai toujours la même erreur?
Désolé pour la balise code,j'suis un peu dans la brume.
Yannick-
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par FoolEcho »

Pige pas. J'ai ce code et libntfs-dev compile. Tu enregistres bien le fichier avant de sortir de nano ? :|
«The following statement is not true. The previous statement is true.» :nage:
Kainny
archer
Messages : 124
Inscription : dim. 08 mai 2011, 15:24
Localisation : seine et marne

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par Kainny »

oui :(
Sinon je peux tout compiler un par un?
Yannick-
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par FoolEcho »

Oui. Tu peux récupérer ce qu'il faut avec yaourt -G le_paquet puis aller dans le répertoire obtenu, modifier tranquillement le PKGBUILD (j'insiste mais je ne vois vraiment pas pourquoi ça ne passerait pas chez toi :| ) et lancer makepkg -sir pour compiler/installer ou makepkg -o, tu fais les changements sur les fichiers dans src/ (rassure-moi, pas à la main :) ), puis makepkg -sei pour compiler et installer à partir des sources modifiées.
Si un paquet requiert des dépendances qui sont sur Aur, tu dois les installer avant (makepkg -s couinera si c'est sur Aur car pacman seul ne pourra les trouver).
«The following statement is not true. The previous statement is true.» :nage:
Kainny
archer
Messages : 124
Inscription : dim. 08 mai 2011, 15:24
Localisation : seine et marne

Re: [clonezilla] erreur installation dépendance libntfs-dev

Message par Kainny »

FoolEcho a écrit :Oui. Tu peux récupérer ce qu'il faut avec yaourt -G le_paquet puis aller dans le répertoire obtenu, modifier tranquillement le PKGBUILD (j'insiste mais je ne vois vraiment pas pourquoi ça ne passerait pas chez toi :| ) et lancer makepkg -sir pour compiler/installer ou makepkg -o, tu fais les changements sur les fichiers dans src/ (rassure-moi, pas à la main :) ), puis makepkg -sei pour compiler et installer à partir des sources modifiées.
Si un paquet requiert des dépendances qui sont sur Aur, tu dois les installer avant (makepkg -s couinera si c'est sur Aur car pacman seul ne pourra les trouver).
Oula,je vais laisser ça en mode pause.
Merci Foolecho
Merci Benjarobin
Merci jean_no
Yannick-
Répondre