Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

win32 build script failing

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


jonathan at snetram

Jul 20, 2008, 5:31 AM

Post #1 of 5 (696 views)
Permalink
win32 build script failing

After building mythtv succesful on Windows I unfortunately had to setup
a new environment (I deleted parts of it accidentaly) and after doing so
my build is failing with the following output:

Creating library file: liblibmythdb-0.22.a
make[2]: Leaving directory `/u/mythtv/mythtv/libs/libmythdb'
cd libmythupnp/ && make -f Makefile
make[2]: Entering directory `/u/mythtv/mythtv/libs/libmythupnp'
Makefile:193: warning: overriding commands for target `version.cpp'
Makefile:190: warning: ignoring old commands for target `version.cpp'
sh "/version.sh" "" ": http://svn.mythtv.org/svn/trunk/mythtv/version.pro "
sh: /version.sh: No such file or directory
make[2]: *** [version.cpp] Error 127
make[2]: Leaving directory `/u/mythtv/mythtv/libs/libmythupnp'
make[1]: *** [sub-libmythupnp-make_default-ordered] Error 2
make[1]: Leaving directory `/u/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2
EFFECT FAILED (newer -> shell): mtime of file
(U:/mythtv/mythtv/libs/libmyth/lib
myth-0.22.dll) should be greater than file
(U:/mythtv/mythtv/last_build.txt).
[0] [1216547444]

U:\>dir U:\mythtv\mythtv\last_build.txt
Volume in drive U is My Passport
Volume Serial Number is 54A5-509E

Directory of U:\mythtv\mythtv

20-07-2008 11:50 0 last_build.txt
1 File(s) 0 bytes
0 Dir(s) 293,649,842,176 bytes free


Which is in accordance with the timestamp returned at the end of the
error, as that converts to 20 July 2008 11:50:44.

Any one have a clue or a pointer?

Kind regards,

Jonathan

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


jonathan at snetram

Jul 20, 2008, 1:50 PM

Post #2 of 5 (653 views)
Permalink
Re: win32 build script failing [In reply to]

Jonathan Martens wrote:
> After building mythtv succesful on Windows I unfortunately had to setup
> a new environment (I deleted parts of it accidentaly) and after doing so
> my build is failing with the following output:
>
> Creating library file: liblibmythdb-0.22.a
> make[2]: Leaving directory `/u/mythtv/mythtv/libs/libmythdb'
> cd libmythupnp/ && make -f Makefile
> make[2]: Entering directory `/u/mythtv/mythtv/libs/libmythupnp'
> Makefile:193: warning: overriding commands for target `version.cpp'
> Makefile:190: warning: ignoring old commands for target `version.cpp'
> sh "/version.sh" "" ": http://svn.mythtv.org/svn/trunk/mythtv/version.pro "
> sh: /version.sh: No such file or directory
> make[2]: *** [version.cpp] Error 127
> make[2]: Leaving directory `/u/mythtv/mythtv/libs/libmythupnp'
> make[1]: *** [sub-libmythupnp-make_default-ordered] Error 2
> make[1]: Leaving directory `/u/mythtv/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2
> EFFECT FAILED (newer -> shell): mtime of file
> (U:/mythtv/mythtv/libs/libmyth/lib
> myth-0.22.dll) should be greater than file
> (U:/mythtv/mythtv/last_build.txt).
> [0] [1216547444]
>
> U:\>dir U:\mythtv\mythtv\last_build.txt
> Volume in drive U is My Passport
> Volume Serial Number is 54A5-509E
>
> Directory of U:\mythtv\mythtv
>
> 20-07-2008 11:50 0 last_build.txt
> 1 File(s) 0 bytes
> 0 Dir(s) 293,649,842,176 bytes free
>
>
> Which is in accordance with the timestamp returned at the end of the
> error, as that converts to 20 July 2008 11:50:44.
>
> Any one have a clue or a pointer?
>

After doing some digging it seems that somehow the pwd command is not
known when invocated from version.pro

cd libmythdb/ && u:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake.exe
libmythdb
.pro -win32 QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake -o
Makefile
cd libmythupnp/ && u:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake.exe
libmyth
upnp.pro -win32 QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake
-o Makef
ile
'pwd' is not recognized as an internal or external command,
operable program or batch file.
cd libmythui/ && u:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake.exe
libmythui
.pro -win32 QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake -o
Makefile
cd libmyth/ && u:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake.exe
libmyth.pro
-win32 QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake -o Makefile
cd libmythfreemheg/ &&
u:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake.exe lib
mythfreemheg.pro -win32
QMAKE=U:/MSys/1.0/qt-win-opensource-src-4.4.0/bin/qmake
-o Makefile
WARNING: Failure to find: version.cpp

and hence not supplying the proper values to access the version.sh file
that is there to create the version.cpp file.

After some manual editing in version.pro (adding the path that should
have been determined using the pwd command) I was able to get a little
further, but still errors as the output of the binary version number is
not set in version.cpp causing the make process to halt on an unexpected
semicolon (sorry did not copy the exact error message).

After setting the *myth_binary_version manually to "?", it seems I was
able to build (again), now waiting for it to finish.

Anyone has an idea on how to get version.pro properly execute the pwd
command when executing the make process so I can continue without
hacking like this?

Kind regards,

Jonathan

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


davidbuzz at gmail

Jul 20, 2008, 5:55 PM

Post #3 of 5 (652 views)
Permalink
Re: win32 build script failing [In reply to]

> Anyone has an idea on how to get version.pro properly execute the pwd
> command when executing the make process so I can continue without
> hacking like this?

how about doing this before starting?

1) locate where pwd.exe is.
2) export PATH=$PATH:/blah/folderwithpwd/
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


jonathan at snetram

Jul 20, 2008, 10:34 PM

Post #4 of 5 (650 views)
Permalink
Re: win32 build script failing [In reply to]

buzz wrote:
>> Anyone has an idea on how to get version.pro properly execute the pwd
>> command when executing the make process so I can continue without
>> hacking like this?
>
> how about doing this before starting?
>
> 1) locate where pwd.exe is.
> 2) export PATH=$PATH:/blah/folderwithpwd/

I was thinking somewhere along that line, but I thought the MSys /bin
folder already would be in the path environment variable as I can access
pwd from any directory within the MSys shell.

Will try to do this tonight (CET) and see if it brings me any improvement.

Thanks for your reply.

Jonathan

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


jonathan at snetram

Oct 16, 2008, 8:12 AM

Post #5 of 5 (232 views)
Permalink
Re: win32 build script failing [In reply to]

Jonathan Martens wrote:
> buzz wrote:
>>> Anyone has an idea on how to get version.pro properly execute the pwd
>>> command when executing the make process so I can continue without
>>> hacking like this?
>> how about doing this before starting?
>>
>> 1) locate where pwd.exe is.
>> 2) export PATH=$PATH:/blah/folderwithpwd/
>
> I was thinking somewhere along that line, but I thought the MSys /bin
> folder already would be in the path environment variable as I can access
> pwd from any directory within the MSys shell.
>
> Will try to do this tonight (CET) and see if it brings me any improvement.

Have not build MythTV on Windows for a while but started again the last
few days and finally resolved the pwd issue.

It seems my path environment for my user did include the PATH to pwd,
but the system PATH did not. Since the latter seems to be used by the
build script I ported the PATH settings to the system PATH variable
which fixed my issues. Posting this as it might be off help to future
readers.

Kind regards,

Jonathan

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.