SUMMARY: Compiling X11R6.8.2 or 6.8.1 or 6.8.0

From: Roetman, Paul <Paul.Roetman_at_dpiterminals.com>
Date: Sun Oct 02 2005 - 20:54:18 EDT
Many thanks to JV711 and Crist Clark for there suggestions....

- try gcc, and different versions of gcc (failed with a bunch of
different errors, primarily not finding libraries in /usr/local/lib -
and no simple way to define LD_LIBRARY_PATH)

- download from ftp://ferret.wrc.noaa.gov/special_request/xvfb/solaris/
(site not allowing me on)

- upgrade to Solaris 9 or 10 - both come with Xvfb (cannot do this for
political/practical reasons)

- uname -imprs : SunOS 5.8 sun4u sparc SUNW,Sun-Blade-100

- isainfo: sparcv9 sparc (even though it says sparcv9, apparently only
allowed to use -xarch=v8plus with version 10 sparc and up).

- what hints for the make World: none

I was surprised and disappointed by the configure/make scripts not
working on this install - there must not be much call for X11R6.8.? on
Solaris - as it is about a year old - I have reported the errors to
www.x.org / bugzilla - but no response yet.

I never managed to get X11R6.8.0/1/2 compiled on the Solaris 2.8 server,
but DID manage to get Xvfb compiled and installed from within the X
distribution.

After running the make World, and it failing on the Pci.c programs, to
get Xvfb installed

(? is where you have extracted X11R6.8.2)

cd ?/xc/programs/Xserver/miext/damage
make
cd ?/xc/programs/Xserver
make all
make install
make loadXvfb
make Xvfb

cp Xvfb /usr/local/bin

cd ?/xc/lib/freetype2
make install


Verify the install process, and all libraries can be resolved:

cd /usr/local/bin
ldd Xvfb

Some of the above make commands fail (with the Pci.c error), but enough
of the programs get compiled to get the Xvfb software working!

Now I will move on to the next step, of attempting to get freeNX
working....will send out a summary of NX after that!

Thanks all for reading the Qu and Summary!

Cheers

Paul

P.s. sorry for the delayed summaries, but this is a "spare time"
project...

-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Roetman, Paul
Sent: Friday, 30 September 2005 8:09 AM
To: sunmanagers@sunmanagers.org
Subject: Compiling X11R6.8.2 or 6.8.1 or 6.8.0

Is it just me, or is X11R6.8.* hard to compile on Solaris 8????

I am trying to install X11R6.8.2 on Solaris 8, so I can install Xvfb, so
I can use the new NX software (replacing VNC), so I can send a summary
to SunManagers about the NX software (question last week)! But have
stalled on step 1....

When compiling 6.8.2 I get the below error - seems to be related to a
Version 9 sparc command, stuck in the version 8 code. So I went back to
6.8.1 and get a slightly different error, interestingly, still related
to Pci.*. So I went back to 6.8.0 and still get the same error!

Should I just download the binaries? If so, where from? Is there a known
fix for this problem - I cannot find any reference to it on google, or
the sunmanagers search...Does it compile with gcc?

Oh, I am using the Sun Forte C compiler.....and have installed the
latest cluster patch....

Thanks in advance

Paul



X11R6.8.2:
--------------------------------------------
rm -f Pci.o
cc -c -xO4 -xbuiltin=%all -xlibmil -xstrconst -xarch=v8 -Xa -v
-zlazyload -zcombreloc -xstrconst -xildoff     -I.
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../../programs/Xserver/include
-I../../../../../../exports/include/X11  -I../../../../../..
-I../../../../../../exports/include   -Dsun -Dsparc -DSVR4
-D__EXTENSIONS__ -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER
-DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE  -DINCLUDE_ALLOCA_H
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension
-DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) +
((8) * 100000) + ((2) * 1000) + 0)"
../../../../../../programs/Xserver/hw/xfree86/os-support/sunos/sparcv8pl
us.il  -DNDEBUG         Pci.c
cg error (as) :
"/u01/work/x11/6.8.2/xc/programs/Xserver/hw/xfree86/os-support/sunos/spa
rcv8plus.il (template for outl)", line 59 : cannot use SPARC v9
instructions with this target architecture
cc: cg failed for Pci.c
*** Error code 2
make: Fatal error: Command failed for target `Pci.o'
Current working directory
/u01/work/x11/6.8.2/xc/programs/Xserver/hw/xfree86/os-support/bus
*** Error code 1
make: Fatal error: Command failed for target `bus'
Current working directory
/u01/work/x11/6.8.2/xc/programs/Xserver/hw/xfree86/os-support
--------------------------------------------

X11R6.8.1 and X11R6.8.0
--------------------------------------------
making all in programs/Xserver/hw/xfree86/etc...
rm -f scanpci.o
cc -c -xO4 -xbuiltin=%all -xlibmil -xstrconst -xarch=v8 -Xa -v
-zlazyload -zcombreloc -xstrconst -xildoff     -I.
-I../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../programs/Xserver/include
-I../../../../../exports/include/X11
-I../../../../../programs/Xserver/hw/xfree86/scanpci
-I../../../../../programs/Xserver/hw/xfree86/dummylib  -I../../../../..
-I../../../../../exports/include   -Dsun -Dsparc -DSVR4 -D__EXTENSIONS__
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP
-DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DRANDR
-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DINCLUDE_ALLOCA_H
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension
-DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) +
((8) * 100000) + ((1) * 1000) + 0)"   -DNDEBUG
-D__XCONFIGFILE__='"xorg.conf"' -D__XCONFIGDIR__='"/usr/X11R6/lib/X11"'
-D__XLOGFILE__='"Xorg"' -D__XSERVERNAME__='"Xorg"'   scanpci.c
"scanpci.c", line 212: warning: Function has no return statement : main
rm -f scanpci LD_RUN_PATH=/usr/X11R6/lib cc -o scanpci -xO4
-xbuiltin=%all -xlibmil -xstrconst -xarch=v8 -Xa -v -zlazyload
-zcombreloc -xstrconst -xildoff
-L../../../../../exports/lib   scanpci.o -L../os-support -lxf86_os
-L../scanpci -lscanpci -L../dummylib -ldummy     -lsocket -lnsl
-Wl,-z,lazyload
Undefined                       first referenced
 symbol                             in file
inl                                 ../os-support/libxf86_os.a(Pci.o)
outl                                ../os-support/libxf86_os.a(Pci.o)
ld: fatal: Symbol referencing errors. No output written to scanpci
*** Error code 1
make: Fatal error: Command failed for target `scanpci'
Current working directory
/u01/work/x11/xc/programs/Xserver/hw/xfree86/etc
*** Error code 1
--------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sun Oct 2 20:57:23 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:52 EST