From owner-freebsd-questions@FreeBSD.ORG Mon Dec 29 16:29:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 644A416A4CE for ; Mon, 29 Dec 2003 16:29:27 -0800 (PST) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD66143D1F for ; Mon, 29 Dec 2003 16:29:23 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])hBU0TLp5006946; Tue, 30 Dec 2003 10:59:21 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Frederick Thomas , freebsd-questions@freebsd.org Date: Tue, 30 Dec 2003 10:59:21 +1030 User-Agent: KMail/1.4.3 References: <20031229174118.25423.qmail@web60206.mail.yahoo.com> In-Reply-To: <20031229174118.25423.qmail@web60206.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312301059.21056.malcolm.kay@internode.on.net> Subject: Re: trouble installing rpm-4.0.4.tar.gz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 00:29:27 -0000 On Tue, 30 Dec 2003 04:11, Frederick Thomas wrote: > shalom, > I have a question which I hope that you can help me with. I just > tried to intstall rpm-4.0.4.tar.gz on my system[freebsd 4.8] and have n= ot > been able to get it to ./configure let alone make. Is there a special d= ir, > ( /usr/compat/linux?), or dependencies that are required to compile the > tarball? My main reason for trying top install a package manager is tha= t > I've had problems with gmetadom[lastest] and various other tarballs wit= h > limited success. I am attempting to teach myself about unix and could j= ust > use a pointer in the right direction. Thank you for your time... > I think you may be confused about RPMs, FreeBSD packages and ports. RPMs are a species of package used with some Linux distributions. The=20 actual package has a .rpm suffix and (normally) requires the Linux utilit= y 'rpm' for creation, installation and management. FreeBSD packages have ann suffix of the form .tgz and are instaelled, and= =20 managed with a number of utilities installed by default with the FBSD=20 installation. These are pkg_add, pkg_delete, and generally pkg_*. These=20 contain precompiled binaries and support files. Ports in the FreeBSD system are essentually a set of Makefile driven algorithms for compiling utilities and applications from source; and=20 installing the resultant binaries and support files in the (mostly) corre= ct=20 place in the system file hierarchy. Often the the algorithms first patch = the=20 source to make it better suited to the operating system or to fix bugs in= the original. The source distributions may be in many different formats, but archives with the suffix .tar.gz are quite common. (Both ports and packages get registered in /var/db/pkg which assists in clean deletion of utilities and applictions) I believe this means that installing rpm is not useful in achieving your=20 ultimate goal. I would guess gmetadom-0.2.1.tar.gz is the latest distribu= tion you are refering to. Doing it the hard way you take this file and explode= it=20 with: # tar zxf gmetadom-0.2.1.tar.gz and read and try to digest the instructions that are likely to be contain= ed for compiling and installing the software. This is the generic approach -= -=20 hopefully it works on any unix like system. The better way is to download the latest port algorithm from www.freebsd.= org, install it in /usr/ports/textproc, and then=20 # cd /usr/ports/textproc/gmetacom # make install But you might first have a look to see if you have gmetacom in your ports (/usr/ports/textproc/gmetacom) and if so check the version which you can = find in /usr/ports/textproc/gmetacom/Makefile. If this is the version you are = looking for then you don't need to install the port algorithm; just go ahead with the= =20 'make install'. And assuming you have an internet connection it might all happen. Malcolm Kay