On Sun, 20 Feb 2005 21:51:42 +0200
Valerius <valerag***@m*****.ru> wrote:
> > Не подскажете где эту библиотеку добыть?
Спасибо за совет, я поискал в сети и нашел 2 такие программы
libreiserfs-0.3.0.4-1qilnx.i586.rpm и
libreiserfs-devel-0.3.0.4-1qilnx.i586.rpm
После запуска ./configure попеременно выводилось
configure: error: *** mkntfs not found. Please, install ntfsprogs
(http://linux- ntfs.sourceforge.net) or disable the NTFS support with
--disable-ntfs
configure: error: *** mkfs.jfs not found. Please, install jfsprogs
(http://oss.software. ibm.com/jfs/) or disable the
jfs support with --disable-jfs
configure: error: *** mkfs.xfs not found. Please, install xfsprogs
(http://oss.sgi.com/projects/xfs/) or disable the xfs support with
--disable-xfs
Я решил их поддержку не включать и собрал с такими опциями
./configure --disable-ntfs --disable-jfs --disable-xfs
После этого все собралось нормально
Вывелось вот что
global configuration
system : "linux"
PREFIX : "NONE"
QTPARTED_LDFLAGS : ""
QTPARTED_LIBS : " -lreiserfs"
QTDIR : "/usr/lib/qt-3.3"
Qt translation compiler : "/usr/bin/lrelease"
supported file systems (0=no, 1=yes)
ReiserFS : 1
Ext2fs/ext3fs : 1
Windows NTFS: : 0
Ibm JFS: : 0
Sgi XFS: : 0
Type "make" to compile QtParted
Запустил make
make all-recursive
make[1]: Entering directory `/home/sergei/tmp/qtparted-0.4.4'
Making all in src
make[2]: Entering directory `/home/sergei/tmp/qtparted-0.4.4/src'
make[3]: Entering directory `/home/sergei/tmp/qtparted-0.4.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/lib/qt-3.3/include
-I-I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
-D_REENTRANT -fexceptions -Wall -Wno-deprecated -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -O2 -g -O2 -fno-exceptions -fno-check-new -MT main.o -MD
-MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.cpp' || echo
'./'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
In file included from main.cpp:35:
qp_libparted.h:34:27: parted/parted.h: No such file or directory
In file included from main.cpp:35:
qp_libparted.h:57: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_libparted.h:58: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_libparted.h:59: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_libparted.h:60: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_libparted.h:61: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_libparted.h:83: error: `PedSector' was not declared in this scope
qp_libparted.h:83: error: `PedSector' was not declared in this scope
qp_libparted.h:83: error: invalid data member initialization
qp_libparted.h:83: error: (use `=' to initialize static data members)
qp_libparted.h:85: error: `PedSector' was not declared in this scope
qp_libparted.h:85: error: `PedSector' was not declared in this scope
qp_libparted.h:85: error: invalid data member initialization
qp_libparted.h:106: error: 'PedGeometry' is used as a type, but is not
defined as a type.
qp_libparted.h:145: error: `PedGeometry' was not declared in this scope
qp_libparted.h:145: error: `geom' was not declared in this scope
qp_libparted.h:145: error: `PedDisk' was not declared in this scope
qp_libparted.h:145: error: `disk' was not declared in this scope
qp_libparted.h:145: error: invalid data member initialization
qp_libparted.h:146: error: `PedSector' was not declared in this scope
qp_libparted.h:146: error: syntax error before `,' token
qp_libparted.h:147: error: `PedSector' was not declared in this scope
qp_libparted.h:147: error: syntax error before `,' token
qp_libparted.h:151: error: type specifier omitted for parameter
`PedSector' qp_libparted.h:151: error: syntax error before `,' token
qp_libparted.h:152: error: type specifier omitted for parameter
`PedSector' qp_libparted.h:152: error: type specifier omitted for
parameter `PedSector' qp_libparted.h:159: error: type specifier omitted
for parameter `PedSector' qp_libparted.h:159: error: type specifier
omitted for parameter `PedSector' qp_libparted.h:160: error: type
specifier omitted for parameter `PedSector' qp_libparted.h:160: error:
type specifier omitted for parameter `PedSector' qp_libparted.h:161:
error: type specifier omitted for parameter `PedSector'
qp_libparted.h:161: error: type specifier omitted for parameter
`PedSector' qp_libparted.h:162: error: type specifier omitted for
parameter `PedSector' qp_libparted.h:162: error: type specifier omitted
for parameter `PedSector' qp_libparted.h:163: error: syntax error before
`*' token qp_libparted.h:164: error: type specifier omitted for
parameter `PedSector' qp_libparted.h:164: error: type specifier omitted
for parameter `PedSector' qp_libparted.h:174: error: type specifier
omitted for parameter `PedSector' qp_libparted.h:174: error: type
specifier omitted for parameter `PedSector' qp_libparted.h:175: error:
syntax error before `)' token qp_libparted.h:176: error: `PedPartition'
was not declared in this scope qp_libparted.h:176: error: syntax error
before `)' token qp_libparted.h:177: error: `PedDisk' was not declared
in this scope qp_libparted.h:177: error: syntax error before `)' token
qp_libparted.h:178: error: syntax error before `*' token
In file included from qp_window.h:40,
from main.cpp:37:
qp_dlgcreate.h:46: error: `PedSector' was not declared in this scope
qp_dlgcreate.h:46: error: syntax error before `)' token
qp_dlgcreate.h:51: error: syntax error before `)' token
qp_dlgcreate.h:57: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgcreate.h:67: error: `PedSector' was not declared in this scope
qp_dlgcreate.h:67: error: invalid data member initialization
qp_dlgcreate.h:67: error: variable or field `slotSizeChanged' declared
void In file included from qp_dlgresize.h:34,
from qp_window.h:42,
from main.cpp:37:
qp_sizepart.h:47: error: `PedSector' was not declared in this scope
qp_sizepart.h:47: error: invalid data member initialization
qp_sizepart.h:47: error: variable or field `setMaxPartSector' declared
void qp_sizepart.h:48: error: `PedSector' was not declared in this scope
qp_sizepart.h:48: error: invalid data member initialization
qp_sizepart.h:48: error: variable or field `setMinPartSector' declared
void qp_sizepart.h:49: error: `PedSector' was not declared in this scope
qp_sizepart.h:49: error: invalid data member initialization
qp_sizepart.h:49: error: variable or field `setStartPartSector' declared
void qp_sizepart.h:50: error: `PedSector' was not declared in this scope
qp_sizepart.h:50: error: invalid data member initialization
qp_sizepart.h:50: error: variable or field `setEndPartSector' declared
void qp_sizepart.h:51: error: `PedSector' was not declared in this scope
qp_sizepart.h:51: error: invalid data member initialization
qp_sizepart.h:51: error: variable or field `setGrowStartPartSector'
declared void
qp_sizepart.h:52: error: `PedSector' was not declared in this scope
qp_sizepart.h:52: error: invalid data member initialization
qp_sizepart.h:52: error: variable or field `setGrowEndPartSector'
declared void qp_sizepart.h:62: error: 'PedSector' is used as a type,
but is not defined as a type.
qp_sizepart.h:63: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_sizepart.h:64: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_sizepart.h:65: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_sizepart.h:66: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_sizepart.h:67: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_sizepart.h:70: error: `PedSector' was not declared in this scope
qp_sizepart.h:70: error: invalid data member initialization
qp_sizepart.h:70: error: variable or field `sigChangedStart' declared
void qp_sizepart.h:71: error: `PedSector' was not declared in this scope
qp_sizepart.h:71: error: invalid data member initialization
qp_sizepart.h:71: error: variable or field `sigChangedEnd' declared void
qp_sizepart.h:72: error: `PedSector' was not declared in this scope
qp_sizepart.h:72: error: `PedSector' was not declared in this scope
qp_sizepart.h:72: error: invalid data member initialization
qp_sizepart.h:72: error: variable or field `sigChangedPos' declared void
In file included from qp_window.h:42,
from main.cpp:37:
qp_dlgresize.h:47: error: `PedSector' was not declared in this scope
qp_dlgresize.h:47: error: invalid data member initialization
qp_dlgresize.h:47: error: variable or field `setMaxPartSector' declared
void qp_dlgresize.h:48: error: `PedSector' was not declared in this
scope qp_dlgresize.h:48: error: invalid data member initialization
qp_dlgresize.h:48: error: variable or field `setMinPartSector' declared
void qp_dlgresize.h:49: error: `PedSector' was not declared in this
scope qp_dlgresize.h:49: error: invalid data member initialization
qp_dlgresize.h:49: error: variable or field `setStartPartSector'
declared void qp_dlgresize.h:50: error: `PedSector' was not declared in
this scope qp_dlgresize.h:50: error: invalid data member initialization
qp_dlgresize.h:50: error: variable or field `setEndPartSector' declared
void qp_dlgresize.h:51: error: `PedSector' was not declared in this
scope qp_dlgresize.h:51: error: invalid data member initialization
qp_dlgresize.h:51: error: variable or field `setGrowStartPartSector'
declared void
qp_dlgresize.h:52: error: `PedSector' was not declared in this scope
qp_dlgresize.h:52: error: invalid data member initialization
qp_dlgresize.h:52: error: variable or field `setGrowEndPartSector'
declared void
qp_dlgresize.h:60: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgresize.h:61: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgresize.h:62: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgresize.h:63: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgresize.h:64: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgresize.h:65: error: 'PedSector' is used as a type, but is not
defined as a type.
qp_dlgresize.h:69: error: `PedSector' was not declared in this scope
qp_dlgresize.h:69: error: invalid data member initialization
qp_dlgresize.h:69: error: variable or field `slotChangedStart' declared
void qp_dlgresize.h:70: error: `PedSector' was not declared in this
scope qp_dlgresize.h:70: error: invalid data member initialization
qp_dlgresize.h:70: error: variable or field `slotChangedEnd' declared
void qp_dlgresize.h:71: error: `PedSector' was not declared in this
scope qp_dlgresize.h:71: error: `PedSector' was not declared in this
scope qp_dlgresize.h:71: error: invalid data member initialization
qp_dlgresize.h:71: error: variable or field `slotChangedPos' declared
void qp_dlgresize.h:72: error: `PedSector' was not declared in this
scope qp_dlgresize.h:72: error: invalid data member initialization
qp_dlgresize.h:72: error: variable or field `slotFreeBeforeChanged'
declared void
qp_dlgresize.h:73: error: `PedSector' was not declared in this scope
qp_dlgresize.h:73: error: invalid data member initialization
qp_dlgresize.h:73: error: variable or field `slotFreeAfterChanged'
declared void
qp_dlgresize.h:74: error: `PedSector' was not declared in this scope
qp_dlgresize.h:74: error: invalid data member initialization
qp_dlgresize.h:74: error: variable or field `slotNewSizeChanged'
declared void In file included from main.cpp:41:
qp_debug.h:26:31: warning: ISO C does not permit named variadic macros
make[3]: *** [main.o] Ошибка 1
make[3]: Leaving directory `/home/sergei/tmp/qtparted-0.4.4/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/sergei/tmp/qtparted-0.4.4/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/sergei/tmp/qtparted-0.4.4'
make: *** [all] Ошибка 2
Не посоветуете ли с чем связана ошибка и как ее исправить