This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: How to compile Xfree??
- To: <cygwin-xfree at sourceware dot cygnus dot com>
- Subject: RE: How to compile Xfree??
- From: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Thu, 29 Jun 2000 11:08:37 -0400
> -----Original Message-----
> From: cygwin-xfree-owner@sourceware.cygnus.com
> [mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of lee
> changkun
> Sent: Thursday, June 29, 2000 11:21 AM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: How to compile Xfree??
>
>
> Hi all,
>
> I would like to compile Xfree on the win98. But I have some Problems to
> compile it.
> Please help me for the following troubles.
>
> I downloaded latest cygwin from the
> ftp://sourceware.cygnus.com/pub/cygwin/
> and I installed cygwin 1.1.0 without problem on the local drive C: with
> win98.
>
> Next I downloaded XC40-1 to XC40-4.tar.bz2 from the
> ftp://sourceware.cygnus.com/pub/cygwin/xfree/xc-4 and I extracted it
> under /Xsrc.
>
> What I don't know is how can I config the files
> /Xsrc/xc/config/cf/cygwin.cf, cygwin.rules and cygwin.tmpl and so on.
make World
>
> I changed cygwin.cf as follows:
>
> #define PreProcessCmd CcCmd -E
> XCOMM #define StdIncDir `CcCmd --print-libgcc-file-name |
> sed ':libgcc.a:/cgywin/lib/gcc-lib/i686-pc-cygwin/2.95.2/include:'|sed
> 's,\\\\,/,g'`
> XCOMM #define PostIncDir `CcCmd --print-libgcc-file-name |
> sed ':libgcc.a:/include:'|sed 's,\\\\,/,g'`
> #define StdIncDir `CcCmd --print-libgcc-file-name | sed
> 's,\\\\,/,g' | sed
> 's,libgcc.a,/cgywin/lib/gcc-lib/i686-pc-cygwin/2.95.2/include,'`
>
> I changed also Imakefile for /programs/xload -X11 as -lX11.
>
> I tried to compile Xfree with make World and I had error message :
Those are corrected in CVS source tree.
>
>
> ../../config/makedepend/makedepend -- -I../../include
> -I../../exports/include/X11 -I../.. -I../../exports/include -D__i386__
> -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_MT -D_X86_ -D__STDC__ -DNO_TCP_H
> -D__CYGWIN__ -D_XOPEN_SOURCE -D_REENTRANT -D_POSIX_C_SOURCE=199309L
> -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DX_SOURCE -DFUNCPROTO=15
> -DNARROWPROTO -DCPP_PROGRAM="\"cpp\"" -- imake.c
> ../../config/makedepend/makedepend: error: cannot rename Makefile to
> Makefile.bak
> make[3]: *** [depend] Error 1
>
>
> make[3]: Leaving directory `/Xsrc/xc/config/imake'
> depending in config/makedepend...
> make[3]: Entering directory `/Xsrc/xc/config/makedepend'
> ../../config/makedepend/makedepend -- -I../../config/imake
> -I../../include -I../../exports/include/X11 -I../..
> -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE
> -D_MT -D_X86_ -D__STDC__ -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE
> -D_REENTRANT -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE
> -D_GNU_SOURCE -DX_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- include.c
> main.c parse.c pr.c cppsetup.c ifparser.c
> ../../config/makedepend/makedepend: error: cannot rename Makefile to
> Makefile.bak
> make[3]: *** [depend] Error 1
>
> How can I solve this prblem?? I hope that someone can tell me what to
Simple. You got a read/write problem. All the files on your disk in Xsrc
are marked as read only and makedpened cannot overwrite Makefile.bak by
renaming Makefile to Makefile.bak
> do.
>
> Regards
>
> Lee
>