LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 08-28-2007, 08:40 AM   #31
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15

had the first problem coming, no flex found...

Code:
bash-3.00$ su
Password: 
# cd wine-0.9.44
# sh ./configure
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking for cpp... no
checking for the directory containing the Wine tools... $(TOPOBJDIR)
checking how to run the C preprocessor... cc -E
checking for X... libraries , headers 
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for flex... no
configure: error: no suitable flex found. Please install the 'flex' package.
#
downloaded flex with blastwave...., but kept lovely errors:

Code:
"../include/windef.h", line 63: #error: You need to define __stdcall for your compiler
cc: acomp failed for fnt2bdf.c
*** Error code 2
make: Fatal error: Command failed for target `fnt2bdf.o'
Current working directory /export/home/dezeeuw/wine-0.9.44/tools
*** Error code 1
The following command caused the error:
cd tools && make
make: Fatal error: Command failed for target `tools'
#

Last edited by LAN-Dominator.nl; 08-28-2007 at 09:04 AM.
 
Old 08-28-2007, 11:14 AM   #32
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by kebabbert View Post
I am using the Sun Studio v12 C++ compiler.
That may explain why you do not have the "version" issue, or perhaps is it a bug introduced in newer wine releases.
Quote:
I think the build script recommends Sun Studio somewhere in the text?
The only recommendation I find is the opposite, from the README file:
Solaris info:
You will most likely need to build Wine with the GNU toolchain
(gcc, gas, etc.). Warning : installing gas does *not* ensure that it
will be used by gcc. Recompiling gcc after installing gas or
symlinking cc, as and ld to the gnu tools is said to be necessary.
Quote:
Plain vanilla b68. Compiling and installing worked flawlessly with Wine v0.9.41. Somewhere in the cbe files there is a README file, that tells which versions of Wine is working. Like pkgget/etc/README or something similar place. (All packages you can download, is listed there with .txt info, and a README file).
Now I'm confused. Are you telling the procedure you posted quoted from Doug Scott is the one you use and not the one from the wine distribution ?
Quote:
I am running DC++ right now. I also tried Doom 1 and Heretic, Hexen and stuff. There is some problems running those games though. VLC Player doesnt work correctly, the sound lags terribly. But the picture seems correct? I prefer XMMS as a video player though.




Ive heard that you can substitute the DLL files Wine produces, with the corresponding Windows XP dll files. That would give a better result with running programs? Anyone tried this?
Not yet, I haven't a working wine to test ...
 
Old 08-28-2007, 01:46 PM   #33
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Original Poster
Rep: Reputation: 46
I used vanilla b68, downloaded latest Sun studio, and used Doug's CBE build instructions. Worked flawlessly (except one library I had to point to).
 
Old 08-28-2007, 04:04 PM   #34
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Okay, thanks. That explains a lot. Everyone else was using the first approach and failing.

I'll give a try at the CBE way.
 
Old 08-29-2007, 08:08 AM   #35
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Original Poster
Rep: Reputation: 46
Sorry. I thought I had written that I abandoned the first anzats, but I forgot to write it.


Anyway, there are lots of interesting program to download via CBE. As far I can tell, the CBE package works very well. It seems that Doug has written Solaris build scripts for ordinary open source programs, as they are mostly targeting Linux?
 
Old 09-02-2007, 10:26 AM   #36
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15
HUGE error (wget not in path):

Code:
bash-3.00$ /opt/jdsbld/bin/pkgtool build --download SFEfontforge.spec SFEfreetype.spec SFEwine.spec
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
INFO: Finding sources
WARNING: wget is not found in the PATH, automatic downloads are not possible
ERROR: SFEfontforge: Source file http://jaist.dl.sourceforge.net/sourceforge/fontforge/fontforge_full-20070312.tar.bz2 not found
INFO: Finding sources
ERROR: SFEfreetype: Source file http://savannah.nongnu.org/download/freetype/freetype-2.3.5.tar.bz2 not found
WARNING: skipping package SFEwine: required package SFEfontforge failed
WARNING: skipping package SFEwine: required package SFEfreetype failed
WARNING: skipping package SFEwine: required package SFElcms not installed
WARNING: and no spec file specified on the command line provides it
WARNING: skipping package SFEwine: required package SFEcups not installed
WARNING: and no spec file specified on the command line provides it
WARNING: skipping package SFEwine: required package SFEncurses not installed
WARNING: and no spec file specified on the command line provides it
WARNING: skipping package SFEwine: required package SFEfontforge-devel failed
WARNING: skipping package SFEwine: required package SFEfreetype-devel failed
WARNING: skipping package SFEwine: required package SFElcms-devel not installed
WARNING: and no spec file specified on the command line provides it
WARNING: skipping package SFEwine: required package SFEcups-devel not installed
WARNING: and no spec file specified on the command line provides it
WARNING: skipping package SFEwine: required package SFEncurses-devel not installed
WARNING: and no spec file specified on the command line provides it

Summary:

                         package |      status | details
---------------------------------+-------------+-------------------------------
                    SFEfontforge |      FAILED | Source http://jaist.dl.sourceforge.net/sourceforge/fontforge/fontforge_full-20070312.tar.bz2 not found
                     SFEfreetype |      FAILED | Source http://savannah.nongnu.org/download/freetype/freetype-2.3.5.tar.bz2 not found
                         SFEwine |  DEP_FAILED | Dependency check failed
bash-3.00$ pkgtool build --download SFEfontforge.spec SFEfreetype.spec SFElcms.spec SFEcups.spec SFEncursus.spec SFEfontforge-devel.spec SFEfreetype-devel.spec SFElcms-devel.spec SFEcups-devel.spec SFEncursus.spec
bash: pkgtool: command not found
bash-3.00$ /opt/jdsbld/bin/pkgtool build --download SFEfontforge.spec SFEfreetype.spec SFElcms.spec SFEcups.spec SFEncursus.spec SFEfontforge-devel.spec SFEfreetype-devel.spec SFElcms-devel.spec SFEcups-devel.spec SFEncursus.spec
ERROR: SFEncursus.spec not found
ERROR: SFEfontforge-devel.spec not found
ERROR: SFEfreetype-devel.spec not found
ERROR: SFElcms-devel.spec not found
ERROR: SFEcups-devel.spec not found
ERROR: SFEncursus.spec not found
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
INFO: Finding sources
WARNING: wget is not found in the PATH, automatic downloads are not possible
ERROR: SFEfontforge: Source file http://jaist.dl.sourceforge.net/sourceforge/fontforge/fontforge_full-20070312.tar.bz2 not found
INFO: Finding sources
ERROR: SFEfreetype: Source file http://savannah.nongnu.org/download/freetype/freetype-2.3.5.tar.bz2 not found
WARNING: skipping package SFElcms: required package SFEswig not installed
WARNING: and no spec file specified on the command line provides it
INFO: Finding sources
ERROR: SFEcups: Source file http://ftp.easysw.com/pub/cups/1.3.0/cups-1.3.0-source.tar.bz2 not found

Summary:

                         package |      status | details
---------------------------------+-------------+-------------------------------
                    SFEfontforge |      FAILED | Source http://jaist.dl.sourceforge.net/sourceforge/fontforge/fontforge_full-20070312.tar.bz2 not found
                     SFEfreetype |      FAILED | Source http://savannah.nongnu.org/download/freetype/freetype-2.3.5.tar.bz2 not found
                         SFElcms |  DEP_FAILED | Dependency check failed
                         SFEcups |      FAILED | Source http://ftp.easysw.com/pub/cups/1.3.0/cups-1.3.0-source.tar.bz2 not found
 
Old 09-02-2007, 10:38 AM   #37
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
So why not adding it to the PATH ?
 
Old 09-02-2007, 01:07 PM   #38
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15
fontforge not found?
 
Old 09-02-2007, 01:14 PM   #39
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Back to the previous issue, you are missing the CBE instructions:
Code:
Run
  . /opt/jdsbld/bin/env.sh
or
  source /opt/jdsbld/bin/env.csh
depending on your shell, to use this build environment.
 
Old 09-03-2007, 07:53 AM   #40
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15
No that's not what i ment..

The SFEfontforge.spec is invalid, a newer version has been released.

Check out at SourceForge.net... The Spec must get updated...

