error: configure.bat using latest mingw/cvs

Steven Boothe steven at poiema.org
Mon Feb 14 23:00:34 CET 2005


Steven Boothe wrote:
> Peter Kümmel wrote:
> 
>> Steven Boothe wrote:
>>
>>>>>> Building qt...
>>>>>> mingw32-make[1]: Entering directory `c:/Source/qt-3'
>>>>>> cd src\moc && mingw32-make
>>>>>> mingw32-make[2]: *** No targets specified and no makefile found.  
>>>>>> Stop.
>>>>>> mingw32-make[2]: Entering directory `C:/Source/qt-3/src/moc'
>>>>>> mingw32-make[2]: Leaving directory `C:/Source/qt-3/src/moc'
>>>>>> mingw32-make[1]: *** [src-moc] Error 2
>>>>>> mingw32-make[1]: Leaving directory `c:/Source/qt-3'
>>>>>> mingw32-make: *** [init] Error 2
>>>>>> C:\Source\qt-3>
>>
>>
>>
>> There must be a qmake.exe in c:/Source/qt-3/bin,
>> if not something goes wrong when compiling it.
>>
>> I've today changed the whole qt-3/qmake directory in cvs,
>> maybe that's the reason so you should try to update the
>> qmake sources:
>> Goto qt-3/qmake and use
>>     cvs -z6 up
>> to update qmake only (don't forget to enable cygwin).
>>
>> Start configure-mingw.bat again.
> 
> 
> Well I did exactly as you said with one, err two exceptions. The first 
> was that I merely ran c:\Source\qt-3\configure.bat as per instructions 
> on the kde-cygwin site. The next exception being what I experienced 
> while configure was running. I'll attach the error msg box that popped 
> up, and here is the output from my command line window:
> 
> copy qmake.exe ..\bin\qmake.exe
>         1 file(s) copied.
> Creating makefiles. Please wait...
> For c:\Source\qt-3\examples\aclock\aclock.pro
> For c:\Source\qt-3\examples\action\action.pro
> For c:\Source\qt-3\examples\action\toggleaction\toggleaction.pro
> For c:\Source\qt-3\examples\addressbook\addressbook.pro
> For c:\Source\qt-3\examples\application\application.pro
> For c:\Source\qt-3\examples\biff\biff.pro
> For c:\Source\qt-3\examples\buttongroups\buttongroups.pro
> For c:\Source\qt-3\examples\canvas\canvas.pro
> For c:\Source\qt-3\examples\chart\chart.pro
> For c:\Source\qt-3\examples\checklists\checklists.pro
> For c:\Source\qt-3\examples\cursor\cursor.pro
> For c:\Source\qt-3\examples\customlayout\customlayout.pro
> For c:\Source\qt-3\examples\dclock\dclock.pro
> For c:\Source\qt-3\examples\demo\demo.pro
> For c:\Source\qt-3\examples\desktop\desktop.pro
> For c:\Source\qt-3\examples\dirview\dirview.pro
> For c:\Source\qt-3\examples\distributor\distributor.pro
> For c:\Source\qt-3\examples\dragdrop\dragdrop.pro
> For c:\Source\qt-3\examples\drawdemo\drawdemo.pro
> For c:\Source\qt-3\examples\drawlines\drawlines.pro
> For c:\Source\qt-3\examples\examples.pro
> For c:\Source\qt-3\examples\extension\extension.pro
> For c:\Source\qt-3\examples\fileiconview\fileiconview.pro
> For c:\Source\qt-3\examples\fonts\fonts.pro
> ...
> 
> I ended up terminating the batch after fonts.pro. It was doing this for 
> each one of those example files.

I just tried again:

1). Applied service pack 4 to win2k
2). Logged into CVS, and did C:\source\qt-3> cvs -z6 update
3). C:\source> set QTDIR=C:\source\qt-3
  C:\source> set MINGW=C:\Dev-Cpp
  C:\source> set PATH=%QTDIR%\bin;%MINGW%\bin;%PATH%
4). stopped compiling after qmake (in the middle of something else)
5). C:\source\qt-3> set QMAKESPEC=win32-msvc -debug -static
6). C:\source\qt-3> bin\configure.exe

***Unknown option -debug
Usage: C:\source\qt-3\bin\qmake [mode] [options] [files]

My guess is that QMAKESPEC should not be set to equal "win32-msvc" etc???

Any thoughts???

Thanks in advance.

Steven

I just applied service pack 4 to my OS win2k, and then logged into cvs 
and updated qt-3, then tried running


More information about the kde-cygwin mailing list