You are not logged in.

#1 2012-06-01 07:46:50

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

libntfs-dev fails to compile

I'm trying to install clonezilla, and one of the depends is partclone, which has aother dependency called libntfs-dev.

When libntfs-dev attempts to compile, it fails with the following message:


config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0'
Making all in doc
make[2]: Entering directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/doc'
Making all in include
make[2]: Entering directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/include'
Making all in ntfs
make[3]: Entering directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/include/ntfs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/include/ntfs'
make[3]: Entering directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/include'
make[2]: Leaving directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/include'
Making all in libntfs
make[2]: Entering directory `/tmp/yaourt-tmp-jonander/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=i686 -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=i686 -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] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0/libntfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-jonander/aur-libntfs-dev/src/ntfsprogs-2.0.0'
make: *** [all] Error 2

Can anyone give me a hand to get this done?

Tanks!

Offline

#2 2012-06-02 20:59:53

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: libntfs-dev fails to compile

it compile on my system (x86_64, openbox)


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#3 2012-06-02 23:10:48

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: libntfs-dev fails to compile

Yeah, and so does in my clean install (no window manager)... but in my 4 (four) installs , x86 and 64 bit, they always fail... all they have in common is KDE as WM..... i dont know what else to try...

Offline

#4 2012-06-03 01:45:39

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: libntfs-dev fails to compile

Ok, for some reason, after removing those packages:

gnome-vfs
gvfs
libgnome
libbonoboui
libgnomeui
python2-egg
gnome-python-extras

Which are a chain of dependencies of nagstamon, i got the lib to compile correctly: Find the reason why is beyond my knowledgement

Offline

#5 2012-06-06 15:31:33

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: libntfs-dev fails to compile

so, add [solved] in the thread title


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#6 2012-06-06 15:55:14

Xi0N
Member
From: Bilbao - Spain
Registered: 2007-11-29
Posts: 832
Website

Re: libntfs-dev fails to compile

Well, its not really solved for that matter... i found a workaround, but i shouldn't be normal needing to uninstall a package to be able to compile other, is it?
I was hoping for the maintainer to have some thoughts about why this happens and a better way to solve the problem....

Offline

#7 2012-06-06 16:38:00

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: libntfs-dev fails to compile

it's very difficult solve the issue as you want/expect because probably it is a your (your system) related. so, if you don't try yourself to solve or at least provide more information it's hard to solve the problem....


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#8 2012-06-06 19:20:17

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: libntfs-dev fails to compile

If you really want to solve it look at what your error message says:

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."

Look at the first lines of gnome-vfs-method.c file.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB