This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to compile Xfree??




> Dear Suhaib Siddiqi
>
> Thanks for your Help!
>
> After i got your message i tried to compile new serveral times.
> But i have got everytime the same Error message
>
>  ../../config/makedepend/makedepend: error:  cannot rename Makefile to
> Makefile.bak
>  make[3]: *** [depend] Error 1
>
> Before i compiled, i have done "chmod -R +w xc" and "chmod -R 777
> xc" in order
> to access to Makefile.
> I think the all files under Xscr are not Read-Only.
> But I got the same message after the compiling.
>
> How can I change the Read-Only to Read-Write.. I think i have done right..
>
> I hope your Help!
>
> Best Regards
>
> Lee


It is purely your Cygwin and/or Windows problem.  Makedepend should be able
to rename Makefiles and executables, if it cannot it is not a bug in
makedepend
rather your Cygwin setup, and/or Windows setup issue.

 You can try grabing the new code from CVS and see if it helps you.  The new
code
uses gccmakedepend, instead of Makedepend.  Or, you can try adding

#define UseGccMakeDepend YES to cygwin.cf

Suhaib

PS: Answer to Cygwin-Xfree mailing list.  I do not WANT e-mails coming
directly to me.
I have mentioned WAY TOO MANY TIMES.  Spearheading an Open Source project
does not mean
contributors should also take the responsibilities of getting their mail
boxes full
with direct mail.

Thanks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]