bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-ddrescue] compiling ddrescue


From: John
Subject: [Bug-ddrescue] compiling ddrescue
Date: Sun, 18 Dec 2005 21:45:43 -0800

I am trying to get started with the Darwin Ports and in particular ddrescue.

I followed the instructions on the page and am running into some problems.

My errors look similar to a recent posting but I can not be sure.

Can someone point me in the right direction and if possible direct me to some good online sources for beginners compiling on OS X. Thanks!

Here is the text from my terminal session:

BigBang:~ bbadministrator$ sudo port -d selfupdate
Password:
DEBUG: Rebuilding the darwinports base system if needed.
Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
receiving file list ... done
./
aqua/
aqua/BiggerSQL/
aqua/FFView/
aqua/JHymn/
aqua/TeXShop/
aqua/adium/
aqua/audioslicer/
archivers/
archivers/bsdtar/
archivers/gzip/
archivers/libarchive/
archivers/unalz/
archivers/zlib/
audio/
audio/arts/files/
audio/audiofile/
audio/libopendaap/
audio/libsdl_mixer/
audio/vorbis-tools/
comms/
cross/arm-aout-binutils/
cross/arm-elf-binutils/
cross/i386-elf-binutils/
cross/i386-elf-gcc/
cross/m68k-elf-binutils/
cross/m68k-elf-gcc/
cross/mips-elf-binutils/
cross/mips-elf-gcc/
databases/
databases/db4/
databases/dbh/
databases/mysql5/
databases/postgresql8/
databases/qdbm/
devel/
devel/apr/
devel/apr-util/
devel/arch/
devel/atk/
devel/bison/
devel/c2hs/
devel/cmake/
devel/ddd/
devel/distcc/
devel/gettext/
devel/global/
devel/libcddb/
devel/libsdl_ttf/
devel/m4/
devel/mono/
devel/monotone/
devel/ncurses/
devel/orbit2/
devel/pcre/
devel/pkgconfig/
devel/swig/
editors/
editors/TeXmacs/
emulators/
emulators/basiliskii/
emulators/scummvm/
games/
games/geekcode/
games/wesnoth/
genealogy/lifelines/
gnome/
gnome/abiword2/
gnome/control-center/
gnome/desktop-file-utils/
gnome/gail/
gnome/ghex/
gnome/gnome-keyring/
gnome/gnome-session/
gnome/gst-plugins/
gnome/gstreamer/
gnome/inkscape/
gnome/libbonobo/
gnome/libbonoboui/
gnome/libgnomeprint/
gnome/libgsf/
gnome/libgtkhtml3/
gnome/libgtop/
gnome/libsoup/
gnome/seahorse/
gnome/yelp/
graphics/
graphics/fontconfig/
graphics/imlib/
graphics/imlib2/
graphics/lcms/
graphics/libpng/
graphics/libungif/
graphics/libwmf/
graphics/ocrad/
graphics/povray/
graphics/pstoedit/
graphics/tiff/
graphics/wxWidgets/
graphics/xpdf/
irc/
irc/irssi/
irc/netwalker-ircc/
irc/xchat/
java/
java/groovy/
kde/
lang/
lang/ferite/
lang/gauche/
lang/gauche-gl/
lang/gauche-gtk/
lang/haskell-mode.el/
lang/hugs98/
lang/sbcl/
lang/swi-prolog-devel/
mail/
mail/base-64/
mail/clamsmtp/
mail/imap-uw/
mail/mutt/
mail/pine/
mail/procmail/
math/acl2/
math/cln/
math/gunits/
math/pdc/
multimedia/
multimedia/mpgtx/
multimedia/vcdimager/
net/
net/bittorrent/
net/ddclient/
net/desproxy/
net/flowd/
net/gaim/
net/gpsd/
net/honeyd/
net/libnids/
net/mrtg/
net/nmap/
net/openssh/
net/pavuk/
net/proftpd/
net/snort/
net/tf/
news/
news/tin/
perl/
perl/p5-macosx-file/
print/psutils/
python/
python/py-ana/
python/py-curl/
python/py-ftputil/
python/py-gnome/
python/py-gsl/
python/py-gtk2/
python/py-libdnet/
python/py-mx/
python/py-mysql/
python/py-pyx/
python/py-sqlite/
python/py-ssh/
python/py-unum/
python/py-xmpppy/
ruby/
ruby/rb-cocoa/
ruby/rb-rubygems/
science/gdal/
security/
security/scponly/
shells/
sysutils/
sysutils/coreutils/
sysutils/dcfldd/
sysutils/di/
sysutils/file/
sysutils/findutils/
sysutils/freeradius/
sysutils/sudo/
sysutils/wmcpuload/
sysutils/wmmemmon/
textproc/
textproc/expat/
textproc/glimpse/
textproc/jive/
textproc/libxml2/
textproc/libxslt/
textproc/scrollkeeper/
textproc/xercesc/
www/
www/mod_jk/
www/mod_mono/
www/phpmyadmin/
www/shttpd/
x11/
x11/Xft2/
x11/fvwm2/
x11/gtk-engines2/
x11/mlterm/
x11/openMotif/
x11/xrender/
zope/
zope/zope-externaleditor/
zope/zope-localfs/
zope/zope-plonewebmail/
zope/zope-portaltransforms/

