public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Does "cygport <cygport-file> install" actually install a compiled package?
@ 2019-05-01 21:43 Soegtrop, Michael
  2019-05-01 22:36 ` Adam Dinwoodie
  0 siblings, 1 reply; 4+ messages in thread
From: Soegtrop, Michael @ 2019-05-01 21:43 UTC (permalink / raw)
  To: cygwin

Dear Cygwin Team,

I compiled a package using cygport <package.cygport> all. According to the documentation this should also install the package, but I don't see the files in my local installation updated. Is this a misunderstanding of what "install" means in this context or do I miss some command line options? cygport <package.cygport> install also seems to create the packages, but doesn't install anything as far as I can tell.

Or do I have to uninstall the original package first? (The package I compiled and want to installed was installed before).

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

--
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] 4+ messages in thread

* Re: Does "cygport <cygport-file> install" actually install a compiled package?
  2019-05-01 21:43 Does "cygport <cygport-file> install" actually install a compiled package? Soegtrop, Michael
@ 2019-05-01 22:36 ` Adam Dinwoodie
  2019-05-02  6:33   ` Soegtrop, Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Dinwoodie @ 2019-05-01 22:36 UTC (permalink / raw)
  To: cygwin

On Wed, 1 May 2019 at 22:43, Soegtrop, Michael wrote:
> I compiled a package using cygport <package.cygport> all. According to the documentation this should also install the package, but I don't see the files in my local installation updated. Is this a misunderstanding of what "install" means in this context or do I miss some command line options? cygport <package.cygport> install also seems to create the packages, but doesn't install anything as far as I can tell.

Yes, you're misunderstanding the intent of "cygport <package>
install". That command install the package into a temporary
subdirectory so that a subsequent "cygport <package> pack" can package
up the contents of the subdirectory to get all the installed files and
only the installed files by just bundling up the entire directory
contents. It's not intended to install anything so that it's available
for direct use in your local environment.

Cygport is a packaging tool, not an installation tool, and I'm not
sure there's a simple way to make it install a package into your
system directories so it can be used by a regularly installed package.
The best thing I can think of is to run the "cygport <package> pack"
command, find the tarballs that command will create, then unpack those
tarballs with "tar -xa -C / -f <tarball>"; that'll work for most
packages, although I suspect it won't work as expected for things that
have post-install scripts.

Adam

--
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] 4+ messages in thread

* RE: Does "cygport <cygport-file> install" actually install a compiled package?
  2019-05-01 22:36 ` Adam Dinwoodie
@ 2019-05-02  6:33   ` Soegtrop, Michael
  2019-05-02  7:21     ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Soegtrop, Michael @ 2019-05-02  6:33 UTC (permalink / raw)
  To: Adam Dinwoodie, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 941 bytes --]

Dear Adam,

thanks for the explanation! I found the temporary install folder. For my case it should work to simply copy the temp-install folder contents to my root. The post install scripts did already run since I have the package installed and don't need to be rerun.

It would be useful to have such a local install feature for easy testing of patches to packages upfront.

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

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

* Re: Does "cygport <cygport-file> install" actually install a compiled package?
  2019-05-02  6:33   ` Soegtrop, Michael
@ 2019-05-02  7:21     ` Achim Gratz
  0 siblings, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2019-05-02  7:21 UTC (permalink / raw)
  To: cygwin

Soegtrop, Michael writes:
> thanks for the explanation! I found the temporary install folder. For
> my case it should work to simply copy the temp-install folder contents
> to my root. The post install scripts did already run since I have the
> package installed and don't need to be rerun.

That depends on many things, but in many cases that really isn't
sufficient.

> It would be useful to have such a local install feature for easy
> testing of patches to packages upfront.

The only supported installation method is via a local (addon) repository
containing your package archive files and setup.exe.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs

--
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] 4+ messages in thread

end of thread, other threads:[~2019-05-02  7:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 21:43 Does "cygport <cygport-file> install" actually install a compiled package? Soegtrop, Michael
2019-05-01 22:36 ` Adam Dinwoodie
2019-05-02  6:33   ` Soegtrop, Michael
2019-05-02  7:21     ` Achim Gratz

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