From owner-freebsd-questions@FreeBSD.ORG Wed May 13 11:26:18 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B0A4E6F for ; Wed, 13 May 2015 11:26:18 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 333D21891 for ; Wed, 13 May 2015 11:26:18 +0000 (UTC) Received: by iget9 with SMTP id t9so113669158ige.1 for ; Wed, 13 May 2015 04:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=KTV9Me/h4lWjNH9prTa/zdRdt363bBmlkdHxw5tr1f0=; b=ss8SHKt/9wRLp4LHqPbcBHgpu7ar2OMu7WIlo2Nk+oy0kYYMhe3Rn+WEEo4HJMlP1o qXuCjd06Qixkyyyusd7ye4Y5e805ZoDrUbKStiNMqVDcHnF9nxL+pL4T6aJOcZUs4zkl d5iUsGK6yePsYcSbOQR/PzjviDi+eci1S6F8+ycmDqPkuBCSKTogGpZB/p1Fm4Cye08j sVa2wEHTxLQThPJjNSlElOHQMKBhy93tr/ashU+ske54WCkHFfT+ZS8ylZdjfjtv3Hvo /ihPnLhEsO+LxgV7ASfAR0WKFy012UxGEK0ROq44S4i3BJiUmJxcW5H9SohBgILgMA0Y gzIg== X-Received: by 10.107.153.8 with SMTP id b8mr26762063ioe.3.1431516377410; Wed, 13 May 2015 04:26:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.121.1 with HTTP; Wed, 13 May 2015 04:25:57 -0700 (PDT) In-Reply-To: References: From: Avinash Sonawane Date: Wed, 13 May 2015 16:55:57 +0530 Message-ID: Subject: Re: make install in security/trousers : Compilation failed unexpectedly To: Ben Woods Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 11:26:18 -0000 On Sat, May 9, 2015 at 8:37 PM, Ben Woods wrote: > On 9 May 2015 at 21:24, Avinash Sonawane wrote: >> On Sat, May 9, 2015 at 2:40 PM, Ben Woods wrote: >> >>> >>> Hi Avinash, >>> >>> I've noticed you have had some difficulty compiling a few ports. Just wanted >>> to check that you knew you can install from packages, rather than having to >>> compile the ports? >>> >>> # pkg install trousers >>> >> >> Thank you for replying Ben. I am fully aware of the package and port >> system of FreeBSD. The port tree is one of the reason for my switch >> from Debian GNU/Linux to FreeBSD and that's why I'm building ports >> instead of installing the packages. >> >> Till now I have managed to build and install xorg, zsh, bash, xdm and >> xsm. Currently I'm stuck in installing x11/gnome3 which depends on >> graphics/graphviz which is giving compile error (same as >> security/trousers). I have reported about it to the maintainer. >> >> Perhaps I should start another thread for graphics/graphviz. >> >> -- >> Avinash Sonawane (RootKea) >> PICT, Pune >> http://rootkea.wordpress.com > > I agree - the ports tree provides great flexibility and is a big > attraction for FreeBSD. > > I myself make use of it in a different way. I have set up a poudriere > build service, and use it to build all of my ports (with custom > options for each port set in > /usr/local/etc/poudriere.d/101amd64-make.conf). This way, I can build > all of my ports in parallel in controlled environments (only things > installed which should be installed), and only install the packages > once I know everything has successfully built. I do this even though I > only have 2 computers using the poudriere service (it's also been very > handy for testing ports when submitting improvements / fixes as > patches). > > It can take a few hours to set up a poudriere build service in the > first instance, but it has been great ever since. > > Just an idea. Using the ports tree directly (as you are) works also. > > Regards, > Ben > > -- > From: Benjamin Woods > woodsb02@gmail.com So what do you do when the build process fails with "compile error"? Since x11/gnome3 depends upon graphics/graphviz (which is another package along with security/trousers giving compile error on make install), I am unable to have GNOME on my machine. I am fairly good at C so may be I can remove the compile error. But I am not able to figure out from where to start exactly? Any pointers will be really helpful. -- Avinash Sonawane (RootKea) PICT, Pune http://rootkea.wordpress.com