public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* FAQ on installing a build from source ?
@ 2008-12-20  3:16 fred
  2008-12-20  4:34 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 7+ messages in thread
From: fred @ 2008-12-20  3:16 UTC (permalink / raw)
  To: cygwin

I assume  $make install

ok? but something gone wrong,
so manually what is supposed to get copied where ?

dir \i686-pc-cygwin\winsup\cygwin
has a cygwin0.dll,

I thought there is supposed to be a cygwin1.dll.................

I thought surely there is a FAQ on this ? haven;t found it though

Thanks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FAQ on installing a build from source ?
  2008-12-20  3:16 FAQ on installing a build from source ? fred
@ 2008-12-20  4:34 ` Larry Hall (Cygwin)
  2008-12-20  4:58   ` fred
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Hall (Cygwin) @ 2008-12-20  4:34 UTC (permalink / raw)
  To: cygwin

fred wrote:
> I assume  $make install
> 
> ok? but something gone wrong,
> so manually what is supposed to get copied where ?
> 
> dir \i686-pc-cygwin\winsup\cygwin
> has a cygwin0.dll,
> 
> I thought there is supposed to be a cygwin1.dll.................
> 
> I thought surely there is a FAQ on this ? haven;t found it though

So you missed this

<http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin>

from here

> FAQ:                   http://cygwin.com/faq/

?

My WAG is that you're building in the source directory which, as the FAQ
says, is a no-no.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FAQ on installing a build from source ?
  2008-12-20  4:34 ` Larry Hall (Cygwin)
@ 2008-12-20  4:58   ` fred
  2008-12-20  5:18     ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 7+ messages in thread
From: fred @ 2008-12-20  4:58 UTC (permalink / raw)
  To: cygwin

Larry Hall (Cygwin) wrote:
> fred wrote:
>> I assume  $make install
>>
>> ok? but something gone wrong,
>> so manually what is supposed to get copied where ?
>>
>> dir \i686-pc-cygwin\winsup\cygwin
>> has a cygwin0.dll,
>>
>> I thought there is supposed to be a cygwin1.dll.................
>>
>> I thought surely there is a FAQ on this ? haven;t found it though
>
> So you missed this
>
> <http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin>
>
> from here
>
>> FAQ:                   http://cygwin.com/faq/
>
> ?
>
> My WAG is that you're building in the source directory which, as the FAQ
> says, is a no-no.
>
ok thanks, but what your saying is that still up to date ?
I mean configure generated a subdirectory .\i686-pc-cygwin, and make put 
all the object files and build under that


and whats the cygwin0.dll ???

oh, i've now noticed a file   winsup\cygwin\new-cygwin1.dll,

I GUESS this should be copied to /bin/cygwin1.dll.

too much guesswork.......


though my make check isn't successfull,

Huh?  No /etc/fstab file in \??\C:\cygwin\usr\local\etc\fstab.d\admin?  
Using de
fault root and cygdrive prefix...
cc1: ../../.././winsup/testsuite/libltp/lib/dataascii.c: No such file or 
directo
ry
make: *** [dataascii.o] Error 1

my /etc doesn't have an fstab file,  shouldn't the cygwin setup have 
done that?


admin@FRED4 ~/src/cygwin-snapshot-20081214-1/i686-pc-cygwin/winsup/testsuite
$ mount
Huh?  No /etc/fstab file in \??\C:\cygwin\usr\local\etc\fstab.d\admin?  
Using de
fault root and cygdrive prefix...
C:/cygwin/usr/local on / type unknown (binary)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount)




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FAQ on installing a build from source ?
  2008-12-20  4:58   ` fred
@ 2008-12-20  5:18     ` Larry Hall (Cygwin)
  2008-12-20  6:16       ` Christopher Faylor
  2008-12-20  7:31       ` fred
  0 siblings, 2 replies; 7+ messages in thread
From: Larry Hall (Cygwin) @ 2008-12-20  5:18 UTC (permalink / raw)
  To: cygwin

fred wrote:
> Larry Hall (Cygwin) wrote:
>> fred wrote:
>>> I assume  $make install
>>>
>>> ok? but something gone wrong,
>>> so manually what is supposed to get copied where ?
>>>
>>> dir \i686-pc-cygwin\winsup\cygwin
>>> has a cygwin0.dll,
>>>
>>> I thought there is supposed to be a cygwin1.dll.................
>>>
>>> I thought surely there is a FAQ on this ? haven;t found it though
>>
>> So you missed this
>>
>> <http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin>
>>
>> from here
>>
>>> FAQ:                   http://cygwin.com/faq/
>>
>> ?
>>
>> My WAG is that you're building in the source directory which, as the FAQ
>> says, is a no-no.
>>
> ok thanks, but what your saying is that still up to date ?

Yes.

> I mean configure generated a subdirectory .\i686-pc-cygwin, and make put 
> all the object files and build under that

Sorry, I don't grok the above.

> and whats the cygwin0.dll ???

That's what you built.  It's used for testing/debugging since you need
2 DLLs in these situations.

> oh, i've now noticed a file   winsup\cygwin\new-cygwin1.dll,

Yep.

> I GUESS this should be copied to /bin/cygwin1.dll.
> 
> too much guesswork.......

If you say so.

> though my make check isn't successfull,
> 
> Huh?  No /etc/fstab file in \??\C:\cygwin\usr\local\etc\fstab.d\admin?  
> Using de
> fault root and cygdrive prefix...
> cc1: ../../.././winsup/testsuite/libltp/lib/dataascii.c: No such file or 
> directo
> ry
> make: *** [dataascii.o] Error 1
> 
> my /etc doesn't have an fstab file,  shouldn't the cygwin setup have 
> done that?

Yes if you installed Cygwin 1.7:

<http://cygwin.com/ml/cygwin/2008-12/msg00225.html>

If you installed 1.5, then no.  Remember, snapshots are always the current
development version and in this case, there are allot of differences (by
design) between 1.5 and 1.7.

> admin@FRED4 
> ~/src/cygwin-snapshot-20081214-1/i686-pc-cygwin/winsup/testsuite
> $ mount
> Huh?  No /etc/fstab file in \??\C:\cygwin\usr\local\etc\fstab.d\admin?  
> Using de
> fault root and cygdrive prefix...
> C:/cygwin/usr/local on / type unknown (binary)
> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount)

Same as above.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FAQ on installing a build from source ?
  2008-12-20  5:18     ` Larry Hall (Cygwin)
@ 2008-12-20  6:16       ` Christopher Faylor
  2008-12-20  7:31       ` fred
  1 sibling, 0 replies; 7+ messages in thread
From: Christopher Faylor @ 2008-12-20  6:16 UTC (permalink / raw)
  To: cygwin

On Sat, Dec 20, 2008 at 12:16:52AM -0500, Larry Hall (Cygwin) wrote:
> fred wrote:
>> Larry Hall (Cygwin) wrote:
>>>> FAQ:                   http://cygwin.com/faq/
>>>
>>> ?
>>>
>>> My WAG is that you're building in the source directory which, as the FAQ
>>> says, is a no-no.
>>>
>> ok thanks, but what your saying is that still up to date ?
>
> Yes.

In particular what you find if you go to the FAQ and search for "build"
twice:

http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FAQ on installing a build from source ?
  2008-12-20  5:18     ` Larry Hall (Cygwin)
  2008-12-20  6:16       ` Christopher Faylor
@ 2008-12-20  7:31       ` fred
  2008-12-20 16:37         ` Christopher Faylor
  1 sibling, 1 reply; 7+ messages in thread
From: fred @ 2008-12-20  7:31 UTC (permalink / raw)
  To: cygwin

Larry Hall (Cygwin) wrote:
> fred wrote:
>> Larry Hall (Cygwin) wrote:
>>> fred wrote:
>>>> I assume  $make install
>>>>
>>>> ok? but something gone wrong,
>>>> so manually what is supposed to get copied where ?
>>>>
>>>> dir \i686-pc-cygwin\winsup\cygwin
>>>> has a cygwin0.dll,
>>>>
>>>> I thought there is supposed to be a cygwin1.dll.................
>>>>
>>>> I thought surely there is a FAQ on this ? haven;t found it though
>>>
>>> So you missed this
>>>
>>> <http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin> 
>>>
>>>
>>> from here
>>>
>>>> FAQ:                   http://cygwin.com/faq/
>>>
>>> ?
>>>
>>> My WAG is that you're building in the source directory which, as the 
>>> FAQ
>>> says, is a no-no.
>>>
>> ok thanks, but what your saying is that still up to date ?
>
> Yes.
>
>> I mean configure generated a subdirectory .\i686-pc-cygwin, and make 
>> put all the object files and build under that
>
> Sorry, I don't grok the above.

Sorry, don't understand your reply here?
>
>> and whats the cygwin0.dll ???
>
> That's what you built.  It's used for testing/debugging since you need
> 2 DLLs in these situations.

I know I built it, just don't know what to do with it and how it fits in
>
>> oh, i've now noticed a file   winsup\cygwin\new-cygwin1.dll,
>
> Yep.
>
>> I GUESS this should be copied to /bin/cygwin1.dll.
>>
>> too much guesswork.......
>
> If you say so.
>
>> though my make check isn't successfull,
>>
>> Huh?  No /etc/fstab file in 
>> \??\C:\cygwin\usr\local\etc\fstab.d\admin?  Using de
>> fault root and cygdrive prefix...
>> cc1: ../../.././winsup/testsuite/libltp/lib/dataascii.c: No such file 
>> or directo
>> ry
>> make: *** [dataascii.o] Error 1
>>
>> my /etc doesn't have an fstab file,  shouldn't the cygwin setup have 
>> done that?
>
> Yes if you installed Cygwin 1.7:
>
> <http://cygwin.com/ml/cygwin/2008-12/msg00225.html>
>
> If you installed 1.5, then no.  Remember, snapshots are always the 
> current
> development version and in this case, there are allot of differences (by
> design) between 1.5 and 1.7.
>
This is an old cygwin install, but I have been re-running the setup, so
$ uname -v
2008-06-12 19:34

sounds like one must actually uninstall and start again....
>> admin@FRED4 
>> ~/src/cygwin-snapshot-20081214-1/i686-pc-cygwin/winsup/testsuite
>> $ mount
>> Huh?  No /etc/fstab file in 
>> \??\C:\cygwin\usr\local\etc\fstab.d\admin?  Using de
>> fault root and cygdrive prefix...
>> C:/cygwin/usr/local on / type unknown (binary)
>> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount)
>
> Same as above.
>
hey,thanks for the replies, I needed a break, 40 laps of the pool, now 
i'm back.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: FAQ on installing a build from source ?
  2008-12-20  7:31       ` fred
@ 2008-12-20 16:37         ` Christopher Faylor
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Faylor @ 2008-12-20 16:37 UTC (permalink / raw)
  To: cygwin

On Sat, Dec 20, 2008 at 06:36:56PM +1100, fred wrote:
> Larry Hall (Cygwin) wrote:
>> fred wrote:
>>> Larry Hall (Cygwin) wrote:
>>>> fred wrote:
>>>>> I assume  $make install
>>>>>
>>>>> ok? but something gone wrong,
>>>>> so manually what is supposed to get copied where ?
>>>>>
>>>>> dir \i686-pc-cygwin\winsup\cygwin
>>>>> has a cygwin0.dll,
>>>>>
>>>>> I thought there is supposed to be a cygwin1.dll.................
>>>>>
>>>>> I thought surely there is a FAQ on this ? haven;t found it though
>>>>
>>>> So you missed this
>>>>
>>>> <http://cygwin.com/faq/faq-nochunks.html#faq.programming.building-cygwin>
>>>>
>>>> from here
>>>>
>>>>> FAQ:                   http://cygwin.com/faq/
>>>>
>>>> ?
>>>>
>>>> My WAG is that you're building in the source directory which, as the FAQ
>>>> says, is a no-no.
>>>>
>>> ok thanks, but what your saying is that still up to date ?
>>
>> Yes.
>>
>>> I mean configure generated a subdirectory .\i686-pc-cygwin, and make put 
>>> all the object files and build under that
>>
>> Sorry, I don't grok the above.
>
> Sorry, don't understand your reply here?
>>
>>> and whats the cygwin0.dll ???
>>
>> That's what you built.  It's used for testing/debugging since you need
>> 2 DLLs in these situations.
>
> I know I built it, just don't know what to do with it and how it fits in

Let's stop this loop please.  Two people have pointed you at the build
instructions.  If you read them you will not have to worry about where
cygwin0.dll fits in.  Specifically, you install the DLL using "make
install" and that should make things clear.

If you have specific questions about "make install" please send them.
Otherwise, I don't think there is any reason to keep the loop going.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-20 16:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-20  3:16 FAQ on installing a build from source ? fred
2008-12-20  4:34 ` Larry Hall (Cygwin)
2008-12-20  4:58   ` fred
2008-12-20  5:18     ` Larry Hall (Cygwin)
2008-12-20  6:16       ` Christopher Faylor
2008-12-20  7:31       ` fred
2008-12-20 16:37         ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).