Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Fails to compile on DragonflyBSD #5

@cgag

Description

@cgag

I tried to go get cockroach, but I get this error:

# github.com/cockroachdb/c-rocksdb
In file included from internal/port/port.h:18:0,
                 from internal/db/filename.h:18,
                 from internal/util/auto_roll_logger.h:12,
                 from src/go/src/github.com/cockroachdb/c-rocksdb/auto_roll_logger.cc:6:
internal/port/port_posix.h:37:22: fatal error: endian.h: No such file or directory
compilation terminated.

I looked at the detect platform script and I can see it uses uname -s and compares it to DragonFly, which should define OS_DRAGONFLYBSD. That all looks correct but the if defined check still seems to fail in port_posix.h.

Let me know if there's any more information I can get for you if you don't have access to a dragonfly system.

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