sent 77 bytes  received 195580 bytes  7986.00 bytes/sec
total size is 11021143  speedup is 56.33
DEBUG: DarwinPorts base dir: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate1/base
DEBUG: Setting user: root
DarwinPorts base version 1.200 installed
DEBUG: Updating using rsync
receiving file list ... done

sent 77 bytes  received 4541 bytes  1026.22 bytes/sec
total size is 2389256  speedup is 517.38
Downloaded DarwinPorts base version 1.200
The DarwinPorts installation is not outdated and so was not updated
DEBUG: Setting ownership to root
selfupdate done!
BigBang:~ bbadministrator$ port search 'ddrescue'
ddrescue sysutils/ddrescue @1.0 GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disc, cdrom, etc) to another, trying hard to rescue data in case of read errors.
BigBang:~ bbadministrator$ sudo port install ddrescue
--->  Fetching ddrescue
---> Attempting to fetch ddrescue-1.0.tar.bz2 from ftp://ftp.gnu.org/ gnu/ddrescue
--->  Verifying checksum(s) for ddrescue
--->  Extracting ddrescue
--->  Configuring ddrescue
--->  Building ddrescue with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_sysutils_ddrescue/work/ddrescue-1.0" && make all" returned error 2
Command output: g++  -Wall -W -O2 -c -o block.o block.cc
g++  -Wall -W -O2 -c -o ddrescue.o ddrescue.cc
ddrescue.cc: In function `const char* format_num(long long int, long long int,
   int)':
ddrescue.cc:185: error: `llabs' undeclared in namespace `std'
ddrescue.cc:185: error: `llabs' undeclared in namespace `std'
ddrescue.cc:187: error: `snprintf' undeclared in namespace `std'
make: *** [ddrescue.o] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.
BigBang:~ bbadministrator$ port clean ddrescue
Error: /opt/local/bin/port: Unable to execute port: /opt/local/var/db/ dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_sysutils_ddrescue/work/.darwinports.ddrescue.state is not writable - check permission on port directory
BigBang:~ bbadministrator$ mac ddresce
-bash: mac: command not found
BigBang:~ bbadministrator$ man ddrescue
No manual entry for ddrescue
BigBang:~ bbadministrator$ sudo port install 'ddrescue'
--->  Building ddrescue with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/ var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_sysutils_ddrescue/work/ddrescue-1.0" && make all" returned error 2
Command output: g++  -Wall -W -O2 -c -o ddrescue.o ddrescue.cc
ddrescue.cc: In function `const char* format_num(long long int, long long int,
   int)':
ddrescue.cc:185: error: `llabs' undeclared in namespace `std'
ddrescue.cc:185: error: `llabs' undeclared in namespace `std'
ddrescue.cc:187: error: `snprintf' undeclared in namespace `std'
make: *** [ddrescue.o] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.
BigBang:~ bbadministrator$ port deps ddrescue
ddrescue has no dependencies
BigBang:~ bbadministrator$ port outdated ddrescue
BigBang:~ bbadministrator$ exit
logout
[Process completed]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]