From owner-freebsd-questions Mon Oct 2 12: 5:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 1upmc-msx4.isdip.upmc.edu (1upmc-msx4.isdbu.upmc.edu [128.147.18.41]) by hub.freebsd.org (Postfix) with ESMTP id C85D337B66C for ; Mon, 2 Oct 2000 12:05:19 -0700 (PDT) Received: by 1upmc-msx4.isdbu.upmc.edu with Internet Mail Service (5.5.2650.21) id ; Mon, 2 Oct 2000 15:05:09 -0400 Message-ID: From: "Person, Roderick" To: "'xavian@professional3d.com'" , "Person, Roderick" , freebsd-questions@FreeBSD.ORG Subject: RE: installing freebsd in an existing linux environment Date: Mon, 2 Oct 2000 15:05:07 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C02CA3.AEFEB696" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C02CA3.AEFEB696 Content-Type: text/plain; charset="iso-8859-1" It think it would be easier for you if you FORGET LINUX. Investigate pkg_add and /stand/sysinstall. These two ways of installing FreeBSD packages are equililent to rpm. As I said I don't use rpm, thanks for linux packages and and I have no need for them since FreeBSD has almost all the packages as linux. The one linux apps I run are WordPerfect and StarOffice everything else is FreeBSD (Netscape, windowmaker, xv, midnight commander etc). I think your trying to keep linux app when you mostly won't need too. What specifically are you worried about running on FreeBSD? Roderick P. Person Programmer II Crystal Administrator (412)454-2616 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 2:49 PM To: Person, Roderick; freebsd-questions@FreeBSD.ORG Subject: Re: installing freebsd in an existing linux environment Importance: High "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! ------_=_NextPart_001_01C02CA3.AEFEB696 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
It=20 think it would be easier for you if you FORGET LINUX. Investigate = pkg_add and=20 /stand/sysinstall. These two ways of installing FreeBSD packages are = equililent=20 to rpm. As I said I don't use rpm, thanks for linux packages and and I = have no=20 need for them since FreeBSD has almost all the packages as linux. The = one linux=20 apps I run are WordPerfect and StarOffice everything else is FreeBSD = (Netscape,=20 windowmaker, xv, midnight commander etc).
 
I=20 think your trying to keep linux app when you mostly won't need=20 too.
 
What=20 specifically are you worried about running on = FreeBSD?
 

Roderick P. Person =
Programmer II
Crystal=20 Administrator
(412)454-2616
personrp@ccbh.com

"If we knew what it was we were doing, = it would not=20 be called research, would it?"
          &nb= sp;           &nb= sp;           &nb= sp;       =20 Albert Einstein

 
-----Original Message-----
From: xavian anderson = macpherson=20 [mailto:professional3d@home.com]
Sent: October 02, 2000 = 2:49=20 PM
To: Person, Roderick;=20 freebsd-questions@FreeBSD.ORG
Subject: Re: installing = freebsd in an=20 existing linux environment
Importance:=20 High

"Person, Roderick" wrote:=20
 what all is required in compiling a linux sourcce to be a = freebsd=20 port? You will need to = get the linux=20 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=20 actually complete this for ports that require lots of changes. So = code=20 does[DID YOU MEAN = `NOT'] compile cleanly=20 though.
    = all i want to know is how do i get to compile the = most recent=20 copy of the rpm source [which is rpm-4.0.?], and run it in = freebsd. =20 rpm has the ability to build rpm packages from tarballs.  that = is one=20 of it's fantastic features.  so if the freebsd people were to = port the=20 rpm package manager over to this system, it would greatly simplify = the=20 addition and removal of those packages (as everything is done all = at=20 once).  if freebsd had a version of rpm that was directly = ported to=20 (support) freebsd, rpm would then create new freebsd rpms (from = tarballs)=20 dedicated to freebsd.
 I think what you = really want to=20 know is if you have an app for Linux. how do you get it to run on = FreeBSD?=20 Let take an example. You use Gnome. so lets say you want to use the = PAN=20 newsreader for Gnome (although there is a FreeBSD port of this, you = want to=20 use the linux version). You would get the linux rpm or tgz of pan. = If you=20 use rpms you'll need to ask someone else or read the book. I have = found no=20 reason to use them and don't know the proper way to use them. But = for a tgz=20 package you would open it and place the binary file=20 in/compat/linux/usr/X11R6/bin  - this is assuming you = want it=20 there, it's a bin and you need X, so why=20 not?you will need to = make sure that=20 the proper libs are installed. When you install FreeBSD, install = the=20 linux-base package. This installs a base Red Hat 6.1 system(libs = and such)=20 into /compat/linux. Once you have everthing installed your ready to = rock.now if you start you system with Linux compatbility then = just start=20 the app. i.e.=20 /compat/linux/usrX11R6/bin/panIf you don't start you system in Linux compat mode just = type linux=20 at the command prompt. It will then start linux compat mode or tell = you=20 linux compatablilty is enabled.Roderick P. = Person=20
Programmer II =
Crystal Administrator =
personrp@ccbh.com=20

"If we knew what it was we = were doing, it=20 would not be called research, would it?"
          &n= bsp;           &n= bsp;           &n= bsp;       =20 Albert Einstein =20

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

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

<= /BODY> ------_=_NextPart_001_01C02CA3.AEFEB696-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message