From owner-freebsd-questions@FreeBSD.ORG Mon May 28 15:41:41 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BF561065673 for ; Mon, 28 May 2012 15:41:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id BEA1A8FC14 for ; Mon, 28 May 2012 15:41:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 3D60E3CE94; Mon, 28 May 2012 17:41:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q4SFfX4B001909; Mon, 28 May 2012 17:41:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 28 May 2012 17:41:33 +0200 From: Polytropon To: "Howard Leadmon" Message-Id: <20120528174133.634b702b.freebsd@edvax.de> In-Reply-To: <00ec01cd3ccf$3f719e80$be54db80$@leadmon.net> References: <00df01cd3cac$1cb26ff0$56174fd0$@leadmon.net> <20120528104602.c47c69af.freebsd@edvax.de> <00ec01cd3ccf$3f719e80$be54db80$@leadmon.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Can't get irc/inspircd to build, any clues? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 15:41:41 -0000 On Mon, 28 May 2012 08:41:44 -0400, Howard Leadmon wrote: > I just took a look and granted I was on version 2.0.5 (I am also on amd64, > so not x86) and there is no > /usr/ports/irc/inspircd/work/InspIRCd-2.0.2/BSDmakefile present at that > path. So I then went to the inspircd.org site and downloaded both the > 2.0.5 and 2.0.2 archives, and again I see no BSDmakefile. I don't see any FreeBSD sources on their download page, https://github.com/inspircd/inspircd/downloads. I think it's the usual Linux source packages (haven't looked in detail, I admit). > Is there some command that is called, or something performed that creates > this BSDmakefile?? If so, maybe on amd64 this isn't working. Erm... just to get that right: You are _not_ using the sources obtained via ports collection, instead you try to compile Linux source code? That won't work. FreeBSD != Linux. Linux sources typically don't compile. That's why applications need to be ported, that's what is in the ports collection. You should _never_ need to download stuff from the web. First check your /usr/ports/irc/inspircd/Makefile. It should indicate version 2.0.5. Then do # make clean to make sure there's nothing "unusual" left. Then go step by step. First check if the sources will be obtained correctly: # make fetch Then extract the sources: # make extract The sources will also be checked for a checksum match, this makes sure the obtained sources are good. The file /usr/ports/irc/inspircd/work/InspIRCd-2.0.5/BSDmakefile should now be present. As a next step, set your options: # make config And if this has worked, you can actually start to build from that sources: # make If done, install it: # make install By the way, using a port management tool would have the same effect, it's just more comfortable, but offers less "step by step diagnostics". A command like # portmaster irc/inspircd would install from source. Note that the port management tool would call all the required steps automatically. I suggested the "step by step" method only to see where the problem occurs (because there are more than one point that can go wrong). If everything fails, just try to install from a precompiled binary package: # pkg_add -r inspircd Maybe such a package is present (haven't checked). I hope I didn't misunderstand you, but allow me to repeat: You cannot use Linux sources with the ports collection. The ports collection has automated fetching, extracting, configuring and building mechanisms. You should use them. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...