Code:
Latest  	20070831 Notes (2007-09-01 09:37)
  	fontforge-20070831-1.src.rpm  Mirror 	5372714 	6 	Any 	Source .rpm
  	fontforge_full-20070831.tar.bz2  Mirror 	4231326 	47 	Any 	Source .bz2
  	20070808 Notes (2007-08-08 20:57)
  	fontforge-20070808-1.src.rpm  Mirror 	4943042 	66 	Platform-Independent 	Source .rpm
  	fontforge_full-20070808.tar.bz2  Mirror 	3913821 	603 	Platform-Independent 	Source .bz2
  	20070723 Notes (2007-07-23 16:21)

Last edited by LAN-Dominator.nl; 09-03-2007 at 07:57 AM.
 
Old 09-17-2007, 03:52 PM   #41
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Finally getting back to this project. Still can't get it going... I'm getting the following in the log when trying to do the "./cbe-install" step:

Mon Sep 17 16:50:16 EDT 2007: running rm -f //SOURCES/automake-1.9.6.tar.bz2
Mon Sep 17 16:50:16 EDT 2007: *** command output follows ***
Mon Sep 17 16:50:16 EDT 2007: *** command output ends ***
Mon Sep 17 16:50:16 EDT 2007: running cp /export/home/cbe/jds-cbe-1.6.0/tarballs/automake-1.9.6.tar.bz2 //SOURCES/
Mon Sep 17 16:50:16 EDT 2007: *** command output follows ***
cp: cannot create //SOURCES/: Not a directory
Mon Sep 17 16:50:16 EDT 2007: *** command output ends ***
Mon Sep 17 16:50:16 EDT 2007: CBE setup FAILED

What am I missing here?

Thanks,
Brian
 
Old 09-18-2007, 02:35 PM   #42
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Original Poster
Rep: Reputation: 46
I really dont get it. It should work flawlessly with a newly installed OpenSolaris build 68 or so. And latest Sun Studio. As you fail, you have a non standard environment? Have you Solaris 9 or so? Are you using CBE build instructions? Everyone else get it working except you. Something is wrong with you environment, I believe.

Try this on another computer?
 
Old 09-19-2007, 08:19 AM   #43
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by kebabbert View Post
I really dont get it. It should work flawlessly with a newly installed OpenSolaris build 68 or so. And latest Sun Studio. As you fail, you have a non standard environment? Have you Solaris 9 or so? Are you using CBE build instructions? Everyone else get it working except you. Something is wrong with you environment, I believe.

Try this on another computer?
It's Solaris 08/07 now (was 11/06). Honestly, I'm not sure if it's x86 or x64 (It's a new Sempron system, but I'm really not familiar with AMD parts) Didn't some other people have it working on Solaris 11/06? Ultimately, the place where I need to have it working is only on 01/06, with NO plans to change that soon (would rather go on without wine than risk the upgrade process).

I've got the latest Sun Studio installed, and am using the CBE build instructions.

If I can scrape up some RAM, I've got a box laying around in the back room that I think has an AMD Athlon, maybe I'll put opensolaris on that and give it a try... Unfortunately, for this particular project, pretty much all the machines around are SPARC based...

Last edited by Dox Systems - Brian; 09-19-2007 at 08:21 AM.
 
Old 09-20-2007, 01:19 PM   #44
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Ugh, I give up.

That other machine won't go into graphical mode with OpenSolaris. Works fine in regular Solaris though. Very odd. I'll just run Windows stuff on real Windows machines for now I guess!
 
Old 09-20-2007, 02:36 PM   #45
kebabbert
Member
 
Registered: Jul 2005
Posts: 527

Original Poster
Rep: Reputation: 46
Ok, better luck on OpenSolaris I guess. BTW Wine is veeeeery nice! I run for instance Starcraft and DC++ on it and it works. Protoss rulez!



JILLIAGRE,
A question, for every post I get a mail telling me that there is a post. How do I turn this feature off? I tried a bit, but didnt work.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring wine as per instructions Veteq Linux - Newbie 2 10-31-2004 03:11 PM
Wine instructions jocast Linux - Software 1 06-09-2004 08:31 PM
Instructions: 2.6.x src. kernel build for Redhat Base. Package Updates from Fedora mchirico Red Hat 0 05-11-2004 07:19 PM
Wine Program instructions garretwp Linux - Software 8 03-06-2004 12:39 AM
Instructions on Run kazaa with wine. Qebex Linux - Software 8 04-17-2003 10:59 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration