kpovmodeler on Fedora Core 4 and possibly previous versions

William K. Volkman wkvsf at users.sourceforge.net
Sun Aug 21 07:17:59 CEST 2005


On Fri, 2005-08-19 at 14:40 -0600, D. Stimits wrote:
> 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.

I pulled the source rpm for kdegraphics from the core/updates/4/SRPMS
directory on a fedora core mirror site that has sources.

>  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.

Here is the line from mine which finishes without complaint:
make[1]: Entering directory
`/var/lib/redhat/BUILD/kdegraphics-3.4.2/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 -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -O2 -O2
-g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
-mtune=pentium4 -fasynchronous-unwind-tables -fno-use-cxa-atexit
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o pmpart.lo `test -f
'pmpart.cpp' || echo './'`pmpart.cpp

Note fedora is using the kdegraphics-3.4.2.tar.bz2 as the source,
perhaps
try using that instead of the standalone tar ball.

HTH,
William.

> 
> 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'




More information about the kpovmodeler-devel mailing list