Perl portion of configure script ignores prefix
-----------------------------------------------

                 Key: THRIFT-534
                 URL: https://issues.apache.org/jira/browse/THRIFT-534
             Project: Thrift
          Issue Type: Bug
            Reporter: Stu Hood
            Priority: Minor


{quote}
make[5]: Entering directory 
`/home/mercury/rpmbuild/BUILD/thrift-r791548/lib/perl'
Warning: You do not have permissions to install into 
//usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi at 
/usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 114.
Installing /usr/lib/perl5/site_perl/5.8.8/Thrift.pm
mkdir /usr/lib/perl5/site_perl/5.8.8/Thrift: Permission denied at 
/usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
{quote}

I was building an RPM of Thrift using the contrib .spec file, using a user 
other than root. The RPM build process sets the install prefix to the BUILD 
directory, but it looks like the Perl portion of the configure script didn't 
get the message, and was trying to install to /, which failed. Running 
configure again, but '--without-perl', was successful.

I don't know anything at all about autotools, otherwise I'd help here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to