Opened 10 years ago

Closed 10 years ago

#6799 closed defect (fixed)

version.sh mktemp implementation brakes win32 builds

Reported by: Jonathan Martens <jonathan@…> Owned by: Nigel
Priority: major Milestone: 0.22
Component: Ports - Windows Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Because of the recent changes to version.sh (as of changeset [21076]) and the fact that mktemp is not available on windows (MSys/MinGW) it can not create a version.cpp as the version.sh script errors out that the mktemp binary can not be found, this halts the build.

If have located a mktemp for MSys here but have not checked that it works with MythTV compilation under windows:

http://sourceforge.net/forum/forum.php?forum_id=629852

Attachments (1)

6799-mktemp.patch (1.4 KB) - added by Jeff Lu <jll544@…> 10 years ago.
Add mktemp to win32 build environment

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Jeff Lu <jll544@…>

Attachment: 6799-mktemp.patch added

Add mktemp to win32 build environment

comment:1 Changed 10 years ago by Jeff Lu <jll544@…>

Attached a simple patch to add mktemp to the win32 build environment. Also bumps the default build to r21155 (just before the DeleteFile? additions).

comment:2 Changed 10 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [21219]) Install mktemp, build later rev. Thanks Jeff. Closes #6799

Note: See TracTickets for help on using tickets.