running linux programs

2008-11-05 Thread prad
if i want to run a linux program that is not offered in the linux-*
collection, can i compile it so that it will be run through the
emulator rather than as a freebsd program?

for instance, i want to run chessdb (a maintained version of scid which
is in the ports) and there is a tarball for unix:

ChessDB-3.6.18.tar.gz UNIX/Linux tarball.
(http://chessdb.sourceforge.net/downloads/)

but it doesn't seem to compile properly on freebsd.

i was wondering if i could compile it in linux, but there doesn't seem
to be any compiler present in /compat/linux ...

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread Glen Barber
On Wed, Nov 5, 2008 at 6:19 PM, prad <[EMAIL PROTECTED]> wrote:
> if i want to run a linux program that is not offered in the linux-*
> collection, can i compile it so that it will be run through the
> emulator rather than as a freebsd program?
>

You could use linux binary compatability.

> for instance, i want to run chessdb (a maintained version of scid which
> is in the ports) and there is a tarball for unix:
>
> ChessDB-3.6.18.tar.gz UNIX/Linux tarball.
> (http://chessdb.sourceforge.net/downloads/)
>
> but it doesn't seem to compile properly on freebsd.
>

What errors do you get? What `./configure' options do you give it?

> i was wondering if i could compile it in linux, but there doesn't seem
> to be any compiler present in /compat/linux ...
>



-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread prad
On Wed, 5 Nov 2008 18:30:04 -0500
"Glen Barber" <[EMAIL PROTECTED]> wrote:

> > but it doesn't seem to compile properly on freebsd.
> >  
> 
> What errors do you get? What `./configure' options do you give it?
>
i think i've solved the problem. there were certain alterations to the
Makefile i had to do and twiddle with a couple of other things, but it
works now compiled on freebsd.

however, can i compile a linux program within the linux emulator
instead of using the gcc in freebsd?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread Boris Samorodov
prad <[EMAIL PROTECTED]> writes:

> however, can i compile a linux program within the linux emulator
> instead of using the gcc in freebsd?

emulators/linux_dist-gentoo-stage* are used for this.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread prad
On Thu, 06 Nov 2008 09:47:21 +0300
Boris Samorodov <[EMAIL PROTECTED]> wrote:

> emulators/linux_dist-gentoo-stage* are used for this.
>
so what i should do then is install one of the 3 dist-gentoo-stages?
or do these work the same way as the gentoo stages - i seem to recall i
just did gentoo from stage 2 or 3 many years ago.

will this give me the gentoo emerge environment?

will this be a separate /compat/linux directory from what i got when i
simply put on linux-opera?

is there a wiki on linux emulation anywhere?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: running linux programs

2008-11-05 Thread Boris Samorodov
prad <[EMAIL PROTECTED]> writes:
> On Thu, 06 Nov 2008 09:47:21 +0300
> Boris Samorodov <[EMAIL PROTECTED]> wrote:
>
>> emulators/linux_dist-gentoo-stage* are used for this.
>>
> so what i should do then is install one of the 3 dist-gentoo-stages?

Chroot to linux directory and compile the needed program.

> or do these work the same way as the gentoo stages - i seem to recall i
> just did gentoo from stage 2 or 3 many years ago.
>
> will this give me the gentoo emerge environment?
>
> will this be a separate /compat/linux directory from what i got when i
> simply put on linux-opera?
>
> is there a wiki on linux emulation anywhere?

You'd have better chances if you ask those questions at
freebsd-emulation@ ML.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


running Linux programs under FreeBSD

2002-07-15 Thread Nelis Lamprecht

Hi List

What exactly are the implications of running linux programs eg. Oracle, SAP 
for Linux on FreeBSD ? Does FreeBSD emulate linux, is this safe and what 
about performance ? Could someone possibly direct me to more specifics on 
how FreeBSD handles Linux compatibility please?

Many thanks.

Nelis Lamprecht


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: running Linux programs under FreeBSD

2002-07-15 Thread Daniel Bye

On Mon, Jul 15, 2002 at 11:37:18AM +0200, Nelis Lamprecht wrote:
> Hi List
> 
> What exactly are the implications of running linux programs eg. Oracle, SAP 
> for Linux on FreeBSD ? Does FreeBSD emulate linux, is this safe and what 
> about performance ? Could someone possibly direct me to more specifics on 
> how FreeBSD handles Linux compatibility please?

Check out chapter 20 of the handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html

It seems to cover all your questions.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message