Woah!   Didn't expect questions like that in comp.unix.solaris - the opensolaris
mailing lists are the usual places to discuss building opensolaris code.   For
the packages, xwin-discuss at opensolaris.org is where you'll find the others 
who
build this software.

Alex Mizrahi wrote in comp.unix.solaris:
> i'm trying to build Xorg packages of OpenSolaris on Solaris Express 
> Devevloper Edition (5/07, snv 55) --say, just to check if this OpenSolaris 
> stuff is buildable from source, just for fun (or it can be kind of 
> 'evaluation'). if I've succeed, i'll try to use packages to update snv_64 
> that is not working on my system -- so that's not completely useless. (I 
> know I'd better download a newer version if I really need to fix problems 
> quick...).
>
> so, i've downloaded a tarball X-src-20070605.tar.bz2 that is kinda snapshot 
> from 67 build. it have successfully downloaded required tarballs, and i've 
> started build via buildit script.
> first i've tried on plain SX DE system with installed Sun Studio 11. i've 
> added /usr/ccs/bin to the PATH, and it have started build process. it have 
> even build some pieces -- freetype i think -- but then it said it needs GNU 
> automake.
> 
> REAME here (http://dlc.sun.com/osol/x/downloads/current/README.opensolaris) 
> says:
> 
> The recommended source for the GNU tools needed to build the X consolidation
> is the JDS CBE.
> 
> so i've downloaded and installed latest version of JDS CBE available in 
> binary -- 1.6.0. it have installed without problems.
> 
> however, when i run this JDS CBE env.sh script which adds it to the PATH, 
> build process becomes completely broken, because then `which make` becomes 
> GNU make, and X package buildfiles are completely uncompatible with GNU 
> make -- it bards about unknown stuff in makefiles and finishes soon.

You just need to install the CBE packages so automake and friends are found,
don't run the env.sh, since the OpenSolaris Xorg build still expects make to
be Solaris make.

> i have no clue what does it mean, so i wonder how people were building this 
> stuff before.. maybe it was some different version of JDS CBE? which? why 
> are they so different..

The builds were tested against the JDS CBE 1.5.1 version, and have some known
problems with the 1.6 update that are being fixed.

> OK, and one more unrelated question, maybe somebody knows..
> in snv_64 (SXDE 5/07 currently distributed by Sun) Xorg refuses to work with 
> G965 Intel video card -- it says agpgart not available, or something like 
> that.. it's a known issue, resolved in snv_68, according to bugtracker..
> 
> but i wonder, is it possible to make it working (in limited mode or 
> whatever) with stuff i have -- in generic VGA mode or whatever? i know for 
> sure it is possible -- because it was running correctly *once*. first 
> attempt to initialize Xorg always fails, but i've tried logging into console 
> and running gdm -- and *once* it have worked, i've got normal Gnome session 
> with 1024x768 colored graphics (although only 70 Hz). but subsequent 
> attempts to run gdm failed.. however sometimes X is initialized to some 
> mode -- i'm not sure how i reproduce this..
> 
> i suspect this happens because Xorg is launched in autodetect mode, and it 
> depends on current state of videocard, so sometimes succeeds.
> 
> i'd like to make it succeeding deterministically :). obvious way was to try 
> xorgconfig to create xorg.conf file for generic VGA. unfortunately that 
> doesn't work -- it says something like "VGA cannot be initialized in 24 bit 
> mode", no matter how many bits i set in xorg.conf.
> 
> i know previous versions of Solaris had two X servers -- Xorg and Xsun, and 
> sometimes one succeeded when other failed (it was changeable during setup), 
> so i'd like to check if Xsun works. i've found it in /usr/openwin -- a file 
> called Xsun. but when i try to run it, it says something about wrong 
> configuration about OWconfig..
> 
> can i get this other X server working, what documentation can i read on 
> this?

To switch to Xsun, run kdmconfig, tell it to use Xsun instead of Xorg, and then
let it configure Xsun for you - Xsun on x86 won't run if you haven't configured
it first with kdmconfig.

        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering

Reply via email to