Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, March 2002
Qt 3.0.2 compile problems


Message 1 in thread

Hello everyone,

I am a complete newbie regarding Qt and at this moment I can't get the
installation past the ./configure stage.
I am running SuSE Linux 7.2 (custom kernel 2.4.12) on an AMD Athlon with
an installation of Qt 2.3.1 which came as an rpm with the SuSE CD's. Now
I am trying to install version 3.0.2 (free edition). When I run
./configure it quits almost immediately with the following error:

   This is the Qt Free Edition.
   .
   .
   .
   Do you accept the terms of either license?
   yes
   Creating qmake. Please wait...
   g++: installation problem, cannot exec `cpp0': No such file or directory
   gmake: *** [pbuilder_pbx.dep] Error 1
   QMake failed to build. Aborting.

It apparently has a problem compiling qmake. When I execute 'make -d' in
the opt/qmake directory I get the following output:

   GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
   Built for i586-pc-linux-gnu
   .
   .
   .
   Report bugs to <bug-make@gnu.org>.

   Reading makefiles...
   Reading makefile `GNUmakefile'...
   Child access: user 0 (real 0), group 0 (real 0)
   Got a SIGCHLD; 1 unreaped children.
   Reading makefile `project.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `main.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `makefile.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `unixmake2.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `unixmake.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `borland_bmake.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `msvc_nmake.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `msvc_dsp.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `option.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `winmakefile.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `projectgenerator.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `metrowerks_xml.dep' (search path) (don't care) (no ~ expansion)...
   Reading makefile `pbuilder_pbx.dep' (search path) (don't care) (no ~ expansion)...
   Updating makefiles....
    Considering target file `pbuilder_pbx.dep'.
     File `pbuilder_pbx.dep' does not exist.
     Looking for an implicit rule for `pbuilder_pbx.dep'.
     Trying pattern rule with stem `pbuilder_pbx'.
     Trying implicit prerequisite `pbuilder_pbx.c'.
     Trying pattern rule with stem `pbuilder_pbx'.
     Trying implicit prerequisite `pbuilder_pbx.cpp'.
     Found an implicit rule for `pbuilder_pbx.dep'.
      Considering target file `pbuilder_pbx.cpp'.
       Looking for an implicit rule for `pbuilder_pbx.cpp'.
       Trying pattern rule with stem `pbuilder_pbx.cpp'.
       Trying implicit prerequisite `pbuilder_pbx.cpp,v'.
       Trying pattern rule with stem `pbuilder_pbx.cpp'.
       Trying implicit prerequisite `RCS/pbuilder_pbx.cpp,v'.
       Trying pattern rule with stem `pbuilder_pbx.cpp'.
       Trying implicit prerequisite `RCS/pbuilder_pbx.cpp'.
       Trying pattern rule with stem `pbuilder_pbx.cpp'.
       Trying implicit prerequisite `s.pbuilder_pbx.cpp'.
       Trying pattern rule with stem `pbuilder_pbx.cpp'.
       Trying implicit prerequisite `SCCS/s.pbuilder_pbx.cpp'.
       No implicit rule found for `pbuilder_pbx.cpp'.
       Finished prerequisites of target file `pbuilder_pbx.cpp'.
      No need to remake target `pbuilder_pbx.cpp'; using VPATH name `generators/mac/pbuilder_pbx.cpp'.
     Finished prerequisites of target file `pbuilder_pbx.dep'.
    Must remake target `pbuilder_pbx.dep'.
   Child access: user 0 (real 0), group 0 (real 0)
   Putting child 0x08075278 (pbuilder_pbx.dep) PID 1584 on the chain.
   Live child 0x08075278 (pbuilder_pbx.dep) PID 1584
   g++: installation problem, cannot exec `cpp0': No such file or directory
   Got a SIGCHLD; 1 unreaped children.
   Reaping losing child 0x08075278 PID 1584
   make: *** [pbuilder_pbx.dep] Error 1
   Removing child 0x08075278 PID 1584  from chain.

Should I have an executable 'cpp0' in the PATH? Isn't this pbuilder stuff
MAC related? It is configuring for linux-g++, I even forced it on another
try.

Can anybody shed some light on this one? Thanx a lot in advance!


	Ben

----------------------------------------------------
Ben Swerts
University of Antwerp - Dept. of Chemistry (C2.29)
Universiteitsplein 1
B-2610 Wilrijk           email: bswerts@uia.ua.ac.be
Belgium                    tel: +32-3-820.23.57
----------------------------------------------------


Message 2 in thread

Hi,

> I am running SuSE Linux 7.2 (custom kernel 2.4.12) on an AMD Athlon with
> an installation of Qt 2.3.1 which came as an rpm with the SuSE CD's. Now
> I am trying to install version 3.0.2 (free edition). When I run
> ./configure it quits almost immediately with the following error:
> [...]
>    g++: installation problem, cannot exec `cpp0': No such file or directory

As it says, this is a g++ installation problem. The compiler
is not installed properly. I don't know how it's broken though.
You could try reinstalling it.

Dimitri