From owner-freebsd-questions Mon Oct 2 11:46:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from femail1.sdc1.sfba.home.com (femail1.sdc1.sfba.home.com [24.0.95.81]) by hub.freebsd.org (Postfix) with ESMTP id 896BB37B502 for ; Mon, 2 Oct 2000 11:46:54 -0700 (PDT) Received: from home.com ([24.20.70.64]) by femail1.sdc1.sfba.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001002184643.UQPZ6495.femail1.sdc1.sfba.home.com@home.com>; Mon, 2 Oct 2000 11:46:43 -0700 Message-ID: <39D8D8AE.6113DEAC@home.com> Date: Mon, 02 Oct 2000 11:49:18 -0700 From: xavian anderson macpherson Reply-To: xavian@professional3d.com Organization: http://www.professional3d.com X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: en MIME-Version: 1.0 To: "Person, Roderick" , "freebsd-questions@FreeBSD.ORG" Subject: Re: installing freebsd in an existing linux environment X-Priority: 1 (Highest) References: Content-Type: multipart/alternative; boundary="------------0C724437057C199E2C63B06B" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------0C724437057C199E2C63B06B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------0C724437057C199E2C63B06B Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit "Person, Roderick" wrote:
 what all is required in compiling a linux sourcce to be a freebsd port? You will need to get the linux source code and attempt to compile it under FreeBSD, there are some differences in the C code and such, I haven't had much spare time to actually complete this for ports that require lots of changes. So code does[DID YOU MEAN `NOT'] compile cleanly though.
    all i want to know is how do i get to compile the most recent copy of the rpm source [which is rpm-4.0.?], and run it in freebsd.  rpm has the ability to build rpm packages from tarballs.  that is one of it's fantastic features.  so if the freebsd people were to port the rpm package manager over to this system, it would greatly simplify the addition and removal of those packages (as everything is done all at once).  if freebsd had a version of rpm that was directly ported to (support) freebsd, rpm would then create new freebsd rpms (from tarballs) dedicated to freebsd.
 I think what you really want to know is if you have an app for Linux. how do you get it to run on FreeBSD? Let take an example. You use Gnome. so lets say you want to use the PAN newsreader for Gnome (although there is a FreeBSD port of this, you want to use the linux version). You would get the linux rpm or tgz of pan. If you use rpms you'll need to ask someone else or read the book. I have found no reason to use them and don't know the proper way to use them. But for a tgz package you would open it and place the binary file in/compat/linux/usr/X11R6/bin  - this is assuming you want it there, it's a bin and you need X, so why not?you will need to make sure that the proper libs are installed. When you install FreeBSD, install the linux-base package. This installs a base Red Hat 6.1 system(libs and such) into /compat/linux. Once you have everthing installed your ready to rock.now if you start you system with Linux compatbility then just start the app. i.e. /compat/linux/usrX11R6/bin/panIf you don't start you system in Linux compat mode just type linux at the command prompt. It will then start linux compat mode or tell you linux compatablilty is enabled.Roderick P. Person
Programmer II
Crystal Administrator
personrp@ccbh.com

"If we knew what it was we were doing, it would not be called research, would it?"
                                           Albert Einstein 

-----Original Message-----
From: xavian anderson macpherson [mailto:professional3d@home.com]
Sent: October 02, 2000 12:18 PM
To: Person, Roderick
Subject: Re: installing freebsd in an existing linux environment
Importance: High
 
hot rod,

sorry, i couldn't resist.  hey guy how's it going.  i really appreciate your responses.  hope to keep in touch on a regular basis.  last night i actually saw that freebsd can use rpm-2.5.6.  what all is required in compiling a linux sourcce to be a freebsd port?  i just put your number into my cellphone.  since i have free national calling (in the 48), i'll probably give you a buzz.  until then, THANKS!

--------------0C724437057C199E2C63B06B-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message