t-artistik / qtscriptgenerator

Automatically exported from code.google.com/p/qtscriptgenerator
0 stars 0 forks source link

Failure to find: ../../generated_cpp/com_trolltech_qt_phonon/main.cpp #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Read README and follow the steps
2. Use Suse 10.3
3. gcc -v
cmd started at: 080728 10:53:16
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--program-suffix=-4.2 --enable-version-specific-runtime-libs
--without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)

I pulled the svn on 080725

What is the expected output? What do you see instead?
no compile errors

What version of the product are you using? On what operating system?
see above

Please provide any additional information below.

Original issue reported on code.google.com by peter.de...@gmail.com on 28 Jul 2008 at 5:54

GoogleCodeExporter commented 8 years ago
Opps. Forget to include more of the make output:

make[2]: Entering directory
`/users/peter/downloads/software/qt/generator/svn.080725/qtbindings/qtscript_pho
non'
make[2]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_phonon/main.cpp', needed by 
`debug/main.o'.  Stop.
make[2]: Leaving directory
`/users/peter/downloads/software/qt/generator/svn.080725/qtbindings/qtscript_pho
non'
make[1]: *** [debug] Error 2

Original comment by peter.de...@gmail.com on 28 Jul 2008 at 5:55

GoogleCodeExporter commented 8 years ago
You need KDE qt-copy or (unreleased) 4.4.1 to build the generator. Though if 
that was
the problem it probably would've errored out a lot sooner. But regardless, post 
the
results of the generator command (where it shows how many classes have been 
created).

Original comment by ian.mon...@gmail.com on 29 Jul 2008 at 12:58

GoogleCodeExporter commented 8 years ago
...
WARNING(MetaJavaBuilder) :: Class 'QNetworkProxy' has equals operators but no 
qHash()
function
WARNING(MetaJavaBuilder) :: Class 'QXmlStreamEntityDeclaration' has equals 
operators
but no qHash() function
Classes in typesystem: 507
Generated:
  - classes...: 488 (488)
  - header....: 325 (325)
  - impl......: 325 (325)
  - modules...: 10 (10)
  - pri.......: 10 (10)

Done, 219 warnings (596 known issues)

Original comment by peter.de...@gmail.com on 30 Jul 2008 at 5:54

GoogleCodeExporter commented 8 years ago
also forgot to say that the error happened at this stage of the build
(from README)

cd ../qtbindings
qmake
make |& tee make.out
9 min 45 sec

failed with:
WARNING: Failure to find: ../../generated_cpp/com_trolltech_qt_phonon/main.cpp
*** No rule to make target 
`../../generated_cpp/com_trolltech_qt_phonon/main.cpp',
needed by `debug/main.o'.  Stop.

Original comment by peter.de...@gmail.com on 30 Jul 2008 at 5:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have this error in gentoo* (regen2) with gcc 4.3.3 and qt-4.5.0

Original comment by XenoTerr...@gmail.com on 22 Mar 2009 at 1:54

GoogleCodeExporter commented 8 years ago
well at least I think it's the same...

WARNING: Failure to find: ../../generated_cpp/com_trolltech_qt_phonon/main.cpp  
WARNING: Failure to find: ../../generated_cpp/com_trolltech_qt_phonon/main.cpp  
cd qtscript_phonon/ && make -f Makefile                                         
make[1]: Entering directory
`/var/tmp/portage/x11-libs/qtscriptgenerator-0.1.0/work/qtscriptgenerator-src-0.
1.0/qtbindings/qtscript_phonon'

make -f Makefile.Release                                                        
make[2]: Entering directory
`/var/tmp/portage/x11-libs/qtscriptgenerator-0.1.0/work/qtscriptgenerator-src-0.
1.0/qtbindings/qtscript_phonon'

make[2]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_phonon/main.cpp', needed by 
`release/main.o'. 
Stop.                                  
make[2]: Leaving directory
`/var/tmp/portage/x11-libs/qtscriptgenerator-0.1.0/work/qtscriptgenerator-src-0.
1.0/qtbindings/qtscript_phonon'

make[1]: *** [release] Error 2                                                  
make[1]: Leaving directory
`/var/tmp/portage/x11-libs/qtscriptgenerator-0.1.0/work/qtscriptgenerator-src-0.
1.0/qtbindings/qtscript_phonon'

make: *** [sub-qtscript_phonon-make_default] Error 2                    

Original comment by XenoTerr...@gmail.com on 22 Mar 2009 at 1:56

GoogleCodeExporter commented 8 years ago
generated_cpp/com_trolltech_qt_phonon/ isn't created... hmm... maybe it has 
something
to do with building using kde's phonone? I'm using the patch from bug 39

Original comment by XenoTerr...@gmail.com on 22 Mar 2009 at 3:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Has this been fixed? I'm trying to compile qtscriptgenerator so as to fulfill
dependency for amarok.
Using kde-qt from git. Output of generator-

** WARNING unknown directive '#warning' at
/home/kde-devel/kde-qt/include/QtCore/qglobal.h:311
WARNING(MetaJavaBuilder) :: enum 'QGradient::InterpolationMode' does not have a 
type
entry or is not an enum
Classes in typesystem: 522
Generated:
  - classes...: 503 (0)
  - header....: 339 (0)
  - impl......: 339 (0)
  - modules...: 10 (9)
  - pri.......: 10 (0)

Done, 1 warnings (877 known issues)

qmake && make output for qtbindings -

mv -f libqtscript_xml.so.1.0.0 libqtscript_xml.so libqtscript_xml.so.1
libqtscript_xml.so.1.0 ../../plugins/script/          
make[2]: Leaving directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings/qtscript_xml'   

make[1]: Leaving directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings/qtscript_xml'   

cd qtscript_phonon/ && /usr/bin/make -f Makefile                                

make[1]: Entering directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings/qtscript_phonon'

/usr/bin/make -f Makefile.Debug                                                 

make[2]: Entering directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings/qtscript_phonon'

make[2]: *** No rule to make target
`../../generated_cpp/com_trolltech_qt_phonon/main.cpp', needed by 
`debug/main.o'.  Stop. 
make[2]: Leaving directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings/qtscript_phonon'

make[1]: *** [debug] Error 2                                                    

make[1]: Leaving directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings/qtscript_phonon'

make: *** [sub-qtscript_phonon-make_default] Error 2                            

makeobj[0]: Leaving directory
`/home/kde-devel/Desktop/qtscriptgenerator-src-0.1.0/qtbindings'

Please provide a fix or workaround

Original comment by jhahon...@gmail.com on 11 Sep 2009 at 5:17

GoogleCodeExporter commented 8 years ago
The workaround patch at
http://code.google.com/p/qtscriptgenerator/issues/detail?id=39 helps to solve 
this
problem. Hope this helps :)

Original comment by jhahon...@gmail.com on 11 Sep 2009 at 12:25