Wine 1.1.30 + winetricks +color setter +goodies ...pet & sfs

Virtual machines, emulation, etc.
Message
Author
green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

#201 Post 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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#202 Post by technosaurus »

did you look in /usr/sbin ???

Here is a set of extra files (I took out winetricks because it was outdated)
Attachments
winefiles_no_tricks.pet
(14.68 KiB) Downloaded 510 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#203 Post 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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

debugger and wine

#204 Post 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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#205 Post 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.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

wine 1.1.31

#206 Post 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.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#207 Post 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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#208 Post by technosaurus »

GD - did that fix your problem with flatout?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

#209 Post 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.

User avatar
Gedrean
Posts: 139
Joined: Fri 05 Jun 2009, 05:59

#210 Post by Gedrean »

Yeah I'm starting to wonder about all these flags myself, but that's for another thread I'm already in. ;)

tlchost
Posts: 2057
Joined: Sun 05 Aug 2007, 23:26
Location: Baltimore, Maryland USA
Contact:

Keepass Portable does not run in 1.1.30

#211 Post by tlchost »

Keepass Portable fails to run in wine 1.1.30....it does run in wine1.1.14

Any fix?

Thanks
Thom

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#212 Post 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?

green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

#213 Post by green_dome »

I did not strip anything this time. I may do that in the future though.

green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

#214 Post 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.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Office 97 apps tested working with wine_lite-1.1.30

#215 Post 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.
Last edited by mcewanw on Sat 24 Oct 2009, 02:43, edited 1 time in total.
github mcewanw

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#216 Post 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.

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#217 Post by panzerpuppy »

WINE 1.1.32 is out!
-------------------------
LOTS of bugfixes, 7-zip doesn't crash anymore, many games work without errors.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#218 Post by mikeb »

WINE 1.1.32 is out!
well compile it then............................

green_dome
Posts: 203
Joined: Tue 06 Jan 2009, 02:49
Contact:

#219 Post 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.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

office 97 under wine: true type fonts?

#220 Post 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?
github mcewanw

Post Reply