Skip to content

pffinfo.exe and pffexport.exe instantly exit after MinGW build (no output) #150

@chef85

Description

@chef85

Hello,
I am trying to check the integrity of multiple PST files using a PowerShell script together with pffinfo.exe.
I am building libpff using MSYS2 with MinGW. The following files were built:

  • libpff/.libs/libpff-1.dll
  • pfftools/.libs/pffexport.exe
  • pfftools/.libs/pffinfo.exe

Initially, ./autogen.sh did not work until I made the following change:
PKGCONFIG="/mingw64/bin/pkg-config"

After that, I encountered this error:
/usr/share/gettext/archive.dir.tar.xz: No such file or directory
I fixed it by installing gettext-devel.

Then I followed the commands from the build guide:

./configure --host=i386-mingw32 --prefix=/opt/local/i386-mingw32 --enable-winapi=yes
make

The build completes successfully and produces the required files.

I copied all the resulting files into a single folder, but pffexport.exe and pffinfo.exe do not work.
They exit immediately with no output or error message in command line.

Question:
How can I get a working pffinfo.exe on Windows?
Am I missing runtime dependencies, or is the build configuration incorrect?

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions