[Hackage] #240: setup install does not preserve MacOS X resource
forks
Hackage
trac at galois.com
Sat Feb 16 07:34:00 EST 2008
#240: setup install does not preserve MacOS X resource forks
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
----------------------------+-----------------------------------------------
I use the attached Setup.lhs file to do some Mac-related magic (which I
unfortunately do not understand) on files built with wxhaskell on MacOS X.
The key point about this magic is that it allows me to run a GUI from the
command line. Without doing the magic, the GUI will open, but it will not
react to any user interaction.
I think the problem is that whatever mechanism we use to copy the binary
over (say to /usr/local/bin) does not preserve the magic. That is, if I
run it directly after a runhaskell Setup install, I get the non-reactive
GUI. If I do a cp geni /usr/local/bin by hand, then the GUI reacts,
presumably because on MacOS X cp also copies the magic over.
Sorry for being so vague. Let me know if I can help in any way. -- Eric
Kow
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/240>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list