Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi in aggiornamento: emerge DBD-mysql [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
idum
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 151

PostPosted: Tue May 18, 2004 7:00 pm    Post subject: Problemi in aggiornamento: emerge DBD-mysql [Risolto] Reply with quote

Salve a tutti. Sto cercando di aggiornare il mio sistema. Ho fatto prima emerge -uDv system e ho aggiornato il portage alla nuova versione con singoli emerge.
Mi accingevo poi a fare emerge -uDv world
quando mi sono trovato con un problema con qualche pacchetto di perl.
Ho lanciato dunque l'installazione di questo singolo pacchetto ed ecco qua l'errore:

Code:

linux bin # emerge -k DBD-mysql
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/DBD-mysql-2.9003 to /
>>> md5 src_uri ;-) DBD-mysql-2.9003.tar.gz
>>> Unpacking source...
>>> Unpacking DBD-mysql-2.9003.tar.gz to /var/tmp/portage/DBD-mysql-2.9003/work
>>> Source unpacked.
I will use the following settings for compiling and testing:

  cflags        (mysql_config) = -I/usr/include/mysql -march=athlon-xp -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS
  libs          (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
  nocatchstderr (default     ) = 0
  nofoundrows   (default     ) = 0
  ssl           (guessed     ) = 1
  testdb        (default     ) = test
  testhost      (default     ) =
  testpassword  (default     ) =
  testuser      (default     ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Checking if your kit is complete...
Looks good
Warning: prerequisite DBI 1.08 not found.
Can't locate DBI/DBD.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3/i686-linux /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 .) at Makefile.PL line 294.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-perl/DBD-mysql-2.9003 failed.
!!! Function perl-module_src_compile, Line 53, Exitcode 2
!!! compilation failed


Riporto anche la parte di interesse del mio make.conf:

Code:

CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~x86"
USE="  -yahoo alsa bindist cdr cscope curl perl cups doc dvb dvd dvdr fbcon firebird icq java jikes mysql offensive ppds samba spell usb videos xml"
PORTDIR_OVERLAY=/usr/local/portage


Per ovviare ho installato il pacchetto DBI, visto che non trovava un file a lui riferito, ma nulla, sempre lo stesso errore.
Non so assolutamente che fare :(
in teoria c'e' qualcosa che non va sullo script Makefile.PL ma certo non e' che posso metterci le mani.
avete idee?

Idum


Last edited by idum on Tue May 18, 2004 7:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Tue May 18, 2004 7:22 pm    Post subject: Reply with quote

Quoto da Bugzilla:
Quote:
Gentoo2 etc # emerge -Cp dev-perl/DBI

>>> These are the packages that I would unmerge:

dev-perl/DBI
selected: 1.37
protected: none
omitted: none

>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.

Gentoo2 etc #

<SNIP>




So I did 'emerge -C dev-perl/DBI' and then proceed to try the install again:



<SNIP>

Gentoo2 etc # emerge -p --deep --update DBD-mysql

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

Calculating dependencies ...done!
[ebuild N ] dev-perl/DBI-1.37
[ebuild U ] dev-perl/DBD-mysql-2.1027 [2.1013-r1]

Gentoo2 etc #

DBI-1.37 gets installed, and then DBD-mysql installs correctly.



quindi seguendo la soluzone di bugzilla:

emerge unmerge DBI
emerge -deep --update DBD-mysql

a questo punto dovrebbe compilare correttamente.........sul perchè tutto tace.
Back to top
View user's profile Send private message
idum
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 151

PostPosted: Tue May 18, 2004 7:29 pm    Post subject: Reply with quote

Andata :)
Molto ma molto grato :)

Mia colpa: non ho pensato di andare a vedere sui bugzilla...
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Tue Nov 29, 2005 2:17 am    Post subject: Reply with quote

thanks a lot n3mo, this problem's been kicking me recently.

how to say "thanks you" in Italian?

:o :o :o
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Nov 29, 2005 12:23 pm    Post subject: Reply with quote

dundas wrote:


how to say "thanks you" in Italian?



thank you = grazie

:D
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Tue Nov 29, 2005 2:31 pm    Post subject: Reply with quote

grazie ProT-0-TypE :wink:
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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