Re: Trouble compiling xorg-server-1.5.3-6

2009-02-06 Thread Jared Silva
$ ./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: Trouble compiling xorg-server-1.5.3-6

2009-02-06 Thread Jared Silva
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 

Re: Trouble compiling xorg-server-1.5.3-6

2009-02-06 Thread Jon TURNEY

Jared Silva wrote:

Any help is greatly appreciated.

$ cygport xorg-server-1.5.3-6.cygport all

[...]

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: configure.ac: not using Libtool
autoreconf-2.63: running: /usr/bin/autoconf-2.63 --force
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
*** ERROR: autoreconf failed


Just a guess, but do you not have the libtool package installed?

http://x.cygwin.com/docs/cg/prog-build-native.html#prog-compiling

--
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: Possible issue with X-start-menu-items : XWin fails to start when launched from start menu icon

2009-02-06 Thread Alexander Gottwald
Simon McQueen schrieb:
> Attempting to launch "XWin Server" from the start menu icon does not
> launch a shell or produce the running XWin widget in the system tray.


Well, I think I'm still kind of the maintainer but I have not touched
that package in a long time so it's still not updated to reflect the x11
package layout.

Since updating it would make the person angry who writes my paycheck I
rather put the X-start-menu-items package up for adoption.

--
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

2009-02-06 Thread Jared Silva
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: rgb.txt not honored in X7?

2009-02-06 Thread Jared Silva
>From /usr/share/doc/xorg-server-1.5.3/ChangeLog:
> commit dda10c9066a660b647384179f82e1da8e063264f
> Author: Daniel Stone 
> 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 
> 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/



Re: can't start xterm

2009-02-06 Thread Ryan Stewart
On Thu, Feb 5, 2009 at 9:59 PM, Dan Moulding  wrote:
> > On Feb 5, 2009, at 2:30 PM, Ryan Stewart  wrote:
> >
> > I had been using
> > the startxwin.bat to start X in multiwindow mode, and I have a couple
> > of lines in there to auto-start some xterm windows. That doesn't work
> > anymore. The X server starts, but no xterms appear. When I right click
> > the tray icon and go to Applications->xterm, nothing happens either
>
> What happens if you run xterm from a bash shell started from Cygwin.bat?
> I'm thinking it might give you an error message that may hint at the
> cause of the problem.
>
Interesting. Restarting the computer seems to have made some
difference. I can now start xterm normally in every case except when I
start X using startxwin.bat. When I start it that way, I *can* start
xterm from a separate bash shell, as you suggested--and there are no
errors--but I still can't start it using the tray icon, and the xterms
I've set up to start in startxwin.bat don't start, either. Those
xterms in the batch file are my main concern.

The batch file starts X like this:
%RUN% XWin -multiwindow -clipboard -silent-dup-error

where RUN=\cygwin\bin\run -p /usr/bin

Then I have lines like this:
%RUN% xterm
%RUN% xterm -e /usr/bin/bash -l

Neither of them work, but starting a cygwin shell and running the
corresponding command from there, i.e. without the %RUN% in front,
does work.

These commands worked before I got an unrequested update yesterday.

--
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/



Possible issue with X-start-menu-items : XWin fails to start when launched from start menu icon

2009-02-06 Thread Simon McQueen

Hi all,

I have performed a complete cygwin install from scratch today. cygcheck 
output is attached.


Please note that my specific user home is not the Windows default. It's 
e:\sm, hence my ~ is /cygdrive/e/sm. Cygwin is installed in the default 
location of c:\cygwin.


Attempting to launch "XWin Server" from the start menu icon does not 
launch a shell or produce the running XWin widget in the system tray.


I've acknowledged the below:

s...@beatrice ~
$ startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003
The system cannot find the path specified.
The system cannot find the path specified.

s...@beatrice ~
$ pushd /cygdrive/c
/cygdrive/c ~

s...@beatrice /cygdrive/c
$ startxwin.bat
startxwin.bat - Starting on Windows NT/2000/XP/2003

s...@beatrice /cygdrive/c
$

... in the second instance XWin starts OK. The comments in the batch 
file explain why this is the case.


Examining the properties of the "C:\Documents and Settings\All 
Users\Start Menu\Programs\Cygwin-X\XWin Server" shortcut that I used 
when trying to launch X from the start menu I note that the "Start in" 
field is unpopulated. This contrasts with "C:\Documents and Settings\All 
Users\Start Menu\Programs\Cygwin-X\xterm" where this field has the value 
"c:\cygwin\bin".


If I populate this field in the "XWin Server" shortcut with 
c:\cygwin\bin the shortcut works as expected and X launches OK. I 
presume (but am unable to verify) that this would still be the case for 
users in the more typical case of having their homes on c:.


Thanks for reading.

Cheers,
--
Simon McQueen  s...@prismtech.com
OpenFusion CORBA & OpenSplice DDSskype:simonmcqueen?add
http://www.prismtech.com/middleware  callto://+441914979966

Cygwin Configuration Diagnostics
Current System Time: Fri Feb 06 12:32:19 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Program Files\Windows Resource Kits\Tools\
c:\Program Files\PHP\
c:\Perl\bin\
c:\Python24\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Support Tools\
"C
C:\cygwin\Program Files\ISIS\CoSMIC\bin"
c:\Program Files\QuickTime\QTSystem\
c:\Program Files\IDM Computer Solutions\UltraEdit-32
C:\cygwin\bin
e:\sm\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 11294(sm)  GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 11294(sm)  GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'sm'
PWD = '/cygdrive/e/sm'
HOME = '/cygdrive/e/sm'
MAKE_MODE = 'unix'

HOMEPATH = '\sm'
GME_ROOT = 'C:\Program Files\GME\'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'e:\sm\Application Data'
HOSTNAME = 'beatrice'
VS71COMNTOOLS = 'c:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 14 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/usr/bin'
USERDOMAIN = 'PRISMTECH'
PHPRC = 'C:\Program Files\PHP\'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
LIB = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'
QTJAVA = 'C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'e:\sm'
CLIENTNAME = 'Console'
COSMIC_ROOT = '"C:\Program Files\ISIS\CoSMIC\"'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\POWEREDGE'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw'
OPENSSL_CONF = 'C:\OpenSSL097i\bin\openssl.cnf'
HOMEDRIVE = 'e:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\POWEREDGE\Sharp Copier South'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0e08'
CLASSPATH = '.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip'
!E: = 'E:\sm'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'
SESSIONNAME = 'Console'
COMPUTERNAME = 'BEATRICE'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cy