Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
but make errors out, here are the first few lines:
Code:
[root@localhost qtparted-0.4.4]# make
make all-recursive
make[1]: Entering directory `/usr/local/qtparted-0.4.4'
Making all in src
make[2]: Entering directory `/usr/local/qtparted-0.4.4/src'
make[3]: Entering directory `/usr/local/qtparted-0.4.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/lib/qt-3.1/include -I-I/usr/lib/qt-3.1/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.
and the end
Code:
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] Error 1
make[3]: Leaving directory `/usr/local/qtparted-0.4.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/qtparted-0.4.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/qtparted-0.4.4'
make: *** [all] Error 2
I am guessing that I am missing some files but it is not clear which ones.
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103
Rep:
Hi chefmark,
it seems you're missing some source files. First of all, you might want to check the source tree of qtparted for this parted.h file. If it is not there, you might need to install another package named libparted-devel. In my distro (SuSE 9.0) I do already have all parted components installed so compilation from source for qtparted flows without any problem.
If the parted.h file is there, then you might need to symlink it to the referenced path (parted/parted.h). In the code in your post the directory /usr/local/qtparted-0.4.4/src lacks of the parted subdirectory, so you might need to create such one or to symlink the existing parted.h to /usr/local/qtparted-0.4.4/src/parted/parted.h
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103
Rep:
Quote:
Originally posted by chefmark Thanks again sbogus, please allow me to buy you your vitual beverage of choice
I don't have time (damn job) to do it now but I will in the next couple of days.
Thanks again,
mark
Nothing to thank for chefmark, just trying to help out of a problem.
About the drink... ehhmmmm, what about one pure JackDaniel's? That's my favorite whisky drink.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.