From owner-freebsd-ports@FreeBSD.ORG Thu Mar 31 02:27:59 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA2B216A4CE for ; Thu, 31 Mar 2005 02:27:59 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3693A43D53 for ; Thu, 31 Mar 2005 02:27:59 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 28B5612015; Wed, 30 Mar 2005 21:25:08 -0500 (EST) Message-ID: <424B5F30.6040409@chuckr.org> Date: Thu, 31 Mar 2005 02:23:44 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Aaron Siegel References: <200503291443.27311.aj@siegel-tech.net> In-Reply-To: <200503291443.27311.aj@siegel-tech.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports@freebsd.org Subject: Re: libmagic X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 02:27:59 -0000 Aaron Siegel wrote: > I am trying to port yzis ( http://www.yzis.org ) to FreeBSD and I am have > some problems with the configure script. The configure script produces the > following output: > > checking for magic.h... yes > checking for magic_open in -lmagic... no > configure: error: libmagic not found. Please install libmagic. > > I have copied magic.h from the source tree to /usr/include. Is this a common > error? I haven't looked at this port, and I won't (I have other projects pushing me at the moment), but everything in FreeBSD, in /usr/include, is stuff that derives from the FreeBSD system only, and you should not touch it. Same goes for everything you can find in the man page hier(7), and you should give that some study. The default location for software in FreeBSD (not the noly location, but one you should use until you know enough to need alternatives) is everything under /usr/local/. The most likely idea is that your software package needs some other piece of software, some other library. This sort of info is very hit or miss, but start your investigation in the README or readme files, and if that doesn't work, use the "file" command on all files in that directory, and for any that say they are text, look them over for hints for dependency info. No one owes you anything here; it's a hobby, and you got it for free (or at least, you *could* have got it for free). Put the time in here to learn, and I guarantee that you will reap great returns for any time you spend learning. > > Thank You > > Aaron Siegel > > > > > > > > > > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@chuckr.org | electronics, communications, and SF/Fantasy. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary (on the wall at my old fraternity, Signa Phi Nothing). ----------------------------------------------------------------------------