Bug 47455

Summary: compile fails with projectView.h: No such file or directory
Product: [Applications] kdevelop Reporter: Aaron Williams <aaronw>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aaron Williams 2002-09-05 04:01:39 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.1.3_for_KDE_3.0 (using KDE 3.0.3 )
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3
OS:                Solaris
OS/Compiler notes: Solaris 2.7 running on UltraSparc

I cannot compile kdevelop 2.1.3.  I downloaded the tarball source code uncompressed it and ran configure like I did for the rest of KDE 3.0.3 and I get the following error when I attempt to compile it:

/bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/tools/kde/3.0.3/include -I/tools/qt/qt-3.0.5/include   -I/tools/qt/share/include  -DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o kpp.lo `test -f 'kpp.cpp' || echo './'`kpp.cpp
In file included from kpp.cpp:33:
kpp.h:24: projectView.h: No such file or directory
make[3]: *** [kpp.lo] Error 1
make[3]: Leaving directory `/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0/kdevelop/kpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0/kdevelop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0'
make: *** [all] Error 2


(Submitted via bugs.kde.org)
Comment 1 Harald Fernengel 2002-09-05 10:25:33 UTC
Hi

projectView.h is an auto-generated file please make sure that "uic" is in=
=20
your $PATH.

Try running "make projectView.h" in kdevelop/kpp and see whether there are=
=20
errors.

Best regards
Harry
Comment 2 Aaron Williams 2002-09-05 18:33:32 UTC
There was no rule in the makefile to build projectView.h.  It looks like 
there is a problem with make.  I am running Gnu Make 3.79.1.  uic is in 
the path.

I manually ran uic on the two files in the directory and kpp now 
compiles.  I now see it fail in classwizard I'm guessing for similar 
reasons.  I'll keep working on it but here's the latest output:


Making all in classwizard
make[3]: Entering directory 
`/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0/kdevelop/classwizard'
source='ccwvirtualmethodview.cpp' object='ccwvirtualmethodview.o' 
libtool=no \
depfile='.deps/ccwvirtualmethodview.Po' 
tmpdepfile='.deps/ccwvirtualmethodview.TPo' \
depmode=gcc /bin/sh ../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/tools/kde/3.0.3/include 
-I/tools/qt/qt-3.0.5/include   -I/tools/qt/share/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DUSE_SOLARIS -DSVR4  -Wnon-virtual-dtor -Wno-long-long 
-Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 
-fno-exceptions -fno-check-new -ftemplate-depth-99 -c -o 
ccwvirtualmethodview.o `test -f 'ccwvirtualmethodview.cpp' || echo 
'./'`ccwvirtualmethodview.cpp
ccwvirtualmethodview.cpp:286: ccwvirtualmethodview.moc: No such file or 
directory
make[3]: *** [ccwvirtualmethodview.o] Error 1
make[3]: Leaving directory 
`/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0/kdevelop/classwizard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0/kdevelop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/tools/kde/archive/3.0.3/kdevelop-2.1.3_for_KDE_3.0'
make: *** [all] Error 2

-Aaron

Harald Fernengel wrote:

>Hi
>
>projectView.h is an auto-generated file please make sure that "uic" is in 
>your $PATH.
>
>Try running "make projectView.h" in kdevelop/kpp and see whether there are 
>errors.
>
>Best regards
>Harry
>
>(Complete bug history is available at http://bugs.kde.org/db/47/47455.html)
>  
>
Comment 3 Aaron Williams 2002-09-05 18:45:13 UTC
For some reason the rules for moc and uic were not added to the makefiles.

-Aaron

Harald Fernengel wrote:

>Hi
>
>projectView.h is an auto-generated file please make sure that "uic" is in 
>your $PATH.
>
>Try running "make projectView.h" in kdevelop/kpp and see whether there are 
>errors.
>
>Best regards
>Harry
>
>(Complete bug history is available at http://bugs.kde.org/db/47/47455.html)
>  
>
Comment 4 Harald Fernengel 2002-09-15 15:56:49 UTC
fixed, see message thread