Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PORTAGE] problem z flagą oci8-instant-client na amd64
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
aklys
n00b
n00b


Joined: 18 Oct 2005
Posts: 19

PostPosted: Mon Jan 16, 2006 2:35 pm    Post subject: [PORTAGE] problem z flagą oci8-instant-client na amd64 Reply with quote

Próbowałem zbudować php z obsługą oracle przez oracle-instantclient-basic na architekturze amd64. Tu napotkałem problem:
Code:
emerge -pv dev-lang/php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-lang/php-4.4.1-r3  (-adabas) -apache +apache2 -bcmath -berkdb (-birdstep) +bzip2 -calendar -cdb -cgi -cjk +cli +crypt -ctype +curl -db2 -dba -dbase (-dbmaker) -dbx -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif +expat -fastbuild (-fdftk) (-filepro) (-firebird) -flatfile -force-cgi-redirect (-frontbase) +ftp +gd -gd-external -gdbm -gmp -hardenedphp -hyperwave-api -iconv -imap (-informix) -inifile -interbase -iodbc -ipv6 -java-external -java-internal -kerberos -ldap -libedit -mcal -mcve -memlimit +mhash -ming -mnogosearch -msql -mssql +mysql +ncurses +nls -oci8 (-oci8-instant-client)* -odbc -oracle7 -overload -ovrimos -pcntl +pcre +pear (-pfpro) -pic +posix -postgres+readline -recode -sapdb +session -sharedext -sharedmem -snmp -sockets (-solid) +spell -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc -threads +tiff -tokenizer -truetype -wddx -xml -xmlrpc -xpm -xsl -yaz +zip +zlib 4,072 kB

czyli flaga use oci8-instant-client jest w nawiasach i onaczona *. Ta flaga była oczywiście wcześniej ustawiona w package.use dla dev-lang/php oraz miałem zainstalowany oracle-instantclient-basic:
Code:
emerge -s oracle-instantclient-basic
Searching...
[ Results for search key : oracle-instantclient-basic ]
[ Applications found : 1 ]

*  dev-db/oracle-instantclient-basic
      Latest version available: 10.2.0.1-r1
      Latest version installed: 10.2.0.1-r1
      Size of downloaded files: 68,933 kB
      Homepage:    http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html
      Description: Oracle 10g client installation for Linux with SDK
      License:     OTN

Po dłuższym śledztwie okazało się, że prblem powoduje wpis w /usr/portage/profiles/base/use.mask :
Code:
# dev-db/oracle-instantclient-basic is only available on x86
oci8-instant-client

Czyli flaga ta jest zamaskowana na stałe z powodu rzekomej osiąglności dev-db/oracle-instantclient-basic tylko na x86. Ale pakiet ten jest dostepny na amd64 (a ściślej na ~amd64, z changelogu wynki, że od 8-go stycznia). Wykomentowanie tego wpisu pozwoliło mi zbudowac php z ta flagą i wszystko działa ok. W gentoo jestem raczej poczatkujący, ale nie udało mi się znaleźć innej mozliwości rozwiązania tego problemu (jest coś takiego jak package.unamsk, ale chyba nie ma use.unmask?). Czy mogłem to zrobic jakoś inaczej, bo teraz oczywiście po każdym "emerge --sync" moja poprawka znika.
I czy to nie jest błąd w portage? (tzn. te zamaskowanie flagi oci8-instant-client dla amd64)
Back to top
View user's profile Send private message
Ratman
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2005
Posts: 141

PostPosted: Mon Jan 16, 2006 6:13 pm    Post subject: Reply with quote

Vide dokumentacja gentoo - chyba nietrudno znalezc o portage i amd64
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