public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to add a package to Cygwin from an external folder?
@ 2013-10-06 13:37 Alessandro Francesconi
  2013-10-06 19:25 ` Aaron Schneider
  2013-10-07 16:19 ` Larry Hall (Cygwin)
  0 siblings, 2 replies; 3+ messages in thread
From: Alessandro Francesconi @ 2013-10-06 13:37 UTC (permalink / raw)
  To: cygwin

I'm new on Cygwin environment and I'm wondering if it's possible to "link" a package that's already stored on my hard-drive, but it's out from the default Cygwin folder. I'll be more precise:
My Cygwin environment is in C:\dev\cygwin, I need to manually install a particular version of a package that's not available in the default remote repository, for example libgimp2.0-dev (version 2.6.0)

But I've already got it from the net! I've put it in C:\dev\gimp-dev (NOTE: I'm trying to give some "modularity" to my Cygwin installation, that's the reason why I didn't put it directly inside Cygwin folder, I would like to replace gimp-dev with a newer version whenever I want).

So, now I have a manually downloaded package in a folder that's OUTSIDE the Cygwin environment. In this situation, when I want to compile something using that package, gcc returns a linker error because (according to Cygwin) the package libgimp2.0-dev doesn't exist.

How can I make it visible to Cygwin without cut & paste it inside C:\dev\cygwin? Should I add some environment variable? Thank you!

P.S.: btw, I’ve posted the same question on Stackoverflow - sorry for the repetition - so if you want you can reply from there: http://stackoverflow.com/questions/19209265/add-a-package-to-cygwin-from-an-external-folder

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

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

* RE: How to add a package to Cygwin from an external folder?
  2013-10-06 13:37 How to add a package to Cygwin from an external folder? Alessandro Francesconi
@ 2013-10-06 19:25 ` Aaron Schneider
  2013-10-07 16:19 ` Larry Hall (Cygwin)
  1 sibling, 0 replies; 3+ messages in thread
From: Aaron Schneider @ 2013-10-06 19:25 UTC (permalink / raw)
  To: cygwin

> I'm new on Cygwin environment and I'm wondering if it's possible to "link" a package that's already stored on my hard-drive, but it's out from the default Cygwin folder. I'll be more precise:
> My Cygwin environment is in C:\dev\cygwin, I need to manually install a particular version of a package that's not available in the default remote repository, for example libgimp2.0-dev (version 2.6.0)
>
> But I've already got it from the net! I've put it in C:\dev\gimp-dev (NOTE: I'm trying to give some "modularity" to my Cygwin installation, that's the reason why I didn't put it directly inside Cygwin folder, I would like to replace gimp-dev with a newer version whenever I want).
>
> So, now I have a manually downloaded package in a folder that's OUTSIDE the Cygwin environment. In this situation, when I want to compile something using that package, gcc returns a linker error because (according to Cygwin) the package libgimp2.0-dev doesn't exist.
>
> How can I make it visible to Cygwin without cut & paste it inside C:\dev\cygwin? Should I add some environment variable? Thank you!
>
> P.S.: btw, I’ve posted the same question on Stackoverflow - sorry for the repetition - so if you want you can reply from there: http://stackoverflow.com/questions/19209265/add-a-package-to-cygwin-from-an-external-folder

Do you want to actually install it or to show it to you on setup.exe but do nothing? 		 	   		  
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: How to add a package to Cygwin from an external folder?
  2013-10-06 13:37 How to add a package to Cygwin from an external folder? Alessandro Francesconi
  2013-10-06 19:25 ` Aaron Schneider
@ 2013-10-07 16:19 ` Larry Hall (Cygwin)
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Hall (Cygwin) @ 2013-10-07 16:19 UTC (permalink / raw)
  To: cygwin

On 10/6/2013 9:37 AM, Alessandro Francesconi wrote:
> I'm new on Cygwin environment and I'm wondering if it's possible to
> "link"  a package that's already stored on my hard-drive, but it's out from the
> default Cygwin folder. I'll be more precise:
> My Cygwin environment is in C:\dev\cygwin, I need to manually install a
> particular version of a package that's not available in the default remote
> repository, for example libgimp2.0-dev (version 2.6.0)

You can access paths that aren't under the Cygwin root directory
(C:\dev\cygiwn in your case) using the '/cygdrive' path from Cygwin shells.
See the section about cygdrive in the Users Guide for more details:

<http://cygwin.com/cygwin-ug-net/using.html#cygdrive>


-- 
Larry

_____________________________________________________________________

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

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

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

end of thread, other threads:[~2013-10-07 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-06 13:37 How to add a package to Cygwin from an external folder? Alessandro Francesconi
2013-10-06 19:25 ` Aaron Schneider
2013-10-07 16:19 ` Larry Hall (Cygwin)

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