kpovmodeler on Fedora Core 4 and possibly previous versions

D. Stimits stimits at comcast.net
Fri Aug 19 22:40:29 CEST 2005


Sorry it's taking me a while to get back on this...

William K. Volkman wrote:
> I read in the archives that some think there is a license issue
> which is keeping kpovmodeler from being included in the Fedora
> distributions.  I'm using Fedora Core 4 and just grabbed
> the updated src rpm (kdegraphics-3.4.2-0.fc4.1.src.rpm)
> installed it and examined the .spec file, perhaps the real
> issue is it was just forgotten.  Inside I found:
> 
> %define kpovmodeler 0
> 
> And then further down:
> 
> # disable kpovmodeler temporary. waiting for freeglut
> %if !%{kpovmodeler}

I'm using the 1.0 tarball, rather than rpm. I was unable to find a 
fedora core 4 rpm. So for me no spec file issues. What I see is a 
compile failure, possibly this failure is only on gcc4, but I'm not 
certain. The compile snippet (a rather large one) is pasted at the end 
of this. I wish I knew what software was supposed to provide the missing 
declarations.

It's worth noting that Qt 3.3.4 and gcc4 will produce warnings that have 
no effect for the Qt code. Most Qt warnings can be ignored when compiled 
on gcc4.

D. Stimits, stimits AT comcast DOT net

make[3]: Entering directory 
`/usr/local/src/download/kpovmodeler-1.0/kpovmodeler'
source='pmpart.cpp' object='pmpart.lo' libtool=yes \
depfile='.deps/pmpart.Plo' tmpdepfile='.deps/pmpart.TPlo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/kde 
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT 
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic 
-W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-c -o pmpart.lo `test -f pmpart.cpp || echo './'`pmpart.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid 
for Ada/C/ObjC but not for C++
pmcommand.h:105: error: 'PMCommandManager' has not been declared
pmcommand.h:107: error: 'PMCommandManager' has not been declared
pmpart.cpp: In member function 'bool PMPart::exportPovray(const KURL&)':
pmpart.cpp:770: warning: 'isMalformed' is deprecated (declared at 
/usr/include/kde/kurl.h:534)
pmpart.cpp:800: warning: 'upload' is deprecated (declared at 
/usr/include/kde/kio/netaccess.h:159)
pmpart.cpp: In member function 'bool 
PMPart::dragMoveSelectionTo(PMObject*)':
pmpart.cpp:1092: error: cannot allocate an object of abstract type 
'PMMoveCommand'
pmmovecommand.h:37: note:   because the following virtual functions are 
pure within 'PMMoveCommand':
pmcommand.h:105: note:  virtual void PMCommand::execute(int*)
pmcommand.h:107: note:  virtual void PMCommand::undo(int*)
pmpart.cpp:1105: error: cannot allocate an object of abstract type 
'PMMoveCommand'
pmmovecommand.h:37: note:   since type 'PMMoveCommand' has pure virtual 
functions
pmpart.cpp:1108: error: cannot allocate an object of abstract type 
'PMMoveCommand'
pmmovecommand.h:37: note:   since type 'PMMoveCommand' has pure virtual 
functions
pmpart.cpp: In member function 'bool PMPart::removeSelection(const 
QString&)':
pmpart.cpp:1128: error: cannot allocate an object of abstract type 
'PMDeleteCommand'
pmdeletecommand.h:73: note:   because the following virtual functions 
are pure within 'PMDeleteCommand':
pmcommand.h:105: note:  virtual void PMCommand::execute(int*)
pmcommand.h:107: note:  virtual void PMCommand::undo(int*)
pmpart.cpp: In member function 'bool PMPart::insertFromParser(const 
QString&, PMParser*, PMObject*)':
pmpart.cpp:1234: error: cannot allocate an object of abstract type 
'PMAddCommand'
pmaddcommand.h:36: note:   because the following virtual functions are 
pure within 'PMAddCommand':
pmcommand.h:105: note:  virtual void PMCommand::execute(int*)
pmcommand.h:107: note:  virtual void PMCommand::undo(int*)
pmpart.cpp: In member function 'void PMPart::slotNewObject(PMObject*)':
pmpart.cpp:1601: error: cannot allocate an object of abstract type 
'PMAddCommand'
pmaddcommand.h:36: note:   since type 'PMAddCommand' has pure virtual 
functions
pmpart.cpp:1605: error: cannot allocate an object of abstract type 
'PMAddCommand'
pmaddcommand.h:36: note:   since type 'PMAddCommand' has pure virtual 
functions
pmpart.cpp:1610: error: cannot allocate an object of abstract type 
'PMAddCommand'
pmaddcommand.h:36: note:   since type 'PMAddCommand' has pure virtual 
functions
pmpart.cpp:1613: error: cannot allocate an object of abstract type 
'PMAddCommand'
pmaddcommand.h:36: note:   since type 'PMAddCommand' has pure virtual 
functions


More information about the kpovmodeler-devel mailing list