i386/126496: testdisk 6.10 doesn't compile with NTFSPROGS extension

Michael HENNETON sidh at rtha.info
Wed Aug 13 09:40:03 UTC 2008


>Number:         126496
>Category:       i386
>Synopsis:       testdisk 6.10 doesn't compile with NTFSPROGS extension
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 13 09:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Michael HENNETON
>Release:        FreeBSD 7.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD MiniTinouaf 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #2: Sat Jun 21 12:30:09 CEST 2008     root at MiniTinouaf:/usr/obj/usr/src/sys/TINOM70  i386
>Description:
Testdisk 6.10 doesn't compile with NTFSPROGS compilation option.
>How-To-Repeat:
%cd /usr/ports/sysutils/testdisk/
%sudo make install clean
===>   testdisk-6.10 depends on shared library: jpeg.9 - found
===>   testdisk-6.10 depends on shared library: iconv.3 - found
===>   testdisk-6.10 depends on shared library: ntfs.9 - not found
===>    Verifying install for ntfs.9 in /usr/ports/sysutils/ntfsprogs
===>   Returning to build of testdisk-6.10
Error: shared library "ntfs.9" does not exist
*** Error code 1

Stop in /usr/ports/sysutils/testdisk.
*** Error code 1

Stop in /usr/ports/sysutils/testdisk.
>Fix:
It is because the ntfsprogs now uses libntfs.so.10 and the testdisk  port has not been updated consequently.

For fixing the problem edit the Makefile and  replace the line 55 :

LIB_DEPENDS+=   ntfs.9:${PORTSDIR}/sysutils/ntfsprogs

by 

LIB_DEPENDS+=   ntfs.10:${PORTSDIR}/sysutils/ntfsprogs




Patch attached with submission follows:

*** ../Makefile	2008-08-13 10:42:15.000000000 +0200
--- Makefile	2008-08-13 10:42:48.000000000 +0200
***************
*** 50,60 ****
  #.else
  #CONFIGURE_ARGS+=--without-ext2fs
  #.endif
  
  .if defined(WITH_NTFSPROGS)
! LIB_DEPENDS+=	ntfs.9:${PORTSDIR}/sysutils/ntfsprogs
  .else
  CONFIGURE_ARGS+=--without-ntfs
  .endif
  
  .if defined(WITH_PROGSREISERFS)
--- 50,60 ----
  #.else
  #CONFIGURE_ARGS+=--without-ext2fs
  #.endif
  
  .if defined(WITH_NTFSPROGS)
! LIB_DEPENDS+=	ntfs.10:${PORTSDIR}/sysutils/ntfsprogs
  .else
  CONFIGURE_ARGS+=--without-ntfs
  .endif
  
  .if defined(WITH_PROGSREISERFS)


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list