cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found

Ben Rush
Two things, really. 

I'm trying to get essentially a build similar to what I'd get if I downloaded the MSVC 64-bit (VS 2019) build from here: https://gstreamer.freedesktop.org/download/. I'm a little concerned I'm still building simply the mingw binaries. I'm essentially doing the following (from Windows): 

./cerbero-uninstalled -c config/win64.cbc bootstrap

and then 

./cerbero-uninstalled -c config/win64.cbc package gstreamer-1.0

But I'm seeing files named "libgstwebrtc.dll", etc. under "cerbero\build\sources\mingw_x86_64" instead of "cerbero\build\sources\windows_x86_64" which I would assume to be the location for the Visual Studio-built binaries. I'm taking instructions from https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c and https://www.cardinalpeak.com/build-gstreamer-on-windows-an-advanced-tutorial/

In addition, I've installed Wix per the instructions laid out here: https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c, but I'm getting the following error right at the end of the build process (any thoughts on debugging this? I'm so close...). I really, really want to get a build environment going here for Windows that'll produce the Visual Studio-produced binaries we use in our product so I can start testing some changes, etc.

...
[(55/79) taglib -> already built]
[(56/79) json-glib -> already built]
[(57/79) libdv -> already built]
[(58/79) vo-aacenc -> already built]
[(59/79) libass -> already built]
[(60/79) gst-plugins-bad-1.0 -> already built]
[(61/79) lame -> already built]
[(62/79) mpg123 -> already built]
[(63/79) flac -> already built]
[(64/79) wavpack -> already built]
[(65/79) sqlite3 -> already built]
[(66/79) libpsl -> already built]
[(67/79) libsoup -> already built]
[(68/79) a52dec -> already built]
[(69/79) opencore-amr -> already built]
[(70/79) gst-plugins-good-1.0 -> already built]
[(71/79) gst-rtsp-server-1.0 -> already built]
[(72/79) gst-devtools-1.0 -> already built]
[(73/79) ffmpeg -> already built]
[(74/79) x264 -> already built]
[(75/79) gst-editing-services-1.0 -> already built]
[(76/79) gst-libav-1.0 -> already built]
[(77/79) gst-plugins-ugly-1.0 -> already built]
[(78/79) gst-shell -> already built]
[(79/79) vsintegration-1.0 -> already built]
All done!
-----> Creating package for gstreamer-1.0
WARNING: No specific packager available for the distro version windows_10, using generic packager for distro windows
Traceback (most recent call last):
  File "c:\users\user\desktop\repos\cerbero\cerbero\main.py", line 152, in run_command
    res = commands.run(command, self.config, self.args)
  File "c:\users\user\desktop\repos\cerbero\cerbero\commands\__init__.py", line 78, in run
    return _commands[command].run(config, args)
  File "c:\users\user\desktop\repos\cerbero\cerbero\commands\package.py", line 109, in run
    pkg = packager_class(config, p, self.store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\packager.py", line 63, in __new__
    return _packagers[d][v](config, package, store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\wix_packager.py", line 293, in __new__
    return MSIPackager(config, package, store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\wix_packager.py", line 156, in __init__
    self.wix_prefix = get_wix_prefix()
  File "c:\users\user\desktop\repos\cerbero\cerbero\utils\__init__.py", line 420, in get_wix_prefix
    raise FatalError("The required packaging tool 'WiX' was not found")
cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found
***** Error running 'package' command:
Fatal Error: The required packaging tool 'WiX' was not found
usage: cerbero-uninstalled [-h] [-t] [--list-variants] [-v VARIANTS] [-c CONFIG] [-m MANIFEST] [--self-update SELF_UPDATE]
                           {add-package,add-recipe,fetch,fetch-package,bootstrap,fetch-bootstrap,buildone,build-deps,build,bundle-source,fetch-cache,gen-cache,upload-cache,check,checkpackage,debug-packages,deps,edit-cache,genlibfiles,gensdkshell,genvsprops,genxcconfig,graph,packageinfo,list,list-packages,show-config,package,rdeps,run,shell,tag,wipe}

Any thoughts? 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found

Matthew Waters
For MSVC, you need to enable the visualstudio variant as mentioned at: https://gitlab.freedesktop.org/gstreamer/cerbero#windows-targets.

For Wix, you need to install Wix manually: https://gitlab.freedesktop.org/gstreamer/cerbero#install-other-tools.  You should probably also look through all of the windows-specific README: https://gitlab.freedesktop.org/gstreamer/cerbero#installing-minimum-requirements-on-windows.

Cheers
-Matt

On 21/7/20 2:05 pm, Ben Rush wrote:
Two things, really. 

I'm trying to get essentially a build similar to what I'd get if I downloaded the MSVC 64-bit (VS 2019) build from here: https://gstreamer.freedesktop.org/download/. I'm a little concerned I'm still building simply the mingw binaries. I'm essentially doing the following (from Windows): 

./cerbero-uninstalled -c config/win64.cbc bootstrap

and then 

./cerbero-uninstalled -c config/win64.cbc package gstreamer-1.0

But I'm seeing files named "libgstwebrtc.dll", etc. under "cerbero\build\sources\mingw_x86_64" instead of "cerbero\build\sources\windows_x86_64" which I would assume to be the location for the Visual Studio-built binaries. I'm taking instructions from https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c and https://www.cardinalpeak.com/build-gstreamer-on-windows-an-advanced-tutorial/

In addition, I've installed Wix per the instructions laid out here: https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c, but I'm getting the following error right at the end of the build process (any thoughts on debugging this? I'm so close...). I really, really want to get a build environment going here for Windows that'll produce the Visual Studio-produced binaries we use in our product so I can start testing some changes, etc.

...
[(55/79) taglib -> already built]
[(56/79) json-glib -> already built]
[(57/79) libdv -> already built]
[(58/79) vo-aacenc -> already built]
[(59/79) libass -> already built]
[(60/79) gst-plugins-bad-1.0 -> already built]
[(61/79) lame -> already built]
[(62/79) mpg123 -> already built]
[(63/79) flac -> already built]
[(64/79) wavpack -> already built]
[(65/79) sqlite3 -> already built]
[(66/79) libpsl -> already built]
[(67/79) libsoup -> already built]
[(68/79) a52dec -> already built]
[(69/79) opencore-amr -> already built]
[(70/79) gst-plugins-good-1.0 -> already built]
[(71/79) gst-rtsp-server-1.0 -> already built]
[(72/79) gst-devtools-1.0 -> already built]
[(73/79) ffmpeg -> already built]
[(74/79) x264 -> already built]
[(75/79) gst-editing-services-1.0 -> already built]
[(76/79) gst-libav-1.0 -> already built]
[(77/79) gst-plugins-ugly-1.0 -> already built]
[(78/79) gst-shell -> already built]
[(79/79) vsintegration-1.0 -> already built]
All done!
-----> Creating package for gstreamer-1.0
WARNING: No specific packager available for the distro version windows_10, using generic packager for distro windows
Traceback (most recent call last):
  File "c:\users\user\desktop\repos\cerbero\cerbero\main.py", line 152, in run_command
    res = commands.run(command, self.config, self.args)
  File "c:\users\user\desktop\repos\cerbero\cerbero\commands\__init__.py", line 78, in run
    return _commands[command].run(config, args)
  File "c:\users\user\desktop\repos\cerbero\cerbero\commands\package.py", line 109, in run
    pkg = packager_class(config, p, self.store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\packager.py", line 63, in __new__
    return _packagers[d][v](config, package, store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\wix_packager.py", line 293, in __new__
    return MSIPackager(config, package, store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\wix_packager.py", line 156, in __init__
    self.wix_prefix = get_wix_prefix()
  File "c:\users\user\desktop\repos\cerbero\cerbero\utils\__init__.py", line 420, in get_wix_prefix
    raise FatalError("The required packaging tool 'WiX' was not found")
cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found
***** Error running 'package' command:
Fatal Error: The required packaging tool 'WiX' was not found
usage: cerbero-uninstalled [-h] [-t] [--list-variants] [-v VARIANTS] [-c CONFIG] [-m MANIFEST] [--self-update SELF_UPDATE]
                           {add-package,add-recipe,fetch,fetch-package,bootstrap,fetch-bootstrap,buildone,build-deps,build,bundle-source,fetch-cache,gen-cache,upload-cache,check,checkpackage,debug-packages,deps,edit-cache,genlibfiles,gensdkshell,genvsprops,genxcconfig,graph,packageinfo,list,list-packages,show-config,package,rdeps,run,shell,tag,wipe}

Any thoughts? 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found

Ben Rush
Hah, thanks mate. Brilliant as always. 

On Mon, Jul 20, 2020, 11:31 PM Matthew Waters <[hidden email]> wrote:
For MSVC, you need to enable the visualstudio variant as mentioned at: https://gitlab.freedesktop.org/gstreamer/cerbero#windows-targets.

For Wix, you need to install Wix manually: https://gitlab.freedesktop.org/gstreamer/cerbero#install-other-tools.  You should probably also look through all of the windows-specific README: https://gitlab.freedesktop.org/gstreamer/cerbero#installing-minimum-requirements-on-windows.

Cheers
-Matt

On 21/7/20 2:05 pm, Ben Rush wrote:
Two things, really. 

I'm trying to get essentially a build similar to what I'd get if I downloaded the MSVC 64-bit (VS 2019) build from here: https://gstreamer.freedesktop.org/download/. I'm a little concerned I'm still building simply the mingw binaries. I'm essentially doing the following (from Windows): 

./cerbero-uninstalled -c config/win64.cbc bootstrap

and then 

./cerbero-uninstalled -c config/win64.cbc package gstreamer-1.0

But I'm seeing files named "libgstwebrtc.dll", etc. under "cerbero\build\sources\mingw_x86_64" instead of "cerbero\build\sources\windows_x86_64" which I would assume to be the location for the Visual Studio-built binaries. I'm taking instructions from https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c and https://www.cardinalpeak.com/build-gstreamer-on-windows-an-advanced-tutorial/

In addition, I've installed Wix per the instructions laid out here: https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-cerbero.html?gi-language=c, but I'm getting the following error right at the end of the build process (any thoughts on debugging this? I'm so close...). I really, really want to get a build environment going here for Windows that'll produce the Visual Studio-produced binaries we use in our product so I can start testing some changes, etc.

...
[(55/79) taglib -> already built]
[(56/79) json-glib -> already built]
[(57/79) libdv -> already built]
[(58/79) vo-aacenc -> already built]
[(59/79) libass -> already built]
[(60/79) gst-plugins-bad-1.0 -> already built]
[(61/79) lame -> already built]
[(62/79) mpg123 -> already built]
[(63/79) flac -> already built]
[(64/79) wavpack -> already built]
[(65/79) sqlite3 -> already built]
[(66/79) libpsl -> already built]
[(67/79) libsoup -> already built]
[(68/79) a52dec -> already built]
[(69/79) opencore-amr -> already built]
[(70/79) gst-plugins-good-1.0 -> already built]
[(71/79) gst-rtsp-server-1.0 -> already built]
[(72/79) gst-devtools-1.0 -> already built]
[(73/79) ffmpeg -> already built]
[(74/79) x264 -> already built]
[(75/79) gst-editing-services-1.0 -> already built]
[(76/79) gst-libav-1.0 -> already built]
[(77/79) gst-plugins-ugly-1.0 -> already built]
[(78/79) gst-shell -> already built]
[(79/79) vsintegration-1.0 -> already built]
All done!
-----> Creating package for gstreamer-1.0
WARNING: No specific packager available for the distro version windows_10, using generic packager for distro windows
Traceback (most recent call last):
  File "c:\users\user\desktop\repos\cerbero\cerbero\main.py", line 152, in run_command
    res = commands.run(command, self.config, self.args)
  File "c:\users\user\desktop\repos\cerbero\cerbero\commands\__init__.py", line 78, in run
    return _commands[command].run(config, args)
  File "c:\users\user\desktop\repos\cerbero\cerbero\commands\package.py", line 109, in run
    pkg = packager_class(config, p, self.store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\packager.py", line 63, in __new__
    return _packagers[d][v](config, package, store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\wix_packager.py", line 293, in __new__
    return MSIPackager(config, package, store)
  File "c:\users\user\desktop\repos\cerbero\cerbero\packages\wix_packager.py", line 156, in __init__
    self.wix_prefix = get_wix_prefix()
  File "c:\users\user\desktop\repos\cerbero\cerbero\utils\__init__.py", line 420, in get_wix_prefix
    raise FatalError("The required packaging tool 'WiX' was not found")
cerbero.errors.FatalError: Fatal Error: The required packaging tool 'WiX' was not found
***** Error running 'package' command:
Fatal Error: The required packaging tool 'WiX' was not found
usage: cerbero-uninstalled [-h] [-t] [--list-variants] [-v VARIANTS] [-c CONFIG] [-m MANIFEST] [--self-update SELF_UPDATE]
                           {add-package,add-recipe,fetch,fetch-package,bootstrap,fetch-bootstrap,buildone,build-deps,build,bundle-source,fetch-cache,gen-cache,upload-cache,check,checkpackage,debug-packages,deps,edit-cache,genlibfiles,gensdkshell,genvsprops,genxcconfig,graph,packageinfo,list,list-packages,show-config,package,rdeps,run,shell,tag,wipe}

Any thoughts? 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel