[Haskell-cafe] Re: cabal library dependencies
Could you try ./Setup configure --prefix=$HOME/somewhere --user HTH Christian Nehir Sonmez wrote: Hi All, To test some programs written in CABAL, I need to use a server (where I do not have root access) with GHC 6.6.1 (in-place) installed. However, many programs need more libraries that have to be installed, (such as binary, or derive) for which, even when I use ./Setup configure --prefix=something, 1) After the ./Setup build, it can not do ./Setup install correctly because I am not root, ie. Installing: /usr/local/lib/derive-0.1/ghc-6.6.1 /usr/local/bin derive-0.1... Setup: /usr/local/lib/derive-0.1: createDirectory: permission denied (Permission denied) 2) But the .o and the .a files are created. However possibly due to (1), I can not make the program see the library, so in the end when I try configuring the program, I get (for example): Setup: cannot satisfy dependency derive-any possible solutions I could think of were: 1) LD_LIBRARY_PATH 2) use configure with a --with flag 3) copying the library files to the prefix directory of the program I ultimately want to run 4) The -L flag and still no luck, so here I am asking for your help... Thanks a lot in advance, Sincerely, -Nehir Sonmez ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Re: cabal library dependencies
Sure, that did it! Thank you very much Christian... Christian Maeder wrote: Could you try ./Setup configure --prefix=$HOME/somewhere --user HTH Christian Nehir Sonmez wrote: Hi All, To test some programs written in CABAL, I need to use a server (where I do not have root access) with GHC 6.6.1 (in-place) installed. However, many programs need more libraries that have to be installed, (such as binary, or derive) for which, even when I use ./Setup configure --prefix=something, 1) After the ./Setup build, it can not do ./Setup install correctly because I am not root, ie. Installing: /usr/local/lib/derive-0.1/ghc-6.6.1 /usr/local/bin derive-0.1... Setup: /usr/local/lib/derive-0.1: createDirectory: permission denied (Permission denied) 2) But the .o and the .a files are created. However possibly due to (1), I can not make the program see the library, so in the end when I try configuring the program, I get (for example): Setup: cannot satisfy dependency derive-any possible solutions I could think of were: 1) LD_LIBRARY_PATH 2) use configure with a --with flag 3) copying the library files to the prefix directory of the program I ultimately want to run 4) The -L flag and still no luck, so here I am asking for your help... Thanks a lot in advance, Sincerely, -Nehir Sonmez ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe