delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/06/09:37:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=x6R
3fCNpGqLolUpYURh6Be3+4nnRAVcyQtpH4CbN7jkBWYIzGZT0LrRxcSxpBo6AS2x
lv848v56oI2LPG4r+i7jgxcnATSrppJBTRf4KGSNvmVvD0CfeNvo5Wf3a5usQmOy
eYYeEsH7V8UJkQvxQltMC957H49K4Vve55tY1v4s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:from:to:subject:date:content-type
:content-transfer-encoding:mime-version; s=default; bh=NC5zv3Kcw
QJ9JoEDI+ZYcZuuV1U=; b=uAQ9TBC/DWi+7jEm8C1Ym3VV9eBzqdj19pc+6c+Xy
Qm+8mFbYsterykVaZxZlHlPU+vi6hAztQ4fx5h4jpRSNq9jvWf2YQWZZ0RzPWw+w
Ee214TFcuGazzlLsdJIx5DTd8ilAQc46aJ76g78JiwbdKzFNmq/zxVODyvH0O9qa
aY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: dub0-omc1-s1.dub0.hotmail.com
X-TMN: [7N3HnHCqYm+yPujCIHg8N0BwkR5OeXr8]
Message-ID: <DUB121-W348E776734637FEEAB130DA4120@phx.gbl>
From: Alessandro Francesconi <alessandrofrancesconi AT live DOT it>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: How to add a package to Cygwin from an external folder?
Date: Sun, 6 Oct 2013 15:37:04 +0200
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r96DbJQC028792

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019