[Gtkradiant] Install steps for GtkRadiant on FreeBSD
Timothee Besset
gtkradiant@zerowing.idsoftware.com
Sat, 11 May 2002 21:39:05 +0200
It's probably much easier to build it directly on BSD. Get the linux setup
to install all the content, then compile your own binaries.
TTimo
At 16:01 11/05/2002 +0200, you wrote:
>How to install and run GtkRadiant on FreeBSD
>
>You will need to have the linux_base installed from the ports
>collection. Then install the following ports (I used the linux_base-7
>port);
>
>linux-jpeg-6
>linux_devtools (not sure why I needed these now)
>mipsel-linux-binutiles (not sure if this was was really need)
>
>I have a ATI Rage Mobile 4 meg video card. This required me to install
>the linux_mesa3 port as well.
>
>I also need to install the following Linux rpms for one reason or
>another;
>
>gtk+-1.2.8-1rh52.i386.rpm
>libxml2-2.4.6-1.i386.rpm
>binutils-2.11.90.0.8-12.i386.rpm
>compat-libstdc++-6.2-2.9.0.14.i386.rpm
>libstdc++-2.96-85.i386.rpm
>glibc-2.2.4-24.i386.rpm
>glibc-common-2.2.4-24.i386.rpm
>glibc-devel-2.2.4-24.i386.rpm
>
>These are the version I installed, I'm pretty sure newer version will
>also work. You should be able to download them from your local RedHat
>FTP mirror.
>
>You will need to install the rpms with the -nodpes and -root switches.
>For example;
>
>rpm --root /compat/linux/ -vv -nodeps --ignoreos \
> -i gtk+-1.2.8-1rh52.i386.rpm
>
>Now to install Radiant. After downloading 1.2.1 and the 1.2.6 update of
>Radiant you will need to the do the following;
>
>sh linux-radiant-full-1.2.3.x86.run --keep
>
>This will unpack files to ./radiant-setup/ and NOT install anything. You
>now need to change a folder name;
>
>cd radiant-setup
>mv setup.data/bin/Linux setup.data/bin/FreeBSD
>
>Then you need to edit setup.sh - here is the diff output (some lines may
>wrap);
>
>*** setup.sh Sat Mar 16 17:44:03 2002
>--- setupFreeBSD.sh Thu May 2 23:15:51 2002
>***************
>*** 25,43 ****
> DetectLIBC()
> {
> status=1
>! if [ `uname -s` != Linux ]; then
> echo "glibc-2.1"
> return $status
> fi
>! if [ -f `echo /lib/libc.so.6* | tail -1` ]; then
>! if fgrep GLIBC_2.1 /lib/libc.so.6* 2>&1 >/dev/null; then
> echo "glibc-2.1"
> status=0
> else
> echo "glibc-2.0"
> status=0
> fi
>! elif [ -f /lib/libc.so.5 ]; then
> echo "libc5"
> status=0
> else
>--- 25,43 ----
> DetectLIBC()
> {
> status=1
>! if [ `uname -s` != FreeBSD ]; then
> echo "glibc-2.1"
> return $status
> fi
>! if [ -f `echo /compat/linux/lib/libc.so.6* | tail -1` ]; then
>! if fgrep GLIBC_2.1 /compat/linux/lib/libc.so.6*
>2>&1>/dev/null; then
> echo "glibc-2.1"
> status=0
> else
> echo "glibc-2.0"
> status=0
> fi
>! elif [ -f /compat/linux/lib/libc.so.5 ]; then
> echo "libc5"
> status=0
> else
>
>--------------
>All that is left is to run the setup.sh script and follow the
>instructions.
>
>To upgrade to 1.2.6 you will need to re-do the install but with the
>update package.
>
>To get GtkRadiant to run on my ATI card I need to use the following
>command line;
>
>radiant --libgl /compat/linux/usr/X11R6/lib/libMesaGL.so
>
>Hope that helps someone.
>
>-Tig
>
>
>
>_______________________________________________
>Gtkradiant mailing list
>Gtkradiant@zerowing.idsoftware.com
>http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant