Hi,

I have XCB compiling cleanly on solaris.
Could we add this to FOX please ?

[edward at SXCE-Workstation]:/AuroraUX/XCB:~>cat get_xcb.sh
#!/bin/sh
wget http://xcb.freedesktop.org/dist/libxcb-1.1.91.tar.bz2
wget http://xcb.freedesktop.org/dist/xcb-proto-1.2.tar.bz2
# wget http://xcb.freedesktop.org/dist/xcb-util-0.3.0.tar.bz2
wget http://xcb.freedesktop.org/dist/libpthread-stubs-0.1.tar.bz2

...
bunzip2 -cd xcb-proto-1.2.tar.bz2 | tar -xf -
cd xcb-proto-1.2/
...

[edward at SXCE-Workstation]:/AuroraUX/XCB/xcb-proto-1.2:~>export CC=cc
CXX=CC PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
[edward at SXCE-Workstation]:/AuroraUX/XCB/xcb-proto-1.2:~>./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for xmllint... /usr/bin/xmllint
checking for a Python interpreter with version >= 2.5... python2.5
checking for python2.5... /usr/bin/python2.5
checking for python2.5 version... 2.5
checking for python2.5 platform... sunos5
checking for python2.5 script directory... ${prefix}/lib/python2.5/site-packages
checking for python2.5 extension module directory...
${exec_prefix}/lib/python2.5/site-packages
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating xcbgen/Makefile
config.status: creating xcb-proto.pc
[edward at SXCE-Workstation]:/AuroraUX/XCB/xcb-proto-1.2:~>make check
Making check in src
make  check-local
/usr/bin/xmllint --noout --schema ./xcb.xsd ./*.xml
./bigreq.xml validates
./composite.xml validates
./damage.xml validates
./dpms.xml validates
./glx.xml validates
./randr.xml validates
./record.xml validates
./render.xml validates
./res.xml validates
./screensaver.xml validates
./shape.xml validates
./shm.xml validates
./sync.xml validates
./xc_misc.xml validates
./xevie.xml validates
./xf86dri.xml validates
./xfixes.xml validates
./xinerama.xml validates
./xinput.xml validates
./xprint.xml validates
./xproto.xml validates
./xselinux.xml validates
./xtest.xml validates
./xv.xml validates
./xvmc.xml validates
Making check in xcbgen
[edward at SXCE-Workstation]:/AuroraUX/XCB/xcb-proto-1.2:~>make
Making all in src
Making all in xcbgen
[edward at SXCE-Workstation]:/AuroraUX/XCB/xcb-proto-1.2:~>pfexec make install
Making install in src
test -z "/usr/local/share/xcb" || /usr/gnu/bin/mkdir -p "/usr/local/share/xcb"
 /usr/bin/ginstall -c -m 644 'xcb.xsd' '/usr/local/share/xcb/xcb.xsd'
 /usr/bin/ginstall -c -m 644 'xproto.xml' '/usr/local/share/xcb/xproto.xml'
 /usr/bin/ginstall -c -m 644 'bigreq.xml' '/usr/local/share/xcb/bigreq.xml'
 /usr/bin/ginstall -c -m 644 'composite.xml'
'/usr/local/share/xcb/composite.xml'
 /usr/bin/ginstall -c -m 644 'damage.xml' '/usr/local/share/xcb/damage.xml'
 /usr/bin/ginstall -c -m 644 'dpms.xml' '/usr/local/share/xcb/dpms.xml'
 /usr/bin/ginstall -c -m 644 'glx.xml' '/usr/local/share/xcb/glx.xml'
 /usr/bin/ginstall -c -m 644 'randr.xml' '/usr/local/share/xcb/randr.xml'
 /usr/bin/ginstall -c -m 644 'record.xml' '/usr/local/share/xcb/record.xml'
 /usr/bin/ginstall -c -m 644 'render.xml' '/usr/local/share/xcb/render.xml'
 /usr/bin/ginstall -c -m 644 'res.xml' '/usr/local/share/xcb/res.xml'
 /usr/bin/ginstall -c -m 644 'screensaver.xml'
'/usr/local/share/xcb/screensaver.xml'
 /usr/bin/ginstall -c -m 644 'shape.xml' '/usr/local/share/xcb/shape.xml'
 /usr/bin/ginstall -c -m 644 'shm.xml' '/usr/local/share/xcb/shm.xml'
 /usr/bin/ginstall -c -m 644 'sync.xml' '/usr/local/share/xcb/sync.xml'
 /usr/bin/ginstall -c -m 644 'xc_misc.xml' '/usr/local/share/xcb/xc_misc.xml'
 /usr/bin/ginstall -c -m 644 'xevie.xml' '/usr/local/share/xcb/xevie.xml'
 /usr/bin/ginstall -c -m 644 'xf86dri.xml' '/usr/local/share/xcb/xf86dri.xml'
 /usr/bin/ginstall -c -m 644 'xfixes.xml' '/usr/local/share/xcb/xfixes.xml'
 /usr/bin/ginstall -c -m 644 'xinerama.xml' '/usr/local/share/xcb/xinerama.xml'
 /usr/bin/ginstall -c -m 644 'xinput.xml' '/usr/local/share/xcb/xinput.xml'
 /usr/bin/ginstall -c -m 644 'xprint.xml' '/usr/local/share/xcb/xprint.xml'
 /usr/bin/ginstall -c -m 644 'xselinux.xml' '/usr/local/share/xcb/xselinux.xml'
 /usr/bin/ginstall -c -m 644 'xtest.xml' '/usr/local/share/xcb/xtest.xml'
 /usr/bin/ginstall -c -m 644 'xv.xml' '/usr/local/share/xcb/xv.xml'
 /usr/bin/ginstall -c -m 644 'xvmc.xml' '/usr/local/share/xcb/xvmc.xml'
Making install in xcbgen
test -z "/usr/local/lib/python2.5/site-packages/xcbgen" ||
/usr/gnu/bin/mkdir -p "/usr/local/lib/python2.5/site-packages/xcbgen"
 /usr/bin/ginstall -c -m 644 '__init__.py'
'/usr/local/lib/python2.5/site-packages/xcbgen/__init__.py'
 /usr/bin/ginstall -c -m 644 'error.py'
'/usr/local/lib/python2.5/site-packages/xcbgen/error.py'
 /usr/bin/ginstall -c -m 644 'expr.py'
'/usr/local/lib/python2.5/site-packages/xcbgen/expr.py'
 /usr/bin/ginstall -c -m 644 'matcher.py'
'/usr/local/lib/python2.5/site-packages/xcbgen/matcher.py'
 /usr/bin/ginstall -c -m 644 'state.py'
'/usr/local/lib/python2.5/site-packages/xcbgen/state.py'
 /usr/bin/ginstall -c -m 644 'xtypes.py'
'/usr/local/lib/python2.5/site-packages/xcbgen/xtypes.py'
Byte-compiling python modules...
__init__.py error.py expr.py matcher.py state.py xtypes.py
Byte-compiling python modules (optimized versions) ...
__init__.py error.py expr.py matcher.py state.py xtypes.py
test -z "/usr/local/lib/pkgconfig" || /usr/gnu/bin/mkdir -p
"/usr/local/lib/pkgconfig"
 /usr/bin/ginstall -c -m 644 'xcb-proto.pc'
'/usr/local/lib/pkgconfig/xcb-proto.pc'

[edward at SXCE-Workstation]:/AuroraUX/XCB/libpthread-stubs-0.1:~>./configure
checking for a BSD-compatible install... /usr/bin/ginstall -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)... yes
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for style of include used by make... GNU
checking for gcc... 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 dependency style of cc... none
checking for a sed that does not truncate output... /usr/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/xpg4/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/xpg4/bin/nm -p output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the CC linker (/usr/bin/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC
checking if CC PIC flag -KPIC works... yes
checking if CC static flag -Bstatic works... no
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -KPIC
checking if g77 PIC flag -KPIC works... no
checking if g77 static flag -Bstatic works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) none
checking if compiler supports __attribute__((weak, alias))... no
checking for pthread_self... yes
checking for pthread_mutex_init... yes
checking for pthread_mutex_destroy... yes
checking for pthread_mutex_lock... yes
checking for pthread_mutex_unlock... yes
checking for pthread_cond_init... yes
checking for pthread_cond_destroy... yes
checking for pthread_cond_wait... yes
checking for pthread_cond_signal... yes
checking for pthread_cond_broadcast... yes
checking for pthread_equal... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pthread-stubs.pc
config.status: creating config.h
config.status: executing depfiles commands
[edward at SXCE-Workstation]:/AuroraUX/XCB/libpthread-stubs-0.1:~>make check
[edward at SXCE-Workstation]:/AuroraUX/XCB/libpthread-stubs-0.1:~>pfexec
make install
test -z "/usr/local/lib" ||
/AuroraUX/XCB/libpthread-stubs-0.1/install-sh -d "/usr/local/lib"
test -z "/usr/local/lib/pkgconfig" ||
/AuroraUX/XCB/libpthread-stubs-0.1/install-sh -d
"/usr/local/lib/pkgconfig"
 /usr/bin/ginstall -c -m 644 'pthread-stubs.pc'
'/usr/local/lib/pkgconfig/pthread-stubs.pc'

[edward at SXCE-Workstation]:/AuroraUX/XCB:~>cd libxcb-1.1.91
[edward at SXCE-Workstation]:/AuroraUX/XCB/libxcb-1.1.91:~>./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version >= 2.5... python2.5
checking for python2.5... /usr/bin/python2.5
checking for python2.5 version... 2.5
checking for python2.5 platform... sunos5
checking for python2.5 script directory... ${prefix}/lib/python2.5/site-packages
checking for python2.5 extension module directory...
${exec_prefix}/lib/python2.5/site-packages
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... no
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for style of include used by make... GNU
checking for gcc... 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 dependency style of cc... none
checking for a sed that does not truncate output... /usr/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/xpg4/bin/nm -p
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking how to run the C++ preprocessor... CC -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 786240
checking command to parse /usr/xpg4/bin/nm -p output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for cc option to produce PIC... -KPIC
checking if cc PIC flag -KPIC works... yes
checking if cc static flag -Bstatic works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the CC linker (/usr/bin/ld) supports shared libraries... yes
checking for CC option to produce PIC... -KPIC
checking if CC PIC flag -KPIC works... yes
checking if CC static flag -Bstatic works... no
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -KPIC
checking if g77 PIC flag -KPIC works... no
checking if g77 static flag -Bstatic works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) none
checking for xsltproc... /usr/bin/xsltproc
checking for XCBPROTO... yes
checking for NEEDED... yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking XCBPROTO_XCBINCLUDEDIR... /usr/local/share/xcb
checking XCBPROTO_XCBPYTHONDIR... /usr/local/lib/python2.5/site-packages
checking for ANSI C header files... (cached) yes
checking for library containing getaddrinfo... -lsocket
checking for library containing connect... none required
checking for struct sockaddr_un.sun_len... no
checking whether __SUNPRO_C is declared... yes
checking whether cc supports symbol visibility... yes
checking for doxygen... no
WARNING:
The doxygen program was not found in your execute
You may have doxygen installed somewhere not covered by your path.

If this is the case make sure you have the packages installed, AND
that the doxygen program is in your execute path (see your
shell's manual page on setting the $PATH environment variable), OR
alternatively, specify the program to use with --with-doxygen.
configure: WARNING: Warning: no doxygen detected. Documentation will
not be built
checking whether documentation is built... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating xcb.pc
config.status: creating xcb-xlib.pc
config.status: creating xcb-composite.pc
config.status: creating xcb-damage.pc
config.status: creating xcb-dpms.pc
config.status: creating xcb-glx.pc
config.status: creating xcb-randr.pc
config.status: creating xcb-record.pc
config.status: creating xcb-render.pc
config.status: creating xcb-res.pc
config.status: creating xcb-screensaver.pc
config.status: creating xcb-shape.pc
config.status: creating xcb-shm.pc
config.status: creating xcb-sync.pc
config.status: creating xcb-xevie.pc
config.status: creating xcb-xf86dri.pc
config.status: creating xcb-xfixes.pc
config.status: creating xcb-xinerama.pc
config.status: creating xcb-xinput.pc
config.status: creating xcb-xprint.pc
config.status: creating xcb-xselinux.pc
config.status: creating xcb-xtest.pc
config.status: creating xcb-xv.pc
config.status: creating xcb-xvmc.pc
config.status: creating doc/xcb.doxygen
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands

  Package: libxcb 1.1.91

  Configuration
    XDM support.........: no
    Build unit tests....: no

  Used CFLAGS:
    CPPFLAGS............:
    CFLAGS..............: -g
    Warning CFLAGS......: -v

  Installation:
    Prefix..............: /usr/local

There are a few ulgy errors/warnings in building libxcb about "GCC"
but this could all be cleaned up and I will work on this as soon as we
can start getting this into the gate so I have a place to work from?
Any questions?
Best Regards,
Edward O'Callaghan.

-- 
All Documents adhered to the ISO/IEC 26300  standard file format for
electronic office documents, such as spreadsheets, charts,
presentations and word processing documents from this email address.
The author does not take responsibility of the recipients inability to
read international standards and who use proprietary products such as
MS Office.
See: http://www.openoffice.org/
Edward O'Callaghan.
--
http://fedoraproject.org/wiki/EdwardOcallaghan
http://moonshine.opn4.org/
http://www.pcbsd.org/

Reply via email to