Skip to content

Make it compile on Redhat (solved) #28

@Gerhard-Vienna

Description

@Gerhard-Vienna

Two small modifications are needed to make it compile on "Red Hat Enterprise Linux Server 7.5 (Maipo)"
IMPORTANT: Make this modifications before running the bootstrap-script!
(Or re-run ./bootstrap afterwards)

In file src/lsof.cpp add after:
#include <cstring>
this line:
#include <unistd.h>

In file src/Makefile.am add after:
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
this line:
AM_LDFLAGS = -lX11

Now run:
./bootstrap
./configure
make
sudo make install

Gerhard

PS:
There seems to be no way to post comments.
Therefore i put it here under "issues".....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions