Dediği gibi. Make.conf dosyanızda değişken yokmuş. Değişkeni girmenizi
istiyor.

 

echo "X11BASE=${LOCALBASE}" >> /etc/make.conf

 

ve devam edin. Ancak unutmayınız ki, "portupgrade -arR" komutu fresh
kurulumlarda kullanılır. Çalışan sistemlerde bu komutu kullanmamanız önemle
duyurulur. Çünkü DB lerinizi, cofig dosyalarınızı vs kaybedebilirsiniz.

 

İyi çalışmalar..

 

Mesut GÜLNAZ

 

From: Veysi GÜMÜŞ [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 1:01 PM
To: freebsd@lists.enderunix.org
Subject: [FreeBSD] Port güncelleme hatası

 

Arkadaşlar mrb,

 

freebsd 6.2 kullandığım sistemde portları güncellemeye çalışırken
karşılatığım bir hatayı çözemedim.Bu konuda yardımcı olursanız
sevinirim.Yaptıklarım sırasıyla aşağıda ve çıkan hata mesajları

 

portsnap fetch hata yok

portsnap update hata yok

 

portupgrade -arR dediğimde bütün portlarda şu hatayı veriyor

 

 

 

--->  Session started at: Tue, 10 Jul 2007 12:47:54 +0300
cd: can't cd to /usr/ports/shells/bash2
cd: can't cd to /usr/ports/emulators/linux_base-8
** No need to upgrade 'libcabinet-0.30' (>= libcabinet-0.30). (specify -f to
force)
--->  ** Upgrade tasks 205: 0 done, 1 ignored, 0 skipped and 0 failed
** No need to upgrade 'lha-1.14i_6' (>= lha-1.14i_6). (specify -f to force)
--->  ** Upgrade tasks 205: 0 done, 2 ignored, 0 skipped and 0 failed
** No need to upgrade 'expat-2.0.0_1' (>= expat-2.0.0_1). (specify -f to
force)
--->  ** Upgrade tasks 205: 0 done, 3 ignored, 0 skipped and 0 failed
** No need to upgrade 'portaudit-0.5.11' (>= portaudit-0.5.11). (specify -f
to force)
--->  ** Upgrade tasks 205: 0 done, 4 ignored, 0 skipped and 0 failed
--->  Upgrade of lang/tcl84 started at: Tue, 10 Jul 2007 12:48:03 +0300
--->  Upgrading 'tcl-8.4.14,1' to 'tcl-8.4.15_2,1' (lang/tcl84)
OK? [yes]
--->  Build of lang/tcl84 started at: Tue, 10 Jul 2007 12:48:20 +0300
--->  Building '/usr/ports/lang/tcl84'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.14909.4 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=tcl-8.4.14,1 UPGRADE_PORT_VER=8.4.14,1 make
** Fix the problem and try again.
--->  Build of lang/tcl84 ended at: Tue, 10 Jul 2007 12:48:23 +0300
(consumed 00:00:02)
--->  Upgrade of lang/tcl84 ended at: Tue, 10 Jul 2007 12:48:23 +0300
(consumed 00:00:19)
--->  ** Upgrade tasks 205: 0 done, 4 ignored, 0 skipped and 1 failed
--->  Upgrade of devel/libtool15 started at: Tue, 10 Jul 2007 12:48:23 +0300
--->  Upgrading 'libtool-1.5.22_3' to 'libtool-1.5.22_4' (devel/libtool15)
OK? [yes] ^C^D
Interrupted.
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
        - archivers/libcabinet (libcabinet-0.30)
        - archivers/lha (lha-1.14i_6)
        - textproc/expat2 (expat-2.0.0_1)
        - ports-mgmt/portaudit (portaudit-0.5.11)
        ! lang/tcl84 (tcl-8.4.14,1)     (unknown build error)
--->  Packages processed: 0 done, 4 ignored, 0 skipped and 1 failed
--->  Upgrade of devel/libtool15 ended at: Tue, 10 Jul 2007 12:49:54 +0300
(consumed 00:01:31)
--->  Session ended at: Tue, 10 Jul 2007 12:49:54 +0300 (consumed 00:02:00)
bash-2.05b#
bash-2.05b# portupgrade -arR
cd: can't cd to /usr/ports/shells/bash2
cd: can't cd to /usr/ports/emulators/linux_base-8
--->  Upgrading 'tcl-8.4.14,1' to 'tcl-8.4.15_2,1' (lang/tcl84)
--->  Building '/usr/ports/lang/tcl84'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
--->  Upgrading 'libtool-1.5.22_3' to 'libtool-1.5.22_4' (devel/libtool15)
--->  Building '/usr/ports/devel/libtool15'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
--->  Upgrading 'pcre-7.0' to 'pcre-7.1' (devel/pcre)
--->  Building '/usr/ports/devel/pcre'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
--->  Upgrading 'gsfonts-8.11_2' to 'gsfonts-8.11_4' (print/gsfonts)
--->  Building '/usr/ports/print/gsfonts'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.

Cevap