This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to add a package to Cygwin from an external folder?
- From: Alessandro Francesconi <alessandrofrancesconi at live dot it>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Sun, 6 Oct 2013 15:37:04 +0200
- Subject: How to add a package to Cygwin from an external folder?
- Authentication-results: sourceware.org; auth=none
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