LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   errors compiling qtparted (https://www.linuxquestions.org/questions/linux-software-2/errors-compiling-qtparted-181215/)

mrosati 05-13-2004 06:01 PM

errors compiling qtparted
 
hi.

i am really becoming mad trying to compile this pakage...

- the version of the program is qtparted 0.4.0

i have already installed these packages:

- parted 1.2.14
- jfsutils 1.1.6
- ntfsprogs 1.9.2
- progreiserfs 0.3.0.4
- xfsprogs 2.6.10
- e2fsprogs 1.35
- qt 3.2.1

first of all i type

% make -f Makefile.dist
% ./configure --prefix=/usr
# make

[here is my output...i have omitted the first(working)lines]

########################################
qp_devlist.cpp: In member function `bool QP_Device::newPartTable()':
qp_devlist.cpp:76: `ped_device_is_busy' undeclared (first use this function)
qp_devlist.cpp:76: (Each undeclared identifier is reported only once for each
function it appears in.)
qp_devlist.cpp:83: `ped_disk_new_fresh' undeclared (first use this function)
qp_devlist.cpp:87: `ped_disk_commit' undeclared (first use this function)
qp_devlist.cpp:89: `ped_disk_destroy' undeclared (first use this function)
make[3]: *** [qp_devlist.o] Error 1
make[3]: Leaving directory `/home/matteo/qtparted-0.4.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/matteo/qtparted-0.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matteo/qtparted-0.4.0'
make: *** [all] Error 2
########################################

please help me what is my mistake? i have tried lots of different (older) versions but the problem persists.....
i have also tried to find help in the official website http://qtparted.sourceforge.net but i couldnt find answers...

thank you

Matteo

lyle_s 05-13-2004 06:44 PM

Those undeclared variables are supposed to be declared in $PREFIX/include/parted/parted.h. Maybe you're missing this file, or you don't have permission to read it. Maybe $PREFIX/include/parted/parted.h is part of a parted-devel package or a libparted or libparted-devel package that you need to install.

Lyle

mrosati 05-14-2004 03:22 AM

in qtparted website they wrote that only "parted" was necessary to complete installation....aand so i did, i installed it two times! is there anybody who managed to install that damned program?!?!

thank you!

Matteo


All times are GMT -5. The time now is 01:47 PM.