Re: Trouble compiling xorg-server-1.5.3-6
Jon TURNEY wrote: Those packages are not available for cygwin, because those X server extensions don't do anything useful (at least at the moment, in the Xinerama case) The X server should be ./configure'd with --disable-xinerama --disable-xv, which is what the .cygport file should be doing for you. I was still running ./autogen.sh at this point. Everything works now using cygport. I ended up installing all of your referenced packages to compile, so I cannot verify anything not being needed. However, you may want to add bison (for yacc) to the list. Compiling xorg-server-1.5.3-6 ... /usr/src/temp/xorg-server-1.5.3-6/src/xorg-server-1.5.3/ylwrap: line 111: yacc: command not found Thanks again for the help. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Trouble compiling xorg-server-1.5.3-6
Jon TURNEY wrote: I think this is not the right version of libtool. I think it looks like setup.ini is still not quite recovered from it's recent problems and is preferring the version under _obsolete/libtool to the version under libtool or something. You were correct. I made some progress, but I am still not all the way there. $ cygcheck -c | grep -i gl freeglut2.4.0-1OK glproto 1.4.9-1OK libGL1 7.2-2 OK libglitz1 0.5.6-1OK libGLU1 7.2-2 OK libglut32.4.0-1OK $ cygport xorg-server-1.5.3-6.cygport all Preparing xorg-server-1.5.3-6 ... *** Info: patch xorg-server-1.5.3-6.src.patch not found Compiling xorg-server-1.5.3-6 autoreconf-2.63: Entering directory `.' autoreconf-2.63: configure.ac: not using Gettext autoreconf-2.63: running: aclocal --force autoreconf-2.63: configure.ac: tracing autoreconf-2.63: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-2.63: running: /usr/bin/autoconf-2.63 --force autoreconf-2.63: running: /usr/bin/autoheader-2.63 --force autoreconf-2.63: running: automake --add-missing --copy --force-missing autoreconf-2.63: Leaving directory `.' *** Info: Removing hw/xfree86/common/xf86Build.h to be regenerated by configure *** Info: Removing include/do-not-use-config.h to be regenerated by configure *** Info: Removing include/xorg-server.h to be regenerated by configure *** Info: Removing include/dix-config.h to be regenerated by configure *** Info: Removing include/xgl-config.h to be regenerated by configure *** Info: Removing include/xorg-config.h to be regenerated by configure *** Info: Removing include/xkb-config.h to be regenerated by configure *** Info: Removing include/xwin-config.h to be regenerated by configure /usr/src/temp/xorg-server-1.5.3-6/src/xorg-server-1.5.3/configure --srcdir=/usr/src/temp/xorg-server-1.5.3-6/src/xorg-server-1.5.3 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/xorg-server-1.5.3 --enable-kdrive --enable-xephyr --enable-xfake --enable-record --disable-config-hal --disable-dri --disable-install-setuid --disable-xf86bigfont --disable-xf86misc --disable-xf86vidmode --disable-xinerama --disable-xsdl --disable-xv --disable-xvmc --with-fontdir=/usr/share/fonts --with-log-dir=/var/log --with-serverconfig-path=/usr/lib/X11 --with-xkb-output=/var/lib/xkb --with-os-name=Cygwin --with-os-vendor=Red Hat --with-builder-addr=cygwin-xf...@cygwin.com --with-vendor-name=The Cygwin/X Project --with-vendor-name-short=Cygwin/X --with-vendor-web=http://x.cygwin.com/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for as... as checking for dlltool... dlltool checking for objdump... objdump checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for
Re: Trouble compiling xorg-server-1.5.3-6
Jon TURNEY wrote: You need to install the 'libGL-devel' package My apologies, I was following /usr/share/doc/Cygwin/xorg-server-1.5.3.README rather than the web. I do not have all of the required packages installed, but I cannot even find some of them (libgetaddrinfo-devel). That said, I do not want to blindly install everything I can find (flex, git, minires-devel), so could you please direct me to the packages that solve the latest problem? No package 'videoproto' found No package 'xineramaproto' found -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: rgb.txt not honored in X7?
From /usr/share/doc/xorg-server-1.5.3/ChangeLog: commit dda10c9066a660b647384179f82e1da8e063264f Author: Daniel Stone dan...@fooishbar.org Date: Mon Nov 5 16:28:35 2007 + Remove all traces of external RGB database (and Speedo) Remove all references to an external RGB database (which hasn't been enabled for a very long time). Also get rid of some references to Speedo fonts. commit 8987b2c1efc9a4667e278e6ba411772ba2a4a4e6 Author: Keith Packard kei...@keithp.com Date: Thu Feb 16 07:17:31 2006 + Make more extensions optional in build (for kdrive). Fix kdrive build for actual hardware. Fix kdrive pointer signed/unsigned types. Add kdrive-required YX rotation functions. Replace rgb text file loading with static rgb color table. Now to find a way around it! =( -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Trouble compiling xorg-server-1.5.3-6
Any help is greatly appreciated. $ cygport xorg-server-1.5.3-6.cygport all Preparing xorg-server-1.5.3-6 *** Info: gnupg must be installed in order to check signatures. Unpacking source xorg-server-1.5.3.tar.bz2 Unpacking source X.ico *** Info: applying patch cygwin-build-fixes.patch: patching file configure.ac patching file hw/xwin/Makefile.am patching file hw/xwin/winerror.c patching file hw/xwin/winmultiwindowwm.c patching file hw/xwin/winprocarg.c patching file hw/xwin/winscrinit.c patching file hw/xwin/InitInput.c *** Info: applying patch cygwin-mieq.patch: patching file hw/xwin/InitInput.c Hunk #1 succeeded at 149 (offset -1 lines). patching file hw/xwin/win.h patching file hw/xwin/winkeybd.c patching file hw/xwin/winmouse.c patching file hw/xwin/winmultiwindowwndproc.c patching file hw/xwin/winwin32rootlesswndproc.c patching file hw/xwin/winwndproc.c *** Info: applying patch cygwin-use-standard-dpms-stubs.patch: patching file hw/xwin/InitOutput.c patching file hw/xwin/Makefile.am *** Info: applying patch cygwin-shadow-changes-update.patch: patching file hw/xwin/win.h patching file hw/xwin/winscrinit.c patching file hw/xwin/winshaddd.c patching file hw/xwin/winshadddnl.c patching file hw/xwin/winshadgdi.c *** Info: applying patch cygwin-smart-scheduler-problems-workaround.patch: patching file os/utils.c *** Info: applying patch cygwin-fix-windowswm-window-naming.patch: patching file hw/xwin/winmultiwindowwm.c *** Info: applying patch cygwin-should-also-use-gettickcount.patch: patching file os/utils.c *** Info: applying patch cygwin-fdo-bugzilla-4491-transparent-icon-background-fix.patch: patching file hw/xwin/winmultiwindowicons.c *** Info: applying patch cygwin-net_wm_icon-support.patch: patching file hw/xwin/winmultiwindowicons.c *** Info: applying patch from-xming-add-keyboard-layouts.patch: patching file hw/xwin/winlayouts.h *** Info: applying patch from-xming-correct-tooltip-and-window-title.patch: patching file hw/xwin/wintrayicon.c patching file hw/xwin/winwindow.h patching file hw/xwin/wincreatewnd.c *** Info: applying patch from-xming-patch3-command-line-logging-format.patch: patching file hw/xwin/winprocarg.c *** Info: applying patch from-xming-patch4-dont-center-dialogs-bogusly.patch: patching file hw/xwin/windialogs.c *** Info: applying patch from-xming-patch6-add-styles.patch: patching file hw/xwin/winprefs.c patching file hw/xwin/winprefs.h patching file hw/xwin/winprefslex.l patching file hw/xwin/winprefsyacc.y patching file hw/xwin/XWinrc.man *** Info: applying patch from-xming-patch11-wm-fixes.patch: patching file hw/xwin/winmultiwindowclass.c patching file hw/xwin/winmultiwindowwindow.c patching file hw/xwin/winmultiwindowwm.c patching file hw/xwin/winmultiwindowwndproc.c patching file hw/xwin/winwindow.h *** Info: applying patch from-xming-patch11-internal-authentication-cookie.patch: patching file hw/xwin/winmultiwindowwm.c Hunk #1 succeeded at 86 (offset 5 lines). Hunk #2 succeeded at 136 (offset 5 lines). Hunk #3 succeeded at 1253 (offset 11 lines). patching file hw/xwin/winprocarg.c patching file hw/xwin/InitOutput.c patching file hw/xwin/winglobals.c *** Info: applying patch from-xming-patch14-fdo-bugzilla-11128-fullscreen-and-refresh-switches-crash.patch: patching file hw/xwin/winshaddd.c patching file hw/xwin/winshadddnl.c *** Info: applying patch from-xming-patch15-clipboard-select-events-correctly.patch: patching file hw/xwin/winclipboardthread.c *** Info: applying patch from-xming-patch15-clipboard-cache-atom-lookups.patch: patching file hw/xwin/winclipboardwndproc.c patching file hw/xwin/winclipboardxevents.c *** Info: applying patch from-xming-patch15-clipboard-xdmcp-startup-wait-improve.patch: patching file hw/xwin/winclipboardwrappers.c *** Info: applying patch from-xming-patch15-clipboard-fix-prototype.patch: patching file hw/xwin/winclipboardwndproc.c *** Info: applying patch from-xming-patch15-clipboard-check-selection-ownership-after-take.patch: patching file hw/xwin/winclipboardwndproc.c patching file hw/xwin/winclipboardthread.c *** Info: applying patch from-xming-patch15-clipboard-returndata-leak-fix.patch: patching file hw/xwin/winclipboardxevents.c *** Info: applying patch from-xming-patch15-clipboard-attribution.patch: patching file hw/xwin/winclipboardthread.c patching file hw/xwin/winclipboardwndproc.c patching file hw/xwin/winclipboardwrappers.c patching file hw/xwin/winclipboardxevents.c *** Info: applying patch from-xming-patch16-unicode-window-title-fix.patch: patching file hw/xwin/winmultiwindowwm.c Hunk #1 succeeded at 156 (offset 5 lines). Hunk #2 succeeded at 413 (offset 8 lines). Hunk #3 succeeded at 437 (offset 8 lines). Hunk #4 succeeded at 493 (offset 8 lines). Hunk #5 succeeded at 537 (offset 8 lines). *** Info: applying patch cygwin-fix-silent-dup-error.patch: patching file hw/xwin/InitOutput.c patching file hw/xwin/XWin.man patching file hw/xwin/winerror.c *** Info: applying patch cygwin-hint-handling-fixes.patch: patching file
Re: Trouble compiling xorg-server-1.5.3-6
Jon TURNEY wrote: Just a guess, but do you not have the libtool package installed? http://x.cygwin.com/docs/cg/prog-build-native.html#prog-compiling $ cygcheck -c | grep libtool libtool 1.5b-2 OK I tried reinstalling libtool, but no luck. I have all of the required packages for compiling. I tried the steps for a standard build, but that also failed (below). $ cygport xorg-server-1.5.3-6.cygport prep $ cd xorg-server-1.5.3-6/src/xorg-server-1.5.3/ $ ./configure --prefix=/usr checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking for as... as checking for objdump... objdump checking how to run the C preprocessor... gcc -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 for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag CXX to libtool checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT checking if g++ PIC flag -DDLL_EXPORT works... yes checking if g++ static flag -static works... yes checking if
Re: Trouble compiling xorg-server-1.5.3-6
$ ./autogen.sh autoreconf-2.63: Entering directory `.' autoreconf-2.63: configure.ac: not using Gettext autoreconf-2.63: running: aclocal autoreconf-2.63: configure.ac: tracing autoreconf-2.63: configure.ac: not using Libtool autoreconf-2.63: running: /usr/bin/autoconf-2.63 configure.ac:60: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:61: error: possibly undefined macro: AC_DISABLE_STATIC configure.ac:62: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf-2.63: /usr/bin/autoconf-2.63 failed with exit status: 1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: rgb.txt not honored in X7?
Mike Ayers wrote: Which is the new location? I've been looking in the manual and FAQ, but seem to have acquired an embarassing blind spot that prevents me from knowing where to put startup files. Also, is .Xresources now .Xdefaults? /usr/share/X11/rgb.txt I never used .Xresources, so I am not sure. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: rgb.txt not honored in X7?
Colin Harrison wrote: Isn't -co and rgb.txt dead now in X.Org? i.e. no external rgb database anymore Then how do you add colors? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: rgb.txt not honored in X7?
Jon TURNEY wrote: However, I suspect you mean X version 11 release 7 :-) Yes, X11R7 :) How about a testcase? $ xlogo -fg palevioletred -bg goldenrod for e.g. works as expected for me $ xlogo -bg S_AckMed Warning: Color name S_AckMed is not defined Warning: Cannot convert string xlogo32 to type Pixmap $ showrgb | grep S_AckMed 255 230 31 S_AckMed What next? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
rgb.txt not honored in X7?
In Cygwin X11R6 and Exceed 10, the additional colors in my rgb.txt file are used. However, in Cygwin X11R7, even though the rgb.txt file is the same, but in the new location, the additional colors do not seem to be used. In Cygwin X11R6 and Exceed 10, I see the many different colors, but in Cygwin X11R7, all I see are different shades of gray. Any help is greatly appreciated. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Documentation
Jon TURNEY wrote: I've just updated the documentation under http://x.cygwin.com/docs/ I am glad someone is doing it! Thanks! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/