LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-02-2004, 05:08 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
can't compile qtparted, config OK, make failing


trying to install qtparted, ./configure is OK:

Code:
[root@localhost qtparted-0.4.4]# ./configure  --disable-ntfs --disable-jfs --disable-xfs --disable-reiserfs
Code:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/qp_options.h
config.status: creating data/Makefile
config.status: creating data/run_qtparted
config.status: creating ts/Makefile
config.status: creating doc/Makefile
config.status: creating redhat/qtparted-x11.spec
config.status: creating redhat/qtparted-embedded.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
creating qptypes.h
qptypes.h is unchanged
 
global configuration
--------------------
system                  : "linux"
PREFIX                  : "NONE"
QTPARTED_LDFLAGS        : ""
QTPARTED_LIBS           : ""
QTDIR                   : "/usr/lib/qt-3.1"
Qt translation compiler : "/usr/bin/lrelease"
 
supported file systems (0=no, 1=yes)
------------------------------------
ReiserFS                : 0
Ext2fs/ext3fs           : 1
Windows NTFS:           : 0
Ibm JFS:                : 0
Sgi XFS:                : 0
 
Type "make" to compile QtParted
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.

Thank you for any help on this,

mark
 
Old 06-02-2004, 11:21 AM   #2
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
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

Kind regards,
sbogus
 
Old 06-03-2004, 08:37 AM   #3
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
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
 
Old 06-03-2004, 09:19 AM   #4
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
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.

Thanks and good luck.

Kind regards,
sbogus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile 2.6.9 keeps failing. musicman_ace SUSE / openSUSE 6 11-27-2004 04:16 AM
qtparted.... problems with make hobz Linux - Software 3 10-22-2004 12:56 PM
qtparted compile error sevi Linux - Newbie 0 09-03-2004 07:34 AM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM
Fedora2 kernel 2.6 compile. cant even make config (fixdep.c full of errors) qwijibow Linux - Software 4 06-20-2004 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration