Hi, kroody wrote: > sorry for my stupid question first > > I want to upgrade my ntfs-3g to latest stable but have some questions > as follows > > in suse 11 and openSUSE11.4 > > SLED 11: > > rpm -qa |grep ntfs > > ntfs-3g-1.5012-2.14 > > ntfsprogs-1.13.1-76.15 > > > openSUSE11.4 > rpm -qa |grep ntfs > ntfsprogs-1.13.1-116.1.i586 > ntfs-3g-2010.10.2-2.1.i586 > > > I found both of them use ntfsprogs-1.13 > > rpm -ql ntfsprogs-devel > /usr/include/ntfs > /usr/include/ntfs/attrib.h > /usr/include/ntfs/attrlist.h > /usr/include/ntfs/bitmap.h > /usr/include/ntfs/bootsect.h > /usr/include/ntfs/collate.h > /usr/include/ntfs/compat.h > /usr/include/ntfs/compress.h > /usr/include/ntfs/debug.h > /usr/include/ntfs/device.h > /usr/include/ntfs/device_io.h > /usr/include/ntfs/dir.h > /usr/include/ntfs/endians.h > /usr/include/ntfs/gnome-vfs-method.h > /usr/include/ntfs/gnome-vfs-module.h > /usr/include/ntfs/index.h > /usr/include/ntfs/inode.h > /usr/include/ntfs/layout.h > /usr/include/ntfs/lcnalloc.h > /usr/include/ntfs/list.h > /usr/include/ntfs/logfile.h > /usr/include/ntfs/logging.h > /usr/include/ntfs/mft.h > /usr/include/ntfs/mst.h > /usr/include/ntfs/ntfstime.h > /usr/include/ntfs/rich.h > /usr/include/ntfs/runlist.h > /usr/include/ntfs/security.h > /usr/include/ntfs/support.h > /usr/include/ntfs/tree.h > /usr/include/ntfs/types.h > /usr/include/ntfs/unistr.h > /usr/include/ntfs/version.h > /usr/include/ntfs/volume.h > /usr/lib/libntfs.so > > I can't find these .h files in latest src package, so I don't know how > to write spec file to build ntfsprogs-devel rpm package for SLED or > opensuse using latest src. > > will some good guy tell me how to deal with this problem?
I you are building a binary rpm, you should use the header files from the same source tarball (the list of header files has slightly changed) -rw-r--r-- szaka/users 6785 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/acls.h -rw-r--r-- szaka/users 5089 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/device.h -rw-r--r-- szaka/users 2268 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/support.h -rw-r--r-- szaka/users 1479 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/compress.h -rw-r--r-- szaka/users 6711 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/endians.h -rw-r--r-- szaka/users 1133 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/efs.h -rw-r--r-- szaka/users 3127 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/types.h -rw-r--r-- szaka/users 4957 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/unistr.h -rw-r--r-- szaka/users 3370 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/cache.h -rw-r--r-- szaka/users 1745 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/attrlist.h -rw-r--r-- szaka/users 1224 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/collate.h -rw-r--r-- szaka/users 2241 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/xattrs.h -rw-r--r-- szaka/users 10969 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/volume.h -rw-r--r-- szaka/users 1308 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/reparse.h -rw-r--r-- szaka/users 2064 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/device_io.h -rw-r--r-- szaka/users 6143 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/logging.h -rw-r--r-- szaka/users 6044 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/index.h -rw-r--r-- szaka/users 1806 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/lcnalloc.h -rw-r--r-- szaka/users 1063 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/misc.h -rw-r--r-- szaka/users 3015 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/bitmap.h -rw-r--r-- szaka/users 1178 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/object_id.h -rw-r--r-- szaka/users 4269 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/dir.h -rw-r--r-- szaka/users 8400 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/inode.h -rw-r--r-- szaka/users 1591 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/bootsect.h -rw-r--r-- szaka/users 3891 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/ntfstime.h -rw-r--r-- szaka/users 15339 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/attrib.h -rw-r--r-- szaka/users 4783 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/mft.h -rw-r--r-- szaka/users 14009 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/Makefile.in -rw-r--r-- szaka/users 1830 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/compat.h -rw-r--r-- szaka/users 108400 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/layout.h -rw-r--r-- szaka/users 1295 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/mst.h -rw-r--r-- szaka/users 3271 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/runlist.h -rw-r--r-- szaka/users 3418 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/param.h -rw-r--r-- szaka/users 586 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/Makefile.am -rw-r--r-- szaka/users 10209 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/security.h -rw-r--r-- szaka/users 1549 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/debug.h -rw-r--r-- szaka/users 16361 2011-04-10 20:04 ntfs-3g_ntfsprogs-2011.4.12/include/ntfs-3g/logfile.h If you are build a devel rpm to be used for compiling applications based on ntfs-3g and/or ntfsprogs, you should use the headers from the tarball and define a target location (this is distribution dependent, a usual destination is /usr/include/ntfs-3g). You may also have to state that the new location overrides the old one. Regards Jean-Pierre ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
