[FreeBSD] Port güncelleme hatası

2007-07-10 Başlik Veysi GÜMÜŞ
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.


RE: [FreeBSD] Port güncelleme hatası

2007-07-10 Başlik Mesut GÜLNAZ
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' 

Re: [FreeBSD] firefox php sayfaları göstermiyor

2007-07-10 Başlik OSMAN ORHAN

Apache çalışmıyor muhtemelen.

Şunlar yardımcı olacaktır;

http://ipucu.enderunix.org/view.php?id=619lang=tr
http://ipucu.enderunix.org/view.php?id=435lang=tr


09.07.2007 tarihinde Ozan Enginoglu [EMAIL PROTECTED] yazmış:

Merhaba,

Firefox ile apache data klasörüne attığım php sayfalarını açamıyorum.
Daha doğrusu açmaya çalıştığımda sayfada php dosyasının kodları
gözüküyor. Görsel birşey açılmıyor. Joomla kurdum
ve /usr/local/www/data/joomla klasörünü açtığımda kuruluma geçmesi
gerekirken yine aynı sorunu yaşıyorum.

LAMP kurulumunu doğru yaptığımı sanıyorum yani Mysql ve PHP'yi de
sorunsuz kurdum. Nerede yanlış yapmış olabilirim? PHP kurulduktan sonra
firefox için ayrıca birşey yapmam gerekiyormuydu?

--
Ozan Enginoğlu
Makina Mühendisi
Cep tel: +90 536 3323234

GPG / PGP Fingerprint:
247C EE12 7AF9 5181 B6E5  A70F 0D5C 77FB B350 D715




Re: [FreeBSD] firefox php sayfaları göstermiyor

2007-07-10 Başlik Ozan Enginoglu
On Tue, 2007-07-10 at 16:14 +0300, OSMAN ORHAN wrote:
 Apache çalışmıyor muhtemelen.
 
 Şunlar yardımcı olacaktır;
 
 http://ipucu.enderunix.org/view.php?id=619〈=tr
 http://ipucu.enderunix.org/view.php?id=435〈=tr

İpuçları için teşekkürler, gerçekten de işime yaradılar. php5
extensionlarını yükledikten sonra bile php dosyalarında aynı sorun vardı
fakat httpd.conf da yanlış kısmı buldum ve düzelttim şimdi php
dosyalarının üzerine tıklayınca sorunsuz açılıyorlar.

Fakat şimdi daha değişik bir sorunum var. Örn. ben Joomla
yı .../www/data/joomla şeklinde kurdum ve http://localhost/ şeklinde
açtığımda liste şeklinde dosyalar gözüküyor. Joomla klasörüne
tıkladığımda index.php yi çalıştırması gerekirken çalıştırmıyor sadece
klasör içini gösteriyor. Ben index e tıkladığım zaman normal şekilde
çalışmaya o zaman başlıyor.

Sanırım bu seferki problem önceki ile fazla alakalı değil, ne dersiniz?

Cevaplarınız için teşekkür ederim.



-- 
Ozan Enginoğlu
Makina Mühendisi
Cep tel: +90 536 3323234

GPG / PGP Fingerprint:
247C EE12 7AF9 5181 B6E5  A70F 0D5C 77FB B350 D715


signature.asc
Description: This is a digitally signed message part


[FreeBSD] Re: firefox php sayfaları g�stermiyor

2007-07-10 Başlik G�khan ALKAN
DirectoryIndex secenegi ile index.php yada on tanimli ne gelmesini 
istiyorsaniz bu sayflar acilabilir. Ornegin 

DirectoryIndex index.php index.html 

gibi 

http://ipucu.enderunix.org/view.php?id=619lang=tr 

ipucunun en altinda bu aciklanmis sanirim 

Kolay gelsin 





On Tue, 2007-07-10 at 16:14 +0300, OSMAN ORHAN wrote:
Apache çalışmıyor muhtemelen. 

Şunlar yardımcı olacaktır; 


http://ipucu.enderunix.org/view.php?id=619〈=tr
http://ipucu.enderunix.org/view.php?id=435〈=tr


İpuçları için teşekkürler, gerçekten de işime yaradılar. php5
extensionlarını yükledikten sonra bile php dosyalarında aynı sorun vardı
fakat httpd.conf da yanlış kısmı buldum ve düzelttim şimdi php
dosyalarının üzerine tıklayınca sorunsuz açılıyorlar. 


Fakat şimdi daha değişik bir sorunum var. Örn. ben Joomla
yı .../www/data/joomla şeklinde kurdum ve http://localhost/ şeklinde
açtığımda liste şeklinde dosyalar gözüküyor. Joomla klasörüne
tıkladığımda index.php yi çalıştırması gerekirken çalıştırmıyor 
sadece
klasör içini gösteriyor. Ben index e tıkladığım zaman normal şekilde
çalışmaya o zaman başlıyor. 

Sanırım bu seferki problem önceki ile fazla alakalı değil, ne dersiniz? 

Cevaplarınız için teşekkür ederim. 

 


--
Ozan Enginoğlu
Makina Mühendisi
Cep tel: +90 536 3323234 


GPG / PGP Fingerprint:
247C EE12 7AF9 5181 B6E5  A70F 0D5C 77FB B350 D715




G�khan ALKAN
---
www.enderunix.org/gokhan 



-
Listeye soru sormadan once lutfen http://ipucu.enderunix.org sitesine bakiniz.

Cikmak icin, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://news.gmane.org/gmane.org.user-groups.bsd.turkey
FreeBSD 6 kitabi cikti! http://www.acikakademi.com/catalog/freebsd6