Difference between revisions of "Xaw3d"

From CBLFS
Jump to navigationJump to search
(With this method, installation works fine for non-multilib. Need someone to test for multilib.)
m (Reverted edits by Chipster19 (Talk); changed back to last version by Jciccone)
Line 18: Line 18:
  
 
== Non-Multilib ==
 
== 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:
 
Compile the package:
  
 +
sed -i "s:X11/Xaw3d/::" *.c &&
 
  xmkmf &&
 
  xmkmf &&
 
  make EXTRA_INCLUDES=-I.
 
  make EXTRA_INCLUDES=-I.
Line 70: Line 66:
  
 
  make install
 
  make install
 
= Contents =
 
 
{|style="text-align: left"
 
|-valign="top"
 
!Installed Programs:
 
| None
 
|-valign="top"
 
!Installed Libraries:
 
| libXaw3d.so
 
|-valign="top"
 
!Installed Directories:
 
| ${XORG_PREFIX}/include/X11/Xaw3d
 
|}
 

Revision as of 11:54, 29 March 2007

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

Compile the package:

sed -i "s:X11/Xaw3d/::" *.c &&
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