You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Christian Lavoie (JIRA)" <ji...@apache.org> on 2011/02/28 16:26:37 UTC

[jira] Closed: (THRIFT-1075) configure --prefix not working?

     [ https://issues.apache.org/jira/browse/THRIFT-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Lavoie closed THRIFT-1075.
------------------------------------

    Resolution: Not A Problem
      Assignee: Christian Lavoie

Java is controlled by the JAVA_PREFIX environment variable -- only a minority of bindings obey the --prefix flag:


Some influential environment variables:
  PY_PREFIX   Prefix for installing Python modules. (Normal --prefix is
              ignored for Python because Python has different conventions.)
              Default = "/usr"
  JAVA_PREFIX Prefix for installing the Java lib jar. (Normal --prefix is
              ignored for Java because Java has different conevntions.)
              Default = "/usr/local/lib"
  RUBY_PREFIX Prefix for installing Ruby modules. (Normal --prefix is ignored
              for Ruby because Ruby has different conventions.) Default =
              none, let ruby setup decide
  PHP_PREFIX  Prefix for installing PHP modules. (Normal --prefix is ignored
              for PHP because PHP has different conventions.) Default =
              "/usr/lib/php"
  PHP_CONFIG_PREFIX
              Prefix for installing PHP extension module .ini file. (Normal
              --prefix is ignored for PHP because PHP has different
              conventions.) Default = "/etc/php.d"
  PERL_PREFIX Prefix for installing Perl modules. (Normal --prefix is ignored
              for Perl because Perl has different conventions.) Default =
              "/usr/local/lib"
  CABAL_CONFIGURE_FLAGS
              Extra flags to pass to cabal: "cabal Setup.lhs configure
              $CABAL_CONFIGURE_FLAGS". (Typically used to set --user or force
              --global.)


> configure --prefix not working?
> -------------------------------
>
>                 Key: THRIFT-1075
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1075
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.7
>         Environment: ubuntu
>            Reporter: Ed Summers
>            Assignee: Christian Lavoie
>
> I can't seem to install thrift into /opt/thrift using:
>     ./configure --prefix=/opt/thrift 
> is this something that configure is supposed to support? tail end 
> --
> install:
>      [copy] Copying 1 file to /usr/local/lib
> BUILD FAILED
> /home/ed/Projects/thrift/lib/java/build.xml:166: Failed to copy /home/ed/Projects/thrift/lib/java/libthrift.jar to /usr/local/lib/libthrift.jar due to java.io.FileNotFoundException /usr/local/lib/libthrift.jar (Permission denied)
> Total time: 9 seconds
> make[4]: *** [install-exec-hook] Error 1
> make[4]: Leaving directory `/home/ed/Projects/thrift/lib/java'
> make[3]: *** [install-exec-am] Error 2
> make[3]: Leaving directory `/home/ed/Projects/thrift/lib/java'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/ed/Projects/thrift/lib/java'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/ed/Projects/thrift/lib'
> make: *** [install-recursive] Error 1

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira