libsn/sn.h error with x11/tint

Kevin Oberman rkoberman at gmail.com
Wed Apr 6 23:40:53 UTC 2016


On Wed, Apr 6, 2016 at 2:05 PM, tatoolz--- via freebsd-ports <
freebsd-ports at freebsd.org> wrote:

> I use FreeBSD 10.3 on AMD64.
> When i will install x11/tint, stop with this error:
> [ 21%] Building C object
> src/tint2conf/CMakeFiles/tint2conf.dir/__/util/common.c.oIn file included
> from
> /usr/ports/x11/tint/work/tint2-0.12.7/src/server.c:28:/usr/ports/x11/tint/work/tint2-0.12.7/src/server.h:17:10:
> fatal error: 'libsn/sn.h' file not found#include <libsn/sn.h>         ^In
> file included from
> /usr/ports/x11/tint/work/tint2-0.12.7/src/panel.c:30:/usr/ports/x11/tint/work/tint2-0.12.7/src/server.h:17:10:
> fatal error: 'libsn/sn.h' file not found#include <libsn/sn.h>         ^1
> error generated.--- CMakeFiles/tint2.dir/src/server.c.o ---***
> [CMakeFiles/tint2.dir/src/server.c.o] Error code 1
> make[4]: stopped in /usr/ports/x11/tint/work/tint2-0.12.71 error
> generated.In file included from
> /usr/ports/x11/tint/work/tint2-0.12.7/src/util/common.c:33:/usr/ports/x11/tint/work/tint2-0.12.7/src/util/../server.h:17:10:
> fatal error: 'libsn/sn.h' file not found#include <libsn/sn.h>         ^---
> CMakeFiles/tint2.dir/src/panel.c.o ---***
> [CMakeFiles/tint2.dir/src/panel.c.o] Error code 1
> make[4]: stopped in /usr/ports/x11/tint/work/tint2-0.12.7In file included
> from
> /usr/ports/x11/tint/work/tint2-0.12.7/src/config.c:43:/usr/ports/x11/tint/work/tint2-0.12.7/src/server.h:17:10:
> fatal error: 'libsn/sn.h' file not found#include <libsn/sn.h>         ^1
> error generated.--- CMakeFiles/tint2.dir/src/config.c.o ---***
> [CMakeFiles/tint2.dir/src/config.c.o] Error code 1
> make[4]: stopped in /usr/ports/x11/tint/work/tint2-0.12.73 errors
> make[4]: stopped in /usr/ports/x11/tint/work/tint2-0.12.7---
> CMakeFiles/tint2.dir/all ---*** [CMakeFiles/tint2.dir/all] Error code 2
> make[3]: stopped in /usr/ports/x11/tint/work/tint2-0.12.71 error
> generated.--- src/tint2conf/CMakeFiles/tint2conf.dir/__/util/common.c.o
> ---*** [src/tint2conf/CMakeFiles/tint2conf.dir/__/util/common.c.o] Error
> code 1
> make[4]: stopped in /usr/ports/x11/tint/work/tint2-0.12.71 error
> make[4]: stopped in /usr/ports/x11/tint/work/tint2-0.12.7---
> src/tint2conf/CMakeFiles/tint2conf.dir/all ---***
> [src/tint2conf/CMakeFiles/tint2conf.dir/all] Error code 2
> make[3]: stopped in /usr/ports/x11/tint/work/tint2-0.12.72 errors
> make[3]: stopped in /usr/ports/x11/tint/work/tint2-0.12.7*** [all] Error
> code 2
> make[2]: stopped in /usr/ports/x11/tint/work/tint2-0.12.71 error
> make[2]: stopped in /usr/ports/x11/tint/work/tint2-0.12.7===> Compilation
> failed unexpectedly.Try to set MAKE_JOBS_UNSAFE=yes and rebuild before
> reporting the failure tothe maintainer.*** Error code 1
> Stop.make[1]: stopped in /usr/ports/x11/tint*** Error code 1
> Stop.make: stopped in /usr/ports/x11/tint
> Someone has a tip?
>

To state the obvious, the build could not find libsn/sn.h. It should be in
/usr/local/include/startup-notification-1.0/libsn/sn.h and should have been
installed as a part of x11/startup-notification. The Makefile does look for
this file and should have installed startup-notificattion if it was not
already installed. Is startup-notification installed? Is
/usr/local/include/startup-notification-1.0/libsn/sn.h present and
readable? Is startup-notification installed?

What command did you use to build tint?
Do you have any customizations to your environment that might have
triggered this.

I can say that it builds just fine on my 10-Stable system that was update
about a bit after 10.3 was branched.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list