Ehm, just to be sure... You do have a development setup within the
linuxulator? You cannot use the freebsd's make todo these things, or at
least not easily.

I use gentoo as a linux_base to create linuxbinaries under FreeBSD. The
reason of using gentoo is that I dont need to use the portssystem to
install it.

This is the way i have set it up:

mkdir /compat/linux; cd /compat/linux
tar xjpf <stage3-tarball>     # ( I have tried with 2005.1->2006.1 )
cp /etc/resolv.conf /compat/linux/etc
mount linproc
chroot /compat/linux /bin/sh

stage3 includes a full development package. And I have used this setup to
compile modules for amx and amxx.

Within this chrooted environment, you can then install most portages with
emerge like in ordinary gentoo. If you dont know how its done, read the
documents on gentoo webpage.

You might need to create a couple of devices. I used a copy of 4.x
/dev/MAKEDEV to create them. At least some of the error I encountered
disappeared. You probably need stuff like /dev/null and /dev/zero.

I used to have a Linux box up and running to do these compiles, but now I
only use this setup.

/Bjorn

On Tue, 26 Sep 2006, Romain Hellebrekers wrote:

> [ Converted text/html to text/plain ]
>
> linux_base-8-8.0_14 Base set of packages needed in Linux mode (for i386/amd64)
>
>
> ------------------------------------------------------------------------------
> From:  "Dan" <[EMAIL PROTECTED]>
> Reply-To:  [email protected]
> To:  <[email protected]>
> Subject:  Re: [hlds_linux] Compiling HL2 Mod under FreeBSD 6.1
> Date:  Mon, 25 Sep 2006 22:57:56 -0400
> MIME-Version:  1.0
> Received:  from list.valvesoftware.com ([207.173.176.202]) by
> bay0-mc10-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Mon, 25
> Sep 2006 20:02:35 -0700
> Received:  from localhost ([127.0.0.1] helo=list.valvesoftware.com)by
> list.valvesoftware.com with esmtp (Exim 3.35 #1 (Debian))id 1GS2g2-0000Vs-00;
> Mon, 25 Sep 2006 19:28:06 -0700
> Received:  from [68.230.240.34] (helo=eastrmmtao05.cox.net)by
> list.valvesoftware.com with esmtp (Exim 3.35 #1 (Debian))id
> 1GS2cf-0000Oh-00for <[email protected]>; Mon, 25 Sep 2006
> 19:24:37 -0700
> Received:  from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao05.cox.net
> (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <[EMAIL 
> PROTECTED]>
> for <[email protected]>; Mon, 25 Sep 2006 22:57:54 -0400
> Received:  from phrozenfhnxhps ([24.250.49.218])by eastrmimpo02.cox.net with
> bizsmtpid SqxY1V00L4iTjSG0000000Mon, 25 Sep 2006 22:57:32 -0400
> I am going to assume you have a linux base installed?
> ----- Original Message -----
> From: "Romain Hellebrekers" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, September 25, 2006 10:00 PM
> Subject: [hlds_linux] Compiling HL2 Mod under FreeBSD 6.1
> >[ Converted text/html to text/plain ]
> >
> >Im trying to make a Linux server version of a mod I've been working
> >on,
> >but I
> >keep getting these errors:
> >
> >"Makefile", line 70: Unassociated shell command
> >"BUILD_DIR=$(BUILD_DIR)
> >BUILD_OBJ_DIR=$(BUILD_OBJ_DIR) \
> >"Makefile", line 71: Unassociated shell command
> >"SOURCE_DIR=$(SOURCE_DIR)
> >SHLIBLDFLAGS=$(SHLIBLDFLAGS) SHLIBEXT=$(SHLIBEXT) \
> >"Makefile", line 72: Unassociated shell command "CLINK=$(CLINK)
> >CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) \
> >"Makefile", line 73: Unassociated shell command "ARCH=$(ARCH)
> >GAME_DIR=$(GAME_DIR) MOD_CONFIG=$(MOD_CONFIG) NAME=$(NAME) \
> >"Makefile", line 74: Unassociated shell command
> >"XERCES_INC_DIR=$(XERCES_INC_DIR) XERCES_LIB_DIR=$(XERCES_LIB_DIR)
> >make: fatal errors encountered -- cannot continue
> >
> >I'm using the tutorial
> >http://developer.valvesoftware.com/wiki/Compiling_under_Linux[1] but
> >I
> >can't
> >get any further than the make command.
> >
> >I installed these packages:
> >
> >gmake-3.81_1        GNU version of 'make' utility
> >gnu-autoconf-2.59   Automatically configure source code on many Un*x
> >platforms
> >xerces-c-src_2_7_0
> >
> >What am I doing wrong?
> >
> >===References:===
> >  1. http://developer.valvesoftware.com/wiki/Compiling_under_Linux
> >
> >_______________________________________________
> >To unsubscribe, edit your list preferences, or view the list
> >archives,
> >please visit:
> >http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to