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.
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:
Then run the script like this:
CODE