Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2016 21:05:58 +0000 (UTC)
From:      <tatoolz@yahoo.de>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   libsn/sn.h error with x11/tint
Message-ID:  <1235948850.968182.1459976758845.JavaMail.yahoo@mail.yahoo.com>
References:  <1235948850.968182.1459976758845.JavaMail.yahoo.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/com=
mon.c.oIn file included from /usr/ports/x11/tint/work/tint2-0.12.7/src/serv=
er.c:28:/usr/ports/x11/tint/work/tint2-0.12.7/src/server.h:17:10: fatal err=
or: 'libsn/sn.h' file not found#include <libsn/sn.h>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0^In file included from /usr/ports/x11/tint/work/tint2-0.12.7/s=
rc/panel.c:30:/usr/ports/x11/tint/work/tint2-0.12.7/src/server.h:17:10: fat=
al error: 'libsn/sn.h' file not found#include <libsn/sn.h>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0^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: fat=
al error: 'libsn/sn.h' file not found#include <libsn/sn.h>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0^--- 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 f=
rom /usr/ports/x11/tint/work/tint2-0.12.7/src/config.c:43:/usr/ports/x11/ti=
nt/work/tint2-0.12.7/src/server.h:17:10: fatal error: 'libsn/sn.h' file not=
 found#include <libsn/sn.h>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^1 error gener=
ated.--- CMakeFiles/tint2.dir/src/config.c.o ---*** [CMakeFiles/tint2.dir/s=
rc/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/tin=
t2.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/t=
int2conf/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 co=
de 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=3D=3D=3D> Compila=
tion failed unexpectedly.Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild befo=
re 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?
From owner-freebsd-ports@freebsd.org  Wed Apr  6 23:40:53 2016
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D163B03878
 for <freebsd-ports@mailman.ysv.freebsd.org>;
 Wed,  6 Apr 2016 23:40:53 +0000 (UTC)
 (envelope-from kob6558@gmail.com)
Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com
 [IPv6:2607:f8b0:4001:c06::22a])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 2648E186C
 for <freebsd-ports@freebsd.org>; Wed,  6 Apr 2016 23:40:53 +0000 (UTC)
 (envelope-from kob6558@gmail.com)
Received: by mail-io0-x22a.google.com with SMTP id q128so74967257iof.3
 for <freebsd-ports@freebsd.org>; Wed, 06 Apr 2016 16:40:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:cc; bh=yWpxJenUjX/jYDkDy7/akYTcnQ1cS4c0nm73ZtjWPBc=;
 b=ksEKGMIyoIZcaXQOC1XYkZMYlrxSYgsjWKAgaZ3NywXqfqO9UCStlYzKEUXju4heme
 iNlBO35dWkQph74OrQI0zUy0XYce6Dmf6FY8/mTgLJ//MR7hSE8nmTzBTF93vqxeTRW1
 vubU78NoAUguab8EWyFCT0flrzL6MLnzZtz21z+4w5foqDtCztMrgShgSusTEqYvmysQ
 FFaNlP5RM093eDeN4Cm+vG5Ui0/XmmDMHFO0oVuEwxu0U16mYuE3LL+Nw5hVopYwdx/D
 /PyOs8AOJk2Y6ZUfA1e9GNjBJv0vGQRoxnxTAqj9zylu9yHfd7iGJApnh8nAGKd8NuRd
 A17A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:cc;
 bh=yWpxJenUjX/jYDkDy7/akYTcnQ1cS4c0nm73ZtjWPBc=;
 b=X+kP9NVCUybqJS/9MmQpZw1SFM0xqZ2OAIRYr5QR33wB6E+xY7LDyi0onHYxwsJdpd
 l96gx8fdJBjkzqEClSWGLzav8tsbsKkx2+9Bkfn4mQlKeoa9ksuAriSl12wEv6xFnfzi
 u3lJm76oF0dgywGwpVxoch7tqNcs/umq8/1VehUC5u9q9yr6i6aDW+HvZWeCqKMRchEh
 Iet5QLJA9EfOkkKGQRmyIhouMhDaEKyLQnaQlym7PPmGKWUEWRhVzYRld0rKOC6RxSTL
 gOTRm8lnvHr+5PGbrOLQDfgnJsSzjb1c4XKZO6Bm57thfKV9Y4B3Xn3MEwroGelL0KUt
 Lj6w==
X-Gm-Message-State: AD7BkJKODdKUejN2Muyv/m23gIcqXH62HLXjaSIglxKox31kXAXjoX6PeHUBqz8g32BSmrNG4vrqmm3xRP99kA==
MIME-Version: 1.0
X-Received: by 10.107.137.72 with SMTP id l69mr519958iod.177.1459986052625;
 Wed, 06 Apr 2016 16:40:52 -0700 (PDT)
Sender: kob6558@gmail.com
Received: by 10.79.35.33 with HTTP; Wed, 6 Apr 2016 16:40:52 -0700 (PDT)
In-Reply-To: <1235948850.968182.1459976758845.JavaMail.yahoo@mail.yahoo.com>
References: <1235948850.968182.1459976758845.JavaMail.yahoo.ref@mail.yahoo.com>
 <1235948850.968182.1459976758845.JavaMail.yahoo@mail.yahoo.com>
Date: Wed, 6 Apr 2016 16:40:52 -0700
X-Google-Sender-Auth: R2UqwVYCOXgcULBb8lgBXJwZQaw
Message-ID: <CAN6yY1tTeTUicP4KLuVVQbrsNYKuoo7u_M9qi+3aYbYsPjbWBA@mail.gmail.com>
Subject: Re: libsn/sn.h error with x11/tint
From: Kevin Oberman <rkoberman@gmail.com>
To: tatoolz@yahoo.de
Cc: "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.21
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 23:40:53 -0000

On Wed, Apr 6, 2016 at 2:05 PM, tatoolz--- via freebsd-ports <
freebsd-ports@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@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1235948850.968182.1459976758845.JavaMail.yahoo>