Gaming Wine Error

piratesmack

Well-Known Member
Member
Joined
Mar 28, 2009
Messages
787
Trophies
0
Age
32
Location
$(pwd)
XP
148
Country
United States
playallday said:
themuddaload said:
why are you trying to use wine on notepad? arent there enough open source text file making programs?
It was just a test. I'm not getting wine for notepad.
tongue.gif


Already tried reinstalling it. Even reinstalled Linux. No luck so far.



Maybe the deb package is just bad, try compiling it from source.

I wrote a quick shellscript that should build a deb from source.
It's not exactly a Debian standard deb, but it should work.
Code:
#!/bin/bash

PRGNAM=wine
VERSION=${VERSION:-1.1.27} # Change this to whatever version you want
ARCH=${ARCH:-i386} # Change to "amd64" if you're using a 64-Bit system
CWD=$(pwd)
TMP=/tmp/build
PKG=$TMP/$PRGNAM-package
WHO=$(whoami)
OUTPUT=$CWD/$PRGNAM-$VERSION-$ARCH.deb

# Make sure script is run as root
if [ $WHO != root ]; then
ÂÂprintf "You must be root!\n"
ÂÂexit
fi

# Exit on most errors
set -e

# Remove old build if exists
if [ -d $TMP ]; then
ÂÂrm -rf $TMP
fi

mkdir -p $TMP $PKG

# Install build dependencies
apt-get update
apt-get build-dep wine

cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2

cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+r,go+r-w,a-s .

./configure \
ÂÂ--prefix=/usr \
ÂÂ--sysconfdir=/etc \
ÂÂ--localstatedir=/var \
ÂÂ--with-opengl

make depend
make
make install DESTDIR=$PKG

mkdir -p $PKG/debian

# Create a control file
touch $PKG/debian/control
echo Package: $PRGNAM > $PKG/debian/control
echo Version: $VERSION >> $PKG/debian/control
echo Maintainer: $WHO >> $PKG/debian/control
echo Architecture: $ARCH >> $PKG/debian/control
echo Description: $PRGNAM >> $PKG/debian/control

# Build deb
chown -R root:root $PKG
dpkg --build $PKG $OUTPUT

# Cleanup
rm -rf $TMP

Just copy and paste that text into gedit and save it as "wine.sh"
Download the latest Wine source from here. Make sure it's in the same directory as the script.

Make the script executable:
Code:
chmod u+x wine.sh

Then run the script like this:
CODE
sudo ./wine.sh

I haven't gotten to test the script yet (Only got Windows ME
mad.gif
), so let me know if it doesn't work.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: My wife's doctor prescribed her a ointment for kne pain