[Paraview] Re: CVS Compile Error

clinton at elemtech.com clinton at elemtech.com
Mon Oct 1 14:42:34 EDT 2007


Try configuring Qt with -prefix, not --prefix.
Do a "make confclean" then configure, make, make install.

Clint

On Monday 01 October 2007 2:39:35 pm Fabian Braennstroem wrote:
> clinton at elemtech.com schrieb am 10/01/2007 06:22 PM:
> > In
> > /home/fab/HOME/Dissertation/simulation_calc/qt4_2/mkspecs
> > do you have a default symlink -> to linux-g++ or something?
>
> It is a normal directory:
> localhost~/HOME/Dissertation/simulation_calc/qt4_2/mkspecs$
> cd linux-g++
> localhost~/HOME/Dissertation/simulation_calc/qt4_2/mkspecs/linux-g++$
> ls -rlt
> total 20
> -rw-------  1 fab users 4395 Sep 29 17:55 qplatformdefs.h
> -rw-------  1 fab users  260 Sep 29 17:55 qmake.conf
>
> > There's something wrong with your Qt setup if qmake keeps complaining
> > about this.  Did you simply do
> > "./configure -prefix /home/fab/HOME/Dissertation/simulation_calc/qt4_2 &&
> > make && make install" ?
>
> Yes, kind of
> /configure
> --prefix=/home/fab/HOME/Dissertation/simulation_calc/qt4_2
> afterwards:
> gmake
> and
> gmake install
>
> Thanks!
> Fabian
>
> > On Monday 01 October 2007 2:15:27 pm Fabian Braennstroem wrote:
> >> Hi Clinton,
> >>
> >> clinton at elemtech.com schrieb am 10/01/2007 03:25 PM:
> >>> And if you run
> >>> qmake -query QMAKE_MKSPECS
> >>> what directory(ies) does it give you?  And that directory should
> >>> contain a subdirectory "linux-g++"
> >>
> >> Thanks for your help!
> >> I get:
> >>
> >> localhost~/HOME/Dissertation/simulation_calc$
> >> ./qt4_2/bin/qmake -query QMAKE_MKSPECS
> >> /home/fab/HOME/Dissertation/simulation_calc/qt4_2/mkspecs
> >>
> >> localhost~/HOME/Dissertation/simulation_calc/qt4_2/mkspecs$ ls
> >> total 428
> >> ...
> >> linux-g++
> >> ...
> >>
> >> It seems to be all right!?
> >> Fabian
> >>
> >>> Clint
> >>>
> >>> On Sunday 30 September 2007 8:48:04 am Fabian Braennstroem wrote:
> >>>> Hi to both,
> >>>>
> >>>> Clinton Stimpson schrieb am 09/29/2007 10:13 PM:
> >>>>> Is this your own build of Qt?  If so, did you "make
> >>>>
> >>>> install" it?
> >>>>
> >>>>> To double check, if you do "echo $QMAKESPEC" that gives
> >>>>
> >>>> you what you
> >>>>
> >>>>> set, right?
> >>>>> What version of CMake?
> >>>>
> >>>> I build qt 4.2.3 by my own, could not find any package for
> >>>> scientific linux (redhat clone) 4.4 and I used an binary
> >>>> cmake version 2.4.7.  Echoing QMAKESPEC gives:
> >>>> node1~$ echo $QMAKESPEC
> >>>> linux-g++
> >>>>
> >>>> Thanks for your help!
> >>>> Fabian
> >>>>
> >>>>> Clint
> >>>>>
> >>>>> Fabian Braennstroem wrote:
> >>>>>> Hi,
> >>>>>> I just tried to compile paraview cvs on a scientific-linux
> >>>>>> (redhat enterprise clone) using qt 4.2.
> >>>>>> Unfortunately, it stopped with this error:
> >>>>>>
> >>>>>> [ 22%] Generating moc_QVTKWidget.cxx
> >>>>>> /bin/sh: QMAKESPEC has not been set, so configuration cannot
> >>>>>> be deduced.: command not found
> >>>>>> make[2]: *** [VTK/GUISupport/Qt/moc_QVTKWidget.cxx] Error 127
> >>>>>> make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/QVTK.dir/all] Error 2
> >>>>>> make: *** [all] Error 2
> >>>>>> 1419.376 user, 160.518 system, 28:05.85 real
> >>>>>>
> >>>>>> So I set it with in my .tcshrc (setenv QMAKESPEC
> >>>>>> 'linux-g++') and tried it in my .bashrc... but I get always
> >>>>>> the same error message!?
> >>>>>> Does anyone know, what kind of problem I got?
> >>>>>> Greetings!
> >>>>>> Fabian
> >>>>>> _______________________________________________
> >>>>>> ParaView mailing list
> >>>>>> ParaView at paraview.org
> >>>>>> http://www.paraview.org/mailman/listinfo/paraview
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview




More information about the ParaView mailing list