Cabal Installing Executables

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sat Apr 16 02:59:18 EDT 2005


When I run ./Setup install, the executables end up in /usr/local/bin which is 
not where I want them and not with the right permissions.

Can someone tell me what I have to do to install the executables in the 
current directory or my home directory and also set the permissions (and 
ownership) to be that of the installer?


Thanks, Dominic.

Here's part of the cabal file:

Executable:      BERTest
Main-Is:         BERTest.hs
Other-modules:   Codec.ASN1,
                 Codec.ASN1.BER

and here's what happens to the executables in /usr/local/bin:

-rwxr--r--    1 root     root      1317323 Apr 16 07:40 X509Example*
-rwxr--r--    1 root     root      1555872 Apr 16 07:40 SymmetricTest*
-rwxr--r--    1 root     root      1584127 Apr 16 07:40 RSAEncryptionExample*
-rwxr--r--    1 root     root      1351135 Apr 16 07:40 PKCS8Example*
-rwxr--r--    1 root     root       915278 Apr 16 07:40 BERTest*



More information about the Libraries mailing list