error: configure.bat using latest mingw/cvs

Steven Boothe steven at poiema.org
Fri Feb 18 05:59:13 CET 2005


Peter Kümmel wrote:
> Steven Boothe wrote:
> 
>> 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
> 
> 
> Sorry, this is bug in the recipe. Use
> 
> C:\source\qt-3> set QMAKESPEC=win32-msvc
> C:\source\qt-3> bin\configure.exe -debug -static
> 
> Peter

Here's the output I did end up with following this path:

For ...
For C:\source\qt-3\tutorial\tutorial.pro
Building qt...
'nmake' is not recognized as an internal or external command,
operable program or batch file.

C:\Source\qt-3>

I'm thinking this isn't a good thing if it happened while attempting to "build 
qt...".

Any thoughts?


More information about the kde-cygwin mailing list