Xaw3d

From CBLFS
Revision as of 06:23, 29 March 2007 by Chipster19 (talk | contribs) (With this method, installation works fine for non-multilib. Need someone to test for multilib.)
Jump to navigationJump to search
Download Source: ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-1.5E.tar.gz

Xaw3d-1.5E.tar.gz will extract into xc/lib/Xaw3d. cd into that directory before running the commands in this page.

Introduction to Xaw3d

Xaw3d is a general-purpose replacement for the Athena toolkit which adds a 3D appearance and support for XPM images.

Dependencies

Required

Non-Multilib

First you must install *.h files before compiling Xaw3d. In root, execute the following commands :

mkdir ${XORG_PREFIX}/include/X11/Xaw3d
cp *.h ${XORG_PREFIX}/include/X11/Xaw3d

Compile the package:

xmkmf &&
make EXTRA_INCLUDES=-I.

Install the package:

make install

Multilib

32Bit

Compile the package:

sed -i "s:X11/Xaw3d/::" *.c &&
USE_ARCH=32 xmkmf &&
make EXTRA_INCLUDES=-I.

Install the package:

make install

N32

Compile the package:

sed -i "s:X11/Xaw3d/::" *.c &&
USE_ARCH=n32 xmkmf &&
make EXTRA_INCLUDES=-I.

Install the package:

make install

64Bit

Compile the package:

sed -i "s:X11/Xaw3d/::" *.c &&
USE_ARCH=64 xmkmf &&
make EXTRA_INCLUDES=-I.

Install the package:

make install

Contents

Installed Programs: None
Installed Libraries: libXaw3d.so
Installed Directories: ${XORG_PREFIX}/include/X11/Xaw3d
Retrieved from "?title=Xaw3d&oldid=8495"