ejabberd how to compile on windows - ejabberd

Ejabberd has a windows installer but the source does not compile for windows out of the box.
configure.bat has references to configure.erl but this file doesn't exist.
How do they do it?

From what I know, the windows installer is cross-compiled, or some weird stuff, and also requires specific program to pack the installer. So, building a Windows installer is not possible.
But you can download the ejabberd source code, make any changes you want to the erlang source code, compile it with the same Erlang/OTP version that is included in the Windows installer, and copy the *.beam files you have modified into the ejabberd installed directory.

Related

How can i upgrade my Octave version to the latest one?

I have the 4.0.3 Octave version on my machine.
and I would like to upgrade my version using windows.
Can someone tell me please the steps to follow?
Thanks.
If you want to remove v4.0.3, the complete answer will depend on how you installed that version in the first place.
If you used an executable installer, then there should be an 'uninstall' option available. On Windows 10, you can sometimes right click on the shortcut in the startmenu and an Uninstall option will appear. Otherwise you can follow the directions at this link to navigate through the Settings to the Apps & Features window, which lists everything installed and will provide an Uninstall option.
If you used a zip package to 'install' Octave 4.0.3 just by unzipping it to a folder on your hard drive, then no uninstall process is necessary. you can just delete the folder and shortcuts manually.
You can have multiple octave versions installed next to each other, the folders will have version numbers to prevent them from overwriting themselves.
To install the latest version (5.1.0 as of this answer, although 5.2.0 will be released very soon):
You can find the installation files for Windows by going to the Octave download page and clicking 'Windows'. There will be several file options there. Most people choose the first one (octave-5.1.0-w64-installer.exe) for 64bit systems. You can just download that or one of the other .exe versions, execute that program, and follow the prompts. If for some reason you would rather download a zip package and do a manual setup, I suggest you follow the instructions at the Octave for Microsoft Windows Wiki page to make sure everything is configured correctly.

APPX321 SDK folder containing 'UAP.props' for 'UAP 10.0.17763.0' cannot be located

I want to create an upload package for the Windows Store.
The app is essentially "Hello world" for a dev express XAF Win application. I am using the Desktop Bridge.
I am following the docs to create the upload package
This created a file
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage
And an error
APPX3217 SDK folder containing 'UAP.props' for 'UAP 10.0.17763.0'
cannot be located. See http://go.microsoft.com/fwlink/?LinkID=798187 for more information
When I double click the error it goes to the following code in the Targets file
<GetSdkPropertyValue Condition="'$(AppxPackagePipelineVersion)' == '$(UapBuildPipeline)'"
TargetPlatformSdkRootOverride="$(TargetPlatformSdkRootOverride)"
SDKIdentifier="$(SDKIdentifier)"
SDKVersion="$(SDKVersion)"
TargetPlatformIdentifier="$(TargetPlatformIdentifier)"
TargetPlatformMinVersion="$(TargetPlatformMinVersion)"
TargetPlatformVersion="$(TargetPlatformVersion)"
PropertyName="WindowsSdkDir"
VsTelemetrySession="$(VsTelemetrySession)">
I am targeting WIndows 10, version 1809(10.0; Build 17763) and also have this as the min version.
The application is using .Net Framework 4.7.2
As per the Microsoft link I had to install the update for Windows 10 SDK, version 1809.
My Logs :
Error APPX3217: SDK folder containing 'UAP.props' for 'UAP
10.0.18362.0' cannot be located.
This works for me.
Go to https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
Install SDK: Windows 10 SDK, version 1903 (10.0.18362.1)
Then, rebuild it succeeded.
I had the same issue with a CI/CD project that relied on the 1703 release. I used choco to fix it as a build-step.
choco install windows-sdk-10.1 --version=10.1.15063.468

How to properly install the libmysql.dll on Windows?

I'm getting the following error message when I try to run an application that connects to a MySQL database instance:
"[FireDAC][Phys][MySQL]-314. Cannot load vendor library [libmysql.dll or libmysqld.dll]. Hint check it is in the PATH or application EXE directories, and has x86 bitness.".
The error persists even with the libmysql.dll file on the same directory of the application executable.
Beyond to install the MySQL Connector/C to get the libmysql.dll, it is necessary to install the Visual C++ Redistributable Packages for Visual Studio 2013 too.
Just copy libmysql.dll into the same folder of the application, or add the path to libmysql.dll into Path variable of system.

How to install MUMPS database in Windows 8.1?

I would like to install MUMPS database in Windows 8.1. I was trying to install but there is no exe file for MUMPS database. Can anyone give me a hand?. I downloaded a lot of files from this site https://sourceforge.net/projects/mumps/files/ but still don't know where to start.
From the README for that project, you'll need to install Cygwin:
NOTES on cygwin
For Windows, install the Cygwin environment at http://cygwin.com/install.html
Run cygwin terminal (on win7 or win8 run it as administrator).
Setup the Cygserver using /usr/bin/cygserver-config.
edit /usr/include/cygwin/shm.h
add near end
#define SHM_R (IPC_R)
#define SHM_W (IPC_W)
edit /usr/include/cygwin/ipc.h
move third last #endif 3 lines up
Once you have Cygwin setup, the mumps.exe file available to download at the link you provide should run.
That said, I would agree with Evgeny in recommending you try the free evaluation version of InterSystems Caché. It is a far more accessible Mumps implementation for Windows and it has an extensive set of libraries for common functionality.

Windows agent missing for zabbix 2.4.7

I want to use zabbix latest version. However, windows agent is missing for zabbix 2.4.7
http://www.zabbix.com/download.php
Please suggest what can be done to get windows agent
If the Windows agent is not available on the official download page, you can check it out from the official repository. There are precompiled agents available for Windows for each release. For instance:
$ svn co svn://svn.zabbix.com/tags/2.4.7/bin
This will give you a directory with precompiled Zabbix 2.4.7 agents for Windows, both 32-bit and 64-bit.
You can always find the latest precompiled Windows binaries inside the full sources package:
just download the archive under Zabbix Sources section here:
http://www.zabbix.com/download.php
Untar the archive and you would find Windows .exe files under bin folder there
Alternatively, you can resort to using this unofficial but very helpful project:
http://www.suiviperf.com/zabbix/index.php
That always has the latest Windows binaries for Zabbix wrapped in msi or exe installer for convenience