Difference between revisions of "Wine"

From CBLFS
Jump to navigationJump to search
Line 23: Line 23:
  
 
  make install &&
 
  make install &&
  ln -sv /opt/wine-0.9.23 /opt/wine &&
+
  ln -sv /opt/wine-0.9.23 /opt/wine
ln -sv /opt/wine/bin/wine /usr/bin/wine
 
  
 
== Multilib x86_64 ==
 
== Multilib x86_64 ==
Line 37: Line 36:
  
 
  make install &&
 
  make install &&
  ln -sv /opt/wine-0.9.23 /opt/wine &&
+
  ln -sv /opt/wine-0.9.23 /opt/wine
ln -sv /opt/wine/bin/wine /usr/bin/wine
 
  
=== Configure ===
+
=== Configuration ===
 +
 
 +
== 50-wine.sh ==
 +
 
 +
If you're using the [[Bash Startup Files]] create an addition for them with the following command:
 +
 
 +
cat > /etc/profile.d/50-wine.sh << "EOF"
 +
# Begin /etc/profile.d/50-wine.sh
 +
 +
export PATH="${PATH}:/opt/wine/bin"
 +
 +
# End /etc/profile.d/50-wine.sh
 +
EOF
  
 
Simple config
 
Simple config
 
  /opt/wine/winecfg
 
  /opt/wine/winecfg

Revision as of 18:29, 14 October 2006

Download Source: http://prdownloads.sourceforge.net/wine/wine-0.9.23.tar.bz2

Remember that Wine is not an emulator therefore it will only work on x86 or x86_64 Multilib systems.

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/opt/wine-0.9.23 &&
make depend
make


Install the package

make install &&
ln -sv /opt/wine-0.9.23 /opt/wine

Multilib x86_64

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/opt/wine-0.9.23 \
make depend
make

Install the package

make install &&
ln -sv /opt/wine-0.9.23 /opt/wine

Configuration

50-wine.sh

If you're using the Bash Startup Files create an addition for them with the following command:

cat > /etc/profile.d/50-wine.sh << "EOF"
# Begin /etc/profile.d/50-wine.sh

export PATH="${PATH}:/opt/wine/bin"

# End /etc/profile.d/50-wine.sh
EOF

Simple config

/opt/wine/winecfg