Skip to content

help hplip compile #155

@hoewweken

Description

@hoewweken

Hello!

In order to compile hplip on Openindiana we have to patch
work/hplip-3.18.5/prnt/hpcups/HPCupsFilter.cpp

  1. Add include:
    #include <sys/systeminfo.h>

  2. Change function call of "getdomainname"

    //getdomainname(m_JA.domain_name, sizeof(m_JA.domain_name) - 1);
    sysinfo (SI_SRPC_DOMAIN, m_JA.domain_name, sizeof(m_JA.domain_name) - 1);

BUT it will not link because of
ld: fatal: library -lgssapi_krb5: not found
ld: fatal: library -lk5crypto: not found
ld: fatal: library -lcom_err: not found
ld: fatal: library -lkrb5support: not found

:-(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions