ubuntuusers.de

jfsrec-svn-7.tar.gz installation make

Datum:
1. Juni 2013 12:59
Code:
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
http://sourceforge.net/projects/jfsrec/
Linux thinkpad 2.6.32-42-generic #95-Ubuntu SMP Wed Jul 25 15:57:54 UTC 2012 i686 GNU/Linux
First I installed this:

sudo apt-get install gcc autoconf automake boost-build libboost-dev libboost-regex-dev libboost-filesystem-dev libboost-program-options-dev

root@thinkpad:~/jfsrec/jfsrec# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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 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... 32768
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 boost/progress.hpp usability... yes
checking boost/progress.hpp presence... yes
checking for boost/progress.hpp... yes
checking boost/regex.hpp usability... yes
checking boost/regex.hpp presence... yes
checking for boost/regex.hpp... yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands



root@thinkpad:~/jfsrec/jfsrec# make
 cd . && /bin/bash /root/jfsrec/jfsrec/missing --run automake-1.9 --foreign 
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
aclocal.m4:664: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4889: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2737: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2736: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6389: AM_PROG_LIBTOOL is expanded from...
configure.in:8: the top level
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:709: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2814: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2813: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1873: _LT_AC_TAGCONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3977: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:3976: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4079: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4078: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
cd . && /bin/bash /root/jfsrec/jfsrec/missing --run autoconf
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
aclocal.m4:664: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4889: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2737: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2736: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
aclocal.m4:6389: AM_PROG_LIBTOOL is expanded from...
configure.in:8: the top level
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:709: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2814: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2813: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1873: _LT_AC_TAGCONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3977: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:3976: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4079: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4078: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure   --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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 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... 32768
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 boost/progress.hpp usability... yes
checking boost/progress.hpp presence... yes
checking for boost/progress.hpp... yes
checking boost/regex.hpp usability... yes
checking boost/regex.hpp presence... yes
checking for boost/regex.hpp... yes
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
configure: creating ./config.status
 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make  all-recursive
make[1]: Betrete Verzeichnis '/root/jfsrec/jfsrec'
Making all in src
make[2]: Betrete Verzeichnis '/root/jfsrec/jfsrec/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT jfsrec.o -MD -MP -MF ".deps/jfsrec.Tpo" -c -o jfsrec.o jfsrec.cpp; \
	then mv -f ".deps/jfsrec.Tpo" ".deps/jfsrec.Po"; else rm -f ".deps/jfsrec.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT options.o -MD -MP -MF ".deps/options.Tpo" -c -o options.o options.cpp; \
	then mv -f ".deps/options.Tpo" ".deps/options.Po"; else rm -f ".deps/options.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT inodevector.o -MD -MP -MF ".deps/inodevector.Tpo" -c -o inodevector.o inodevector.cpp; \
	then mv -f ".deps/inodevector.Tpo" ".deps/inodevector.Po"; else rm -f ".deps/inodevector.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT inode.o -MD -MP -MF ".deps/inode.Tpo" -c -o inode.o inode.cpp; \
	then mv -f ".deps/inode.Tpo" ".deps/inode.Po"; else rm -f ".deps/inode.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT dirinode.o -MD -MP -MF ".deps/dirinode.Tpo" -c -o dirinode.o dirinode.cpp; \
	then mv -f ".deps/dirinode.Tpo" ".deps/dirinode.Po"; else rm -f ".deps/dirinode.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT fileinode.o -MD -MP -MF ".deps/fileinode.Tpo" -c -o fileinode.o fileinode.cpp; \
	then mv -f ".deps/fileinode.Tpo" ".deps/fileinode.Po"; else rm -f ".deps/fileinode.Tpo"; exit 1; fi
fileinode.cpp: In member function ‘void jfsrec::FileInode::save_file()’:
fileinode.cpp:230: warning: ignoring return value of ‘int ftruncate(int, __off_t)’, declared with attribute warn_unused_result
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT inodefactory.o -MD -MP -MF ".deps/inodefactory.Tpo" -c -o inodefactory.o inodefactory.cpp; \
	then mv -f ".deps/inodefactory.Tpo" ".deps/inodefactory.Po"; else rm -f ".deps/inodefactory.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT device.o -MD -MP -MF ".deps/device.Tpo" -c -o device.o device.cpp; \
	then mv -f ".deps/device.Tpo" ".deps/device.Po"; else rm -f ".deps/device.Tpo"; exit 1; fi
device.cpp: In destructor ‘jfsrec::Device::~Device()’:
device.cpp:36: error: ‘fclose’ was not declared in this scope
device.cpp: In member function ‘void jfsrec::Device::open(const boost::filesystem::path&, short unsigned int)’:
device.cpp:58: error: ‘fopen64’ was not declared in this scope
device.cpp:65: error: ‘fileno’ was not declared in this scope
device.cpp: In member function ‘void jfsrec::Device::read_bytes(int64_t, unsigned int, unsigned char*)’:
device.cpp:120: error: ‘fseeko64’ was not declared in this scope
device.cpp:122: error: ‘rewind’ was not declared in this scope
device.cpp:128: error: ‘rewind’ was not declared in this scope
device.cpp:133: error: ‘fread’ was not declared in this scope
device.cpp: In member function ‘int64_t jfsrec::Device::get_size_bytes() const’:
device.cpp:243: error: ‘fileno’ was not declared in this scope
device.cpp:253: error: ‘perror’ was not declared in this scope
device.cpp:310: error: ‘ftello64’ was not declared in this scope
device.cpp:322: error: ‘fseeko64’ was not declared in this scope
device.cpp:325: error: ‘fgetc’ was not declared in this scope
device.cpp:326: error: ‘EOF’ was not declared in this scope
device.cpp:355: error: ‘fseeko64’ was not declared in this scope
device.cpp:358: error: ‘fgetc’ was not declared in this scope
device.cpp:359: error: ‘EOF’ was not declared in this scope
device.cpp:385: error: ‘fseeko64’ was not declared in this scope
device.cpp:388: error: ‘fgetc’ was not declared in this scope
device.cpp:389: error: ‘EOF’ was not declared in this scope
device.cpp:431: error: ‘fseeko64’ was not declared in this scope
make[2]: *** [device.o] Fehler 1
make[2]: Verlasse Verzeichnis '/root/jfsrec/jfsrec/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/root/jfsrec/jfsrec'
make: *** [all] Fehler 2
root@thinkpad:~/jfsrec/jfsrec#