Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to clean up several build instructions for Wine under Solaris x86. I have Solaris Express Community edition build 67. I want to write the wine instructions down, and put them somewhere on the web. To do that, I need some assistance. Could someone please try these build instructions to get Wine running? It seems to compile fine for me, but I want to see if these instructions work for several other machine setups.
Here is more info about Wine (which allows you to run Windows program on Solaris): www.winehq.org
Should I add these instructions to my Solaris noob guide, or do they work only for my machine?
2. set up the environment (I use `tcsh`, so these will need to be adapted for Bourne shell family):
setenv PATH ${PATH}:/usr/ccs/bin:/usr/sfw/bin; rehash
(just make sure /usr/ccs/bin and /usr/sfw/bin is in your PATH).
EDIT: Lot of people reports greatest success with Doug Scott's build instructions further down here. Use Doug Scott's Wine build instructions. It also seems as his instructions require OpenSolaris (Solaris Express), and are troublesome under plain Solaris 10.
That was a name clash with an enum, I fixed it by replacing all "struct version" by "struct actctx_version" in the actctx.c file.
After that, everything compiles.
I installed the build but it appears to be unstable, perhaps because of a lack of configuration (I just created ~/.wine).
The notepad crashes after leaving any menu with:
Code:
/tmp/wine-0.9.42 $ /opt/wine/bin/notepad
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/tmp/wine-0.9.42', starting in the Windows directory.
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/', starting in the Windows directory.
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x440000f
Serial number of failed request: 182
Current serial number in output stream: 182
Ok, just what I suspected. The fontforge package is used to generate fonts that wine uses, I believe. So it should be installed first maybe?
When running wine for the first time, there are programs in /wine/bin
that is called winecfg etc. One of them sets up your config files automaticallye for you, and then your last error msgs disappears. You should delete .wine and let it automatically get created.
I have other build instructions for wine too, somewhere. That works.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
winecfg crashes:
Code:
$ rm -rf ~/.wine
$ /opt/wine/bin/winecfg
wine: creating configuration directory '/home/jlliagre/.wine'...
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x4400003
Serial number of failed request: 59
Current serial number in output stream: 59
wine: wineprefixcreate failed while creating '/home/jlliagre/.wine'.
$ : No such file or directory
: No such file or directory
wineserver: could not save registry branch to /home/jlliagre/.wine-FEVWLx/system.regwineserver: could not save registry branch to /home/jlliagre/.wine-FEVWLx/user.reg
Step 4: Build and install CBE
- If you are not building JDS you can say no to installing dependencies
- This may take some time
cbe@db1> cd jds-cbe-1.6.0
cbe@db1> ./cbe-install
Step 5: Add env.sh to your .bash_profile
cbe@db1> cd ..
cbe@db1> printf ". /opt/jdsbld/bin/env.sh\n" >> .bash_profile
cbe@db1> . /opt/jdsbld/bin/env.sh
This is using the CBE package system for Solaris. Just like blastwave, but it downloads the source automatically and compiles automatically for you. However, first the were was an compilation error, I first had to copy libgunicode.so.3 to /usr/lib and then compiling continued. But it would be better to a symlink i believe. This package also installs fontforge for you automatically.
The CBE package has also the latest vlc-player to download for Solaris (and lots of other stuff, like "GKrellm" which is a must - it displays info about your computer; memory, swap, etc. Go to it's web site). However, I couldnt get vlc to work. So if you succeed with vlc player I would be happy to know. The only issue is that it crashes when playing mpeg4, otherwise it works perfectly.
Both links are broken? Hmmm... weird. What happens if you just cut & copy the text into shell?
The reason it is bash, is because Doug Scott wrote his instructions that way. Im a real noob, and couldnt have come up with those, neither could I modify the instructions.
http//dlc.sun.com/osol/jds/downloads/cbe/jds-cbe-1.6.0-src.tar | tar fx -
https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk spec-files-extra
I dont get it, why are the broken links shown with "..." in the middle of the string? I had to put code-tags around to fix it.
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137
Rep:
What th ........
Look:
Code:
$ bunzip2 wine-0.9.44.tar.bz2
$ tar -xf wine-0.9.44.tar
tar: pax_global_header: typeflag 'g' not recognized, converting to regular file
$ setenv PATH ${PATH}:/usr/ccs/bin:/usr/sfw/bin; rehash
/bin/ksh: setenv: not found
/bin/ksh: rehash: not found
$
ps. i work under the KDE (OpenWindow Envoriment) version of Solaris
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137
Rep:
i download a MAKE-program, but got this error:
Code:
$ su
Password:
# cd make-3.81
# sh configure
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
#
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137
Rep:
download GNU-TAR, but when trying to install:
Code:
# cd ../
# gunzip tar-1.18.tar.gz
# tar -xf tar-1.18
tar: tar-1.18: No such file or directory
# ^C
# tar -xf tar-1.18.tar
# cd tar-1.18
# ./configure
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking how to create a ustar tar archive... plaintar
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.