Wine Reviews
Wine on Solaris Print
Written by Tom Wickline   
Wednesday, 05 March 2008 04:24

If you use Solaris or Solaris Express, you may want to also use Wine to install Windows programs. There are few ways, but I will write about my favorite - one that uses SFE repository, which enables you to use other fantastic open source programs not packaged for Solaris yet.

First things first. You need Sun Studio IDE. SFE is a repository of rpm-like .spec files with few other arguments needed in Solaris environment. For building packages you'll need pkgbuild tool, Java Deskopt System Common Build Environment (you don't need source, only binaries). JDS-CBE requires/recommends a few packages available at Solaris DVD but not typically installed. The list is given at above link. Both JDS-CBE and SFE repository recommend using Sun Studio 11 with latest patches. Remember, patches are important, they fix bugs but also enable Sun Studio to use some of GCC extensions. I personally have compiled wine and it's prerequisits with Sun Studio Express, the development version of Sun Studio and I suppose you could use Sun Studio 12.
While you are downloading said software, you need to take away from your compilation user "Primary Administrator" role and give it "Software Installation" role. If you don't know what I mean, simply issue the following (as a root or as Primary Administrator) and some day take your time to read about RBAC:

 




# usermod -P "Software Installation" yourlogin

Now, that you have given yourself a proper profile, have installed Sun Studio and its patches (Express has no patches), have installed jds-cbe, have installed pkgtool, you need to checkout SFE svn repository:

svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk SFE

On recent SXCE (mine is 81) you have svn already, on Solaris 10 you will need to issue, so that svn shows up in your path. You can also use Blastwave svn:

. /opt/jdsbld/bin/env.sh

for sh or bash and for csh:

. /opt/jdsbld/bin/env.csh

You will also need to source env every time you intend to compile a package, no matter the Solaris version. Note, that later on svn that comes with jds is deemed too old for updating SFE repository, so I suppose building your own or aquiring one from Blastwave.
And now, time for the goodness.
Remember to always source the env. It sets up proper paths and environment variables. Building wine requires some additional packages, which will be listed for you after you issue the following in SFE directory:

pkgtool --build SFEwine.spec

This will download wine sources, patch it, configure and print for you the list of prerequisits. Simply follow the list and you're done.
If you want to have more to observe during compilation, issue:

pkgtool --build --interactive SFEwine.spec

If you want to build packages, issue:

pkgtool --build --interactive --pkgformat=ds SFEwine.spec

In a directory packages/PKGS/ in your home directory there will be packges ready to be installed for other similar systems. On your system they are already installed.
I think this is enough for today.

Update :  An obligatory screenshot.
Update :  Bordeaux 1.6 for Solaris and OpenSolaris systems coming soon

Del.icio.us     Digg This!     Furl     Google     Seed Newsvine     Reddit     Slashdot     Stumble It!     Technorati     Yahoo MyWeb

Comments
Add New Search RSS
Step by step for newbies
Gomer 2009-01-02 09:28:08

Hi, can you please provide a more step-by-step guide or link to a site that explicitly
teaches how to make wine work on Solaris?
I've been trying for quite long but no success,
and I'm a newbie so I don't understand very well the instructions
you provide.

Regards,

Web Developer at BuzzyVenture.com
stephen 2009-03-22 12:05:20

I do everything as per instructions and got this error:

scb@Constantine:~$ svn co
https://pkgbuild.svn.sourceforge.net/svnroot/pkgbu ild/spec-files-extra/trunk SFE
ld.so.1: svn:
fatal: libdb.so.1: open failed: No such file or directory
Killed

Interestingly, none of the SFE
stuff I have tried has worked.
Abhijeet 2009-11-21 14:55:17

try this u will install wine !!!!!!!!
open the terminal

pfexec pkg set-authority -O
http://pkg.opensolaris.org/contrib/ contrib

You can install Wine by simply typing

pfexec pkg
install wine

This will pull in Wine and all the other packages that support it.

After doing this
you can run the Bordeaux installer by typing:

./bordeaux-solaris.x86.sh
Write comment
Name:
Email:
 
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
Text:

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."