LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 06-08-2008, 01:54 AM   #1
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Rep: Reputation: 15
Wine installation on OpenSolaris 2008.05


I was trying to install wine in my system. I have downloaded the latest version of wine (1.0-rc3) from here , but wine build failed with the following error :

Quote:
configure: error: X development files not found. Wine will be built without X support, which probably isn't what you want.You will need to install development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this.
This is probably a bug , check out from here!!

Then I tried "Wine patch kit" and follow this instructions , but "./maintain download /usr/local/src/wine-patchkit /usr/local/src/wine-sources" failed with the following result :

Quote:
Arg 1 == download - downloading
mv: cannot access wine
Use "cvs" as password for winehq cvs
cvs checkout: warning: failed to open /root/.cvspass for reading: No such file or directory
cvs checkout: authorization failed: server cvs.winehq.org rejected access to /home/wine for user cvs
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Then I tried Doug Scott's wine build instructions , but when "./cbe-install" was asking for "Enter the path to the Solaris packages [/cdrom/cdrom0/Solaris_11/Product]:" , I didn't understand what should I give. (SXDE 9/07 installation DVD contains a Solaris_11 dir which has a Product dir but OpenSolaris 2008.05 installation CD has nothing like that !!).

Anyway , I opened 'cbe-install' from 'jds-cbe-1.6.0' and tried to resolve JDS_DEPENDENCIES using package manager. Below I have copied a part of cbe-install file which contains JDS_DEPENDENCIES :

Quote:
# packages that the JDS build requires. cbe-install will check if they
# are installed and install them if not.
JDS_DEPENDENCIES="SUNWgpch SUNWi2cs SUNWi1cs SUNWi15cs SUNWceuos SUNWcleu SUNWeuluf SUNWdeiso1 SUNWi5cs SUNWi13cs SUNWi9cs SUNWeeuos SUNWi7cs SUNWesiso1 SUNWcleu2 SUNWeu8os SUNWfriso1 SUNWale SUNWhkleu SUNWhleu SUNWinleu SUNWitiso1 SUNWjfpu SUNWkleu SUNWmeaos SUNWnafos SUNWnamos SUNWneuos SUNWsamos SUNWseuos SUNWsviso1 SUNWtleu SUNWweuos SUNWgtar SUNWwgetr SUNWwgetu SUNWhea SUNWsfwhea SUNWsprot SUNWxcu4"


Then I searched for each package in the "Package Manager". Most of them were available except a few . List of unavailable packages is given below :

Quote:
SUNWcleu
SUNWale
SUNWhleu
SUNWhkleu
SUNWjfpu
SUNWtleu
SUNWgtar
SUNWwgetr
SUNWwgetu
SUNWhea


This time "Package Manager" worked in a pretty strange way !!! When I searched for SUNWi2cs , it find out the package but after clicking the install/update button it showed me something like : "1 package will be installed, 0 MB will be downloaded" and SUNWi2cs installed in a moment.

"General Info" about the package was something like :

Quote:
Information for installed package:

Name: SUNWi2cs
FMRI: pkg:/SUNWi2cs@0.5.11,5.11-0.86:20080426T181621Z
Version: 0.5.11-0.86
Packaged: 2008-04-26 18:16:21
But , "Files Details" contained a single line : "Root: /".

Anyway , I found SUNWi2cs in the location : "/tmp/cbe-pkgs-vGxb". Other installed packages were also there. Then I tried "./cbe-install" again , result is given below :

Quote:
ritwik@ritwik:~$ cd jds-cbe-1.6.0
ritwik@ritwik:~/jds-cbe-1.6.0$ ./cbe-install
Checking for required packages...
Package SUNWi2cs is required for building JDS
Would you like to install it now? [yes]:
Install all required packages? [yes]:
Enter the path to the Solaris packages [/cdrom/cdrom0/Solaris_11/Product]: /tmp/cbe-pkgs-vGxb
Installing package SUNWi2cs
WARNING:
The package "X11 ISO-8859-2 required fonts"
is a prerequisite package and should be installed.
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Installation of was suspended (administration).
No changes were made to the system.
WARNING: failed to install required package SUNWi2cs
Would you like to retry? [yes]:
Enter the path to the Solaris packages [/tmp/cbe-pkgs-vGxb]:
Installing package SUNWi2cs
WARNING:
The package "X11 ISO-8859-2 required fonts"
is a prerequisite package and should be installed.
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Installation of was suspended (administration).
No changes were made to the system.
WARNING: failed to install required package SUNWi2cs
Would you like to retry? [yes]: n

Installation aborted.
ritwik@ritwik:~/jds-cbe-1.6.0$
Please give me some idea about solving this problem.....

Thank you !!!!

Last edited by rithik_ghoshal; 06-08-2008 at 01:57 AM.
 
Old 06-08-2008, 10:27 AM   #2
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Please give me some idea to solve this problem. Anyone please ....
 
Old 06-08-2008, 12:00 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165

Rep: Reputation: 243Reputation: 243Reputation: 243
Well, Wine detects the X development files are missing.

Did you start by trying to fix this first ?

I doubt there is any relationship between this message and the bug you linked to which is Linux related.
 
Old 06-09-2008, 07:34 AM   #4
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Please give me some idea about fixing the problem ... Which packages should be installed in my system to provide 'X-development' .. ans is it possible to install them using package -manager ??

Yes , that bug was submitted for linux os , but same error occurred during my wine build. So I thought may that same bug is creating problem during my wine build.
 
Old 06-09-2008, 08:10 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OEL
Posts: 9,165

Rep: Reputation: 243Reputation: 243Reputation: 243
I suppose the x development are header files. You should have a look at the Wine configuration script and its error log to figure out what it was expecting but didn't found.
 
Old 06-09-2008, 01:13 PM   #6
kebabbert
Member
 
Registered: Jul 2005
Posts: 439

Rep: Reputation: 40
Maybe doug scott's wine build instructions are not for opensolaris 2008.05, but only for SXDE? I think installing wine on build90 should be relatively plainless. And b90 supports boot with ZFS. And it is more stable than opensolaris, ive heard. I would go for b90, lots of people have installed wine under SXDE (including me).
 
Old 06-11-2008, 07:32 AM   #7
rithik_ghoshal
Member
 
Registered: Aug 2006
Location: kolkata , India
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks jlliagre ,
I have fixed that problem... and built wine successfully !!! But during built , almost all *.c file was generating a warning like :

Quote:
warning: visibility attribute not supported in this configuration; ignored
Anyway , I tried to execute some exe files with wine... and all of them generating same kind of error message like :

Quote:
err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count entries!
err:iphlpapi:getRouteTable unimplemented!
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Then I gave a look to the .xsession-errors file from my home folder , which showed me something :

(process:549): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.

(process:552): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
/etc/X11/gdm/Xsession: Beginning session setup...
Warning: could not open module file: /usr/lib/iiim/le/cle/input_methods/wubi_im.so
Warning: could not open module file: /usr/lib/iiim/le/cle/input_methods/newpy_gbk.so
Warning: could not open module file: /usr/lib/iiim/le/cle/input_methods/newsp_gbk.so

--------------------------------------------- lots more *.so files
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Getting xVM to work in Opensolaris 2008.05 LXer Syndicated Linux News 0 05-29-2008 05:10 PM
LXer: OpenSolaris 2008.05 strikes out again LXer Syndicated Linux News 0 05-24-2008 01:41 AM
A problem with su on OpenSolaris 2008.05 crisostomo_enrico Solaris / OpenSolaris 4 05-13-2008 04:50 AM
OpenSolaris 2008.05 Installation Help harley51 Solaris / OpenSolaris 11 05-08-2008 03:06 PM
LXer: OpenSolaris 2008.05 Gives A New Face To Solaris LXer Syndicated Linux News 0 04-25-2008 09:50 AM


All times are GMT -5. The time now is 12:01 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration