Instalace pear neuspesna - mkdir /tmp failed ?!

gabriel gabriel31337 at gmail.com
Fri Jun 29 16:07:47 CEST 2007


Ahoj,

neviem cim to je, ale nainstalovat pear z portov sa mi nijak nedari, 
vzdy to vytuhne na mkdir /tmp (no to fakt nechapem preco to chce 
vytvarat adresar, ktory je standardne by default uz v systeme...)

Any ideas?

Predom dik za akukolvek pomoc.
Gabriel

----------

[root at a4u]:(~)# portinstall -fi pear
--->  Session started at: Fri, 29 Jun 2007 15:53:47 +0200
Install 'devel/pear'? [yes]
--->  Fresh installation of devel/pear started at: Fri, 29 Jun 2007 
15:53:51 +0200
--->  Installing 'pear-1.6.0_1' from a port (devel/pear)
--->  Build of devel/pear started at: Fri, 29 Jun 2007 15:53:52 +0200
--->  Building '/usr/ports/devel/pear'
===>  Cleaning for pear-1.6.0_1
===>  Vulnerability check disabled, database not found
===>  Extracting for pear-1.6.0_1
=> MD5 Checksum OK for pear-1.6.0.tar.bz2.
=> SHA256 Checksum OK for pear-1.6.0.tar.bz2.
===>  Patching for pear-1.6.0_1
===>  Applying FreeBSD patches for pear-1.6.0_1
===>  Configuring for pear-1.6.0_1
--->  Build of devel/pear ended at: Fri, 29 Jun 2007 15:53:55 +0200 
(consumed 00:00:02)
--->  Installation of devel/pear started at: Fri, 29 Jun 2007 15:53:55 +0200
--->  Installing the new version via the port
===>  Installing for pear-1.6.0_1
===>   pear-1.6.0_1 depends on file: /usr/local/include/php/main/php.h - 
found
===>   pear-1.6.0_1 depends on file: /usr/local/lib/php/20060613/pcre.so 
- found
===>   pear-1.6.0_1 depends on file: /usr/local/lib/php/20060613/xml.so 
- found
===>   Generating temporary packing list
mkdir failed: </tmp>


******************************************************************************
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.sed: /usr/local/share/pear/peclcmd.php: No such file or 
directory
*** Error code 1

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.16130.0 env make -DFORCE_PKG_REGISTER reinstall
** Fix the installation problem and try again.
--->  Installation of devel/pear ended at: Fri, 29 Jun 2007 15:53:57 
+0200 (consumed 00:00:01)
--->  Fresh installation of devel/pear ended at: Fri, 29 Jun 2007 
15:53:57 +0200 (consumed 00:00:05)
--->  ** Install tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
         ! devel/pear    (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Fri, 29 Jun 2007 15:53:57 +0200 (consumed 00:00:09)
[root at a4u]:(~)#

[root at a4u]:(~)# uname -a
FreeBSD a4u 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sat May  5 
15:15:22 CEST 2007     root at a4u:/usr/obj/usr/src/sys/a4u  i386
[root at a4u]:(~)#

[root at a4u]:(~)# df -aH
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    520M     91M    387M    19%    /
devfs          1.0k    1.0k      0B   100%    /dev
/dev/ad0s1d    2.1G    725M    1.2G    38%    /var
/dev/ad0s1e    520M     16k    478M     0%    /tmp
/dev/ad0s1f     35G     11G     20G    36%    /usr
/usr/home       35G     11G     20G    36%    /home
/dev/ad2s1d     60G    6.9G     48G    13%    /mnt/STORAGE
devfs          1.0k    1.0k      0B   100%    /var/named/dev
[root at a4u]:(~)#



More information about the Users-l mailing list