This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Help!Unable to compile 1.3.22-1 sources


Back when I compiled from source tarballs, I used a simpler approach:

- Install sources for cygwin, w32api
- cd /usr/src/cygwin-<ver>/winsup && ln -s /usr/src/w32api-<ver> w32api
- cd /usr/src/cygwin-<ver> && mkdir build && cd build && configure <opts>

where <opts> are the options from <http://cygwin.com/contrib.html>.  I
don't know why you'd need mingw...  You *do* need bo build in a separate
directory, though...
	Igor

On Fri, 11 Apr 2003, Max Bowsher wrote:

> Vishal Jain wrote:
> > I had tried using the same steps mentioned below except that I didn't get
> > the mingw separately.
> > I am able to build w32api.
> > It is failing in winsup/utils for me.
>
> Well, try the steps I mention exactly, because my test build just completed
> OK.
>
> Max.
>
> > Vishal
> >
> >> From: "Max Bowsher" <maxb at ukf dot net>
> >> To: "Vishal Jain" <vxj45 at hotmail dot com>,<cygwin at cygwin dot com>
> >> Subject: Re: Help!Unable to compile 1.3.22-1 sources
> >> Date: Thu, 10 Apr 2003 23:44:18 +0100
> >>
> >> Vishal Jain wrote:
> >>> Thanks for looking into the problem.
> >>> We need to get a stable version of cygwin to start with. Hence
> >>> getting latest from CVS is not a good idea.
> >>
> >> Hmm. When I try building 1.3.22-1 from the tarball, I get the rather
> >> perplexing error message:
> >>
> >> make[2]: *** No rule to make target `/usr/lib/w32api/Makefile',
> >>     needed by `/lib/'.  Stop.
> >>
> >> But I can't figure out why make wants to make /usr/lib/w32api/Makefile.
> >>
> >> I suggest the following workaround. I haven't tested it, but intuition
> >> suggests it should work. Here it is:
> >>
> >> tar jxvf path/to/cygwin-1.3.22-1-src.tar.bz2
> >> cd cygwin-1.3.22-1/winsup/
> >> tar jxvf path/to/w32api-2.3-1-src.tar.bz2
> >> mv w32api-2.3-1 w32api
> >> tar jxvf path/to/mingw-runtime-2.4-1-src.tar.bz2
> >> mv mingw-runtime-2.4-1 mingw
> >> cd ../..
> >> mkdir cygbuild
> >> cd cygbuild
> >> ../cygwin-1.3.22-1/configure
> >> make
> >>
> >> Max.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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