Bug 105252

Summary: devel/pear make install failure
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Bernard Spil freebsd_committer freebsd_triage 2006-11-07 19:50:18 UTC
[root@beastie:/usr/ports/devel/pear]# make install
===>  Installing for pear-1.4.11
===>   pear-1.4.11 depends on file: /usr/local/include/php/main/php.h - found
===>   pear-1.4.11 depends on file: /usr/local/lib/php/20050922/pcre.so - found
===>   pear-1.4.11 depends on file: /usr/local/lib/php/20050922/xml.so - found
===>   Generating temporary packing list
===>  Checking if devel/pear already installed
mkdir failed: </>


******************************************************************************
FATAL ERROR! We cannot initialize the temp directory. Please be sure to give
full write access to this directory and the install directory.

'/tmp' was given.File to patch:

How-To-Repeat: cd /usr/ports/devel/pear
make clean
make
make reinstall
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-11-07 19:50:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-11-08 08:25:59 UTC
State Changed
From-To: open->closed

The error is clear.
Comment 3 dave 2006-11-20 18:29:07 UTC
"The error is clear."

For those of us without quite so much insight, can you please expand a 
little?  I don't see what's obvious about an error message about 
incorrect permissions when the program is being run as root.

Thanks for your time,
-- 
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/
Comment 4 Volker 2007-04-19 14:34:11 UTC
I've had the same problem and was able to figure this one out.

The error message occurs when using anything but the default value
for 'open_basedir =' in /usr/local/etc/php.ini

If you set this to it's default (comment out that line), pear will
install successfully.

Blame PHP for that.