Wine on Solaris PDF Print E-mail
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

 

Bordeaux Progress

Bordeaux [3.0.0]
[70%]


Latest Comments

Please install the joomlacomment component first.

Most Comments

Please install the joomlacomment component first.

Stats

Statistics

Members : 8
Content : 683
Content View Hits : 2040275
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday15
mod_vvisit_counterYesterday2078
mod_vvisit_counterThis week8355
mod_vvisit_counterThis month4143
mod_vvisit_counterAll1509740