Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Instalacja joomli za pomoca emerge
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
nikT
n00b
n00b


Joined: 24 Sep 2006
Posts: 9

PostPosted: Sun Sep 24, 2006 5:24 pm    Post subject: Instalacja joomli za pomoca emerge Reply with quote

Witam. Znajomek namowil mnie na gentoo. mam troche wolnego czasu i staram sie przygotowac maszynke pod maly serwer www, itd.
Zainstalowalem php, mysqla, apacha, binda, zlib i od kilkudziesieciu minut staram sie zainstalowac joomle. mam troche doswiadczneia z RH i Fedora wiec wydaje sie ze wszystko wpowinno pojsc dobrze. Wywala mi taki blad:
Code:


 * Checking for required PHP feature(s) ...
 *   Discovered missing USE flag: mysql
 *
 * dev-lang/php-5.1.6-r4 needs to be re-installed with all of the following
 * USE flags enabled:
 *
 *   mysql zlib
 *

!!! ERROR: www-apps/joomla-1.0.11 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  joomla-1.0.11.ebuild, line 23:   Called require_php_with_use 'mysql' 'zlib'
  depend.php.eclass, line 222:   Called die

!!! Missing PHP USE flags found
!!! If you need support, post the topmost build error, and the call stack if rel
evant.

!!! This ebuild is from an overlay: '/usr/portage'



Czy ktos z szanownych grupowiczow oswieci mnie w czym jest problem?? Przegooglowalem co moglem i nic nie dowiedzialem sie.


./nikT

od raku: sed "s/quote/code/"
Back to top
View user's profile Send private message
Yaro
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 133
Location: Poland, Katowice

PostPosted: Sun Sep 24, 2006 5:31 pm    Post subject: Reply with quote

Witam.

Przecież pisze wyraźnie, żeby załączyć flagi USE mysql i zlib dla php.
Code:
USE="mysql zlib" emerge php

Ewentualnie dopisz je do make.conf. Później joomla powinna już pójść.
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Sun Sep 24, 2006 5:34 pm    Post subject: Reply with quote

Code:
 
echo "dev-lang/php mysql" >> /etc/portage/package.use
emerge php
emerge joomla


gerenalnie polecam handbook, zwlaszcza rozdzial o flagach USE
php mozna skompilowac ze wsparciem dla wielu wielu rzeczy
aby zobaczyc co mozna wlaczy/wylaczyc
Code:

emerge -pv php

jesli jakas flaga cie interesuje, np apache , mhash, gdb albo jakakolowiek inna
edytujesz plik /etc/portage/package.use i wpisujesz kolejne flagi
np
Code:

dev-lang/php mysql apache mhash gdb

i reemerge pakietu ( w tym wypadku php)
pozdrawiam

ps. naprawde polecam handbook, pozwoli ci to uniknac wielu 'niespodzianek' i zlych doswiadczen na forum :P

edit
_NIE_ zaleca sie instalowania pakietow przez
Code:
 
USE=costam emerge costam_innego

przy uaktualnianiu systemu moze to prowadzic do powaznych problemow
pozdrawiam
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
nikT
n00b
n00b


Joined: 24 Sep 2006
Posts: 9

PostPosted: Sun Sep 24, 2006 5:44 pm    Post subject: Reply with quote

Dzieki za pomoc i przepraszam za lamerke, ale musze przyswoic sobie specyfike tego systemu. Przysiadam do walki

./nikT
Back to top
View user's profile Send private message
pigi
n00b
n00b


Joined: 20 Oct 2005
Posts: 18
Location: POL -> Mazury -> PieCKY

PostPosted: Sun Sep 24, 2006 6:10 pm    Post subject: Reply with quote

Yaro wrote:

Code:
USE="mysql zlib" emerge php



W portage z ~x86 od paru tygodni nie mozna tak 'w locie' definiowac flag USE.
Back to top
View user's profile Send private message
Yaro
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 133
Location: Poland, Katowice

PostPosted: Sun Sep 24, 2006 6:14 pm    Post subject: Reply with quote

Hmmm, ja mam portage z ~amd64 i można ;), ale faktycznie jak napisał psycepa nie powinno się tak robić.
Back to top
View user's profile Send private message
pigi
n00b
n00b


Joined: 20 Oct 2005
Posts: 18
Location: POL -> Mazury -> PieCKY

PostPosted: Sun Sep 24, 2006 6:21 pm    Post subject: Reply with quote

Code:


conrad-gentoo pigi # emerge kadu -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/kadu-0.5.0_pre20060717  USE="alsa esd oss ssl -arts -debug -emots_gg6* -extras* -optflags -voice" 1,284 kB [1]

Total size of downloads: 1,284 kB
Portage overlays:
 [1] /usr/local/portage

Code:

conrad-gentoo pigi # USE="extras" emerge kadu -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/kadu-0.5.0_pre20060717  USE="alsa esd oss ssl -arts -debug -emots_gg6* -extras* -optflags -voice" 1,284 kB [1]

Total size of downloads: 1,284 kB
Portage overlays:
 [1] /usr/local/portage


[mam sudo na emerge ze zwyklego usera, ale to robie z roota]
Back to top
View user's profile Send private message
Yaro
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2004
Posts: 133
Location: Poland, Katowice

PostPosted: Sun Sep 24, 2006 6:36 pm    Post subject: Reply with quote

Code:
tux yaro # emerge -pv kadu

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-im/kadu-0.4.3  USE="alsa spell ssl -amarok* -arts -config_wizard -debug -esd -extraicons* -extramodules* -mail -nas -oss -speech -tcltk -voice -xmms -xosd" 1,163 kB

Total size of downloads: 1,163 kB
tux yaro # USE="amarok arts" emerge -pv kadu

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] kde-base/arts-3.5.4-r1  USE="alsa kdehiddenvisibility mp3 vorbis -artswrappersuid -debug -esd -jack -kdeenablefinal -nas -xinerama" 944 kB
[ebuild   R   ] net-im/kadu-0.4.3  USE="alsa amarok arts* spell ssl -config_wizard -debug -esd -extraicons* -extramodules* -mail -nas -oss -speech -tcltk -voice -xmms -xosd" 1,172 kB

Total size of downloads: 2,116 kB


Portage w wersji 2.1.2_pre1-r1. I właściwie wątpię, żeby to się wogóle dało wyłączyć. Chociaż w Linuksie nie ma rzeczy niemożliwych :D . Tylko nie wiem po co. Może ktoś chce tego używać, zabronić mu nie można.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum