Page 11 of 18

Posted: Sun 18 Oct 2009, 01:37
by green_dome
I am attempting to compile Wine, but am having some problems. Using a frugal install with the Devx file, Wine appears to compile and install fine. Running 'winecfg' from the console appears to work. If I reboot into my full hard drive installation of Puppy, 'winecfg' is not found. 'winecfg' appears to not be in /usr/bin. What would you recommend I do to fix this, so a .PET will work out of the box, so to speak?

A few details are as follows.
frugal install using:
puppies-431.1-main-Xserver.iso [1]
devx_430.sfs

When compiling, I used in console (without quotes):
'./configure prefix=/usr sysconfdir=/etc localstatedir=/var build=i486-pc-linux-gnu' [2]

If anyone needs more details to diagnose this issue, just ask.

Posted: Sun 18 Oct 2009, 02:24
by technosaurus
did you look in /usr/sbin ???

Here is a set of extra files (I took out winetricks because it was outdated)

Posted: Sun 18 Oct 2009, 02:46
by technosaurus
If you build with this instead of just ./configure it will be much smaller (like the 1.1.30 build)

Code: Select all

CFLAGS=" -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer \
-fmerge-all-constants -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 " \
CXXFLAGS=" -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer \
-fmerge-all-constants -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 " \
LDFLAGS="  -Wl,-O4,-Os,-relax,--sort-common,--no-keep-memory,-s " \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--build=i486-t2-linux-gnu ..............
I finally figured out how to override Wine's stubborn Makefiles that have builtin -O2 optimization
This is required to make the build smaller by ~4-5MB compressed

Code: Select all

find . -iname \*akefile -execdir sed -i "s/-O[0-3]/ -Os -pipe -combine -momit-leaf-frame-pointer -fomit-frame-pointer -fmerge-all-constants -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 /g" {} ';' -print

debugger and wine

Posted: Mon 19 Oct 2009, 04:52
by green_dome
I initially posted this into another thread by mistake. I am unsure how to edit a post. By the way, my intention is not to advertise a for-pay game site.
The following is my copied post.
---------

It is interesting that when I use wine-1.1.29-i486-1kjz.tgz I can play the GOG.com version of 'FlatOut'.

When I use 'wine_lite-1.1.30-i486.pet' or any .PET of wine 1.1.31 that I have made, I get the [following]:

A debugger has been detected
Unload the debugger and try again

[/following]

I will try to find a free program that gives this same message so perhaps the issue can be diagnosed as to why it happens.

Posted: Mon 19 Oct 2009, 12:34
by technosaurus
if you can't find out anything on winehq.org appdb you can try running this prior to compile (and after configuring with --disable-debug)

Code: Select all

find . -iname \*akefile -execdir sed -i "s/ -g / /g" {} ';' -print
I'm not sure if it will work, but that's what I would try first.

wine 1.1.31

Posted: Tue 20 Oct 2009, 03:20
by green_dome
Here is my novice attempt at compiling wine (release 1), so beware :)
wine-1.1.31-i486.pet

md5 - 7f0b026803ae556a88bb266175c0ed00
sha1 - 9582662c974933b305d29ebb69cd8b094313a2c2

I recommend using 'winefiles_no_tricks.pet' [1] from technosaurus. I found this file to be an easy way to add winecfg that I was unsure of how to add. I do not know how to successfully uninstall it, so keep that in mind.
I have it mirrored, if no one has any objections.

Posted: Tue 20 Oct 2009, 12:12
by mikeb
I used one wine offering and there was no winecfg too...but I grabbed it from an earlier version as it's just a simple launch script that does not seem to vary from version to version

mike

Posted: Tue 20 Oct 2009, 14:11
by technosaurus
GD - did that fix your problem with flatout?

Posted: Tue 20 Oct 2009, 22:00
by green_dome
mikeb - good to know that winecfg appears static from version to version of wine.

technosaurus - I ended up using:

Code: Select all

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu
When I used the following code, FlatOut would refuse to run.

Code: Select all

CFLAGS=" -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer \
-fmerge-all-constants -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 " \
CXXFLAGS=" -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer \
-fmerge-all-constants -mpreferred-stack-boundary=2 -march=i386 -mtune=i686 " \
LDFLAGS="  -Wl,-O4,-Os,-relax,--sort-common,--no-keep-memory,-s " \
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--build=i486-t2-linux-gnu
Perhaps there are other variables or code that will allow 'Flatout' to run, but using what I read from Barry's blog appears to work fine.

By the way, --disable-debug did not appear to be recognized.

Thanks for all the help.

Posted: Tue 20 Oct 2009, 22:30
by Gedrean
Yeah I'm starting to wonder about all these flags myself, but that's for another thread I'm already in. ;)

Keepass Portable does not run in 1.1.30

Posted: Wed 21 Oct 2009, 03:16
by tlchost
Keepass Portable fails to run in wine 1.1.30....it does run in wine1.1.14

Any fix?

Thanks
Thom

Posted: Wed 21 Oct 2009, 07:31
by vovchik
Dear green_dome,

Many thanks for your version of 1.3.1. It works on my Puppy 3.01 and 3.10 and installs fine.

With kind regards,
vovchik

PS. I did notice that the download was a few MB larger than the last versions. Did you strip anything?

Posted: Wed 21 Oct 2009, 11:28
by green_dome
I did not strip anything this time. I may do that in the future though.

Posted: Wed 21 Oct 2009, 23:30
by green_dome
Ok, here is another novice attempt (release 2) at compiling wine 1.1.31.
I split it into two files and attempted some stripping of the main file. Thanks technosaurus, for your example in one of your posts.

wine-1.1.31-i486.pet
md5 - 4fad4d1a9078555a6a31f7a27a822649
sha2 - 29ce9453eed039917be06808fee8e4aec2864958

wine_DEV-1.1.31-i486.pet
md5 - 796c22e680cf1d3020a1fa29ad44cd52
sha1 - b951f764534011b96c814d2f6eba2d29fafbf17e

I am still using winefiles_no_tricks.pet [1] for adding winecfg and other helpful files. Mirrored here. I still do not know how to successfully uninstall it, so keep that in mind.

Office 97 apps tested working with wine_lite-1.1.30

Posted: Fri 23 Oct 2009, 01:48
by mcewanw
Using installed: http://www.puppylinux.asia/members/T/44 ... 0-i486.pxt on Puppy 4.3 frugal install (Dell CPx laptop; 450 MHz Pentium III with 256 MB RAM with 128 MB swap)

I've never used wine before, so can't say I really know if I'm doing things right.

Fed up with Abiword (though keeping it for docx files), I decided to try installing old MS Office 97 apps with wine. Tried just doing it out of the box by mounting the Office CD an entering: wine setup.exe
but the setup wouldn't complete properly.

Googled and read various articles about how to do it, but none of the combinations worked for me.

Finally, after clean install of wine did the following in order, which has worked for me:

[In rxvt console, entered and did the following]

1. winecfg
Set Default OS to Windows 98 (Apply then Exit)

2. Used winetricks (which I think I downloaded from elsewhere) to install dcom98

3. winecfg
Selected "Default" at the Application tab and then went to Libraries tab where I selected rpcrt4 and edited the entry to use the Wine builtin version (left all other stuff as it was).

4. Mounted my office97 CD and opened a terminal where the setup.exe file was.

5. In that terminal entered: wine setup.exe
Chose Custom installation and installed, Excel, Word and Powerpoint

It then all completed without error and reported installation as successful. Didn't use wine regedit or do anything else.

6. I then copied the icons for Excel, MSWord and Powerpoint from ~/.wine/drive_c/Program Files/Microsoft Office/Office onto my desktop.

7. In Rox filemanager, right-click and Set Run Action for .exe files to: wine "$@"

The apps seem to work, and responsively (but it would be great to know from a wine usage "expert" if their is a better/improved way of setting apps like this up)!

Note: I don't use and didn't install Access. Some online installation installation guides I've read say that it wouldn't work with wine anyway.

Posted: Fri 23 Oct 2009, 04:36
by davids45
G'day,
In the past, I also have installed MS 0ffice 97 from CD to wined Puppies. Word & Excel run very well - as long as I avoid using OO Calc to open and save an Excel file. Calc causes an error in the Save so that Excel then reports a "Disk Full" error if I use the Calc-saved file in Excel. Gnumeric can fix this problem - open & save the OO-affected .xls file and then it's OK in Excel.

I have (last night) successfully installed green_dome's Wine 1.1.31 Pet straight over existing Wine 1.1.20 and 1.1.28 versions in several Full Pups - so well done, green-dome! Already installed MS Office 97 and some other specialty Windows programs all started up as before.

I haven't yet created any updated sfs files of my updated .wine directory since installing 1.1.31 into the Fulls. I use these sfs for the Frugals. Doing this includes the MS Office 97, etc programs as well in just a single boot-at-Start-Up sfs. Adding in the .desktop menu files for Office97 from /usr/share/applications puts them on the drop-down menus, as well as dragging icons to the Pinboard/Desktop to start up a wine program.

Creating the .desktop files for these Windows programs was a bit tricky - finding the right paths and icons for Windows remains a 'pain' (or 'pane'?).

And if all this is still OK, I can then create from a full install, a Pet of the latest Wine plus my MS programs, to make adding all this to the next new Puppy just a single Petget from my data partition.

On the bad side, MS Office 2002 doesn't install for me, at least for the older wines. I'll try 1.1.31 soon.

David S.

Posted: Fri 23 Oct 2009, 20:05
by panzerpuppy
WINE 1.1.32 is out!
-------------------------
LOTS of bugfixes, 7-zip doesn't crash anymore, many games work without errors.

Posted: Fri 23 Oct 2009, 20:27
by mikeb
WINE 1.1.32 is out!
well compile it then............................

Posted: Sat 24 Oct 2009, 02:03
by green_dome
Here is my novice attempt (release 1) at compiling wine 1.1.32

wine-1.1.32-i486.pet
md5 - fcae83d830d2c059c9197eb9fb6e85d2
sha1 - d8344a05a2458c130372a4d59a75afe6eaf793ad

wine_DEV-1.1.32-i486.pet
md5 - b0fb218aa0c57f5a2f4a12b472dc192c
sha1 - 28b582166da4cbc142dfe5d97619d1fdd6f6607c

I am still using winefiles_no_tricks.pet for adding winecfg and other helpful files. Mirrored here. I still do not know how to successfully uninstall it, so keep that in mind.

office 97 under wine: true type fonts?

Posted: Sat 24 Oct 2009, 07:03
by mcewanw
Though MSword 97 works fine for me over wine, it doesn't "look" very nice. I added a Times New Roman true type font from microsoft core ttf's into ~/.wine/drive_c/windows/Fonts and it appears in the font choices okay. However, it doesn't render very prettily on the X GUI. But Abiword (under Puppy 4.3) renders all fonts very nicely.

So my question is... how can I make the fonts render nicely on the X screen when running MS apps (such as Office 97 word) over wine (even the fonts in the word menu bars don't render very nicely). Or can it not be done as yet?