Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Reinstall all packages needed by vim (http://www.linux-archive.org/gentoo-user/84250-reinstall-all-packages-needed-vim.html)

Matthias Fechner 05-08-2008 08:57 AM

Reinstall all packages needed by vim
 
Hi,

I tried today to build vim but it fails.
Now I want to make sure all packages needed by vim are installed
correctly. To do this I decided to reinstall all packages need be vim.

I checked the man page of emerge but could not found an option for this.

Is there a possibility to reinstall all packages needed by vim?


Thanks
Matthias

-- "Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

--
gentoo-user@lists.gentoo.org mailing list

Justin 05-08-2008 09:05 AM

Reinstall all packages needed by vim
 
Matthias Fechner schrieb:

Hi,

I tried today to build vim but it fails.
Now I want to make sure all packages needed by vim are installed
correctly. To do this I decided to reinstall all packages need be vim.

I checked the man page of emerge but could not found an option for this.

Is there a possibility to reinstall all packages needed by vim?


Thanks
Matthias

-- "Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying
to produce bigger and better idiots. So far, the universe is winning."
-- Rich Cook
Normally portage handels the depencies himself, so everything should be
installed.

Do revdep-rebuild to check that.
Provide ous some more information about how vim fails. Runtime, build or
what failure you get.
The problem with reinstlling all dependencies is, how deep you would
like to go. To check the whole dependency tree use

# equery depgraph vim

05-08-2008 09:12 AM

Reinstall all packages needed by vim
 
emerge --emptytree vim

That will (re)install *everything* directly or indirectly needed to have
vim.

HTH,
Abraham

Abraham Marín Pérez <tecnic5@silvanoc.com>
Responsable de I+D
SILVANO CONSULTORES
Tfno.: 93.412.79.12 -- Fax: 93.410.92.90
http://www.silvanoc.com/


Este mensaje, incluyendo sus ficheros adjuntos, contiene información
confidencial para uso exclusivo de los receptores arriba nombrados. Si Ud.
no es el receptor, le notificamos que leer, difundir, distribuir o copiar
este mensaje está estrictamente prohibido. Si ha recibido este mensaje por
error, por favor, notifíquelo inmediatamente respondiendo este mensaje y
bórrelo a continuación.
Gracias por su colaboración.
This message, including any attachments, contains confidential information
intended only for the use of the addressee(s) named above. If you are not
the addressee, you are hereby notified that reading, disseminating,
distributing or copying this message is strictly prohibited. If you have
received this message by mistake, please immediately notify us by replying
to the message and delete the original message immediately thereafter.
Thank you for your cooperation.




Matthias Fechner <idefix@fechner.net>
08/05/2008 10:57
Por favor, responda a gentoo-user

Para: gentoo-user@lists.gentoo.org
cc:
Asunto: [gentoo-user] Reinstall all packages needed by vim

Hi,

I tried today to build vim but it fails.
Now I want to make sure all packages needed by vim are installed
correctly. To do this I decided to reinstall all packages need be vim.

I checked the man page of emerge but could not found an option for this.

Is there a possibility to reinstall all packages needed by vim?


Thanks
Matthias

-- "Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--
gentoo-user@lists.gentoo.org mailing list



--
gentoo-user@lists.gentoo.org mailing list

Justin 05-08-2008 09:19 AM

Reinstall all packages needed by vim
 
tecnic5@silvanoc.com schrieb:

emerge --emptytree vim



I think this will be too much!!

Matthias Fechner 05-08-2008 09:56 PM

Reinstall all packages needed by vim
 
Hi Justin,

Justin schrieb:
Provide ous some more information about how vim fails. Runtime, build or
what failure you get.


ok here you are: :)

/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
`posix_tmpnam':
(.text+0x94e): warning: the use of `tmpnam_r' is dangerous, better use
`mkstemp'
/usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
`posix_tempnam':
(.text+0xa3c): warning: the use of `tempnam' is dangerous, better use
`mkstemp'

objects/if_perl.o: In function `xs_init':
if_perl.c:(.text+0x2): undefined reference to `boot_DynaLoader'
collect2: ld returned 1 exit status
make[1]: *** [vim] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-editors/vim-7.1.266/work/vim71/src'

make: *** [first] Error 2
* If the above messages seem to be talking about perl
* and undefined references, please try re-emerging both
* perl and libperl with the same USE flags. For more
* information, see:
* https://bugs.gentoo.org/show_bug.cgi?id=18129
*
* ERROR: app-editors/vim-7.1.266 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2710: Called vim_src_compile
* environment, line 3701: Called die
* The specific snippet of code:
* die "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call
stack if relevant.
* A complete build log is located at
'/var/tmp/portage/app-editors/vim-7.1.266/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/app-editors/vim-7.1.266/temp/environment'.



My system is a gentoo 2008.0 beta2
The only use flags I have are:
USE="emacs xinerama xscreensaver nvidia xvmc"
so it cannot be a problem with this perl thread thing.

Thx
Matthias
--
gentoo-user@lists.gentoo.org mailing list

Justin 05-09-2008 05:40 AM

Reinstall all packages needed by vim
 
* If the above messages seem to be talking about perl
* and undefined references, please try re-emerging both
* perl and libperl with the same USE flags. For more
* information, see:


Try doing what the ebuild is telling you. Re-emerge perl and libperl
with the same USE FLAGS



* https://bugs.gentoo.org/show_bug.cgi?id=18129

Here are some more information.

In the end a reinstall of all packages without changing anything
wouldn't help. Only take a long time.


Thanks,
Justin

Matthias Fechner 05-09-2008 07:21 AM

Reinstall all packages needed by vim
 
Hi Justin,

Justin schrieb:
Try doing what the ebuild is telling you. Re-emerge perl and libperl
with the same USE FLAGS


that is what I tried to say, but maybe two commands make it more clear:
equery u libperl

[ Found these USE variables for sys-devel/libperl-5.8.8-r1 ]
U I
+ + berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL)
- - debug : Enable extra debug co
+ + gdbm : Adds support for sys-libs/gdbm (GNU database libraries)
- - ithreads : Enable Perl threads, has some compatibility problems

equery u perl
[ Found these USE variables for dev-lang/perl-5.8.8-r4 ]
U I
+ + berkdb : Adds support for sys-libs/db
- - build : !!internal use only!! DO NOT
- - debug : Enable extra debug codepaths
- - doc : Adds extra documentation (API, Javadoc, etc)
- - elibc_FreeBSD : <unknown>
+ + gdbm : Adds support for sys-libs/gd
- - ithreads : Enable Perl threads, has som
- - perlsuid : Enable Perl SUID install. Ha

I shortened the description line from equery to get it into one line.
Here you can see that perl and libperl is compiled with the same USE flags.

So that could be another bug?

Thanks,
Matthias
--
gentoo-user@lists.gentoo.org mailing list

"Fernando Antunes" 05-09-2008 09:54 AM

Reinstall all packages needed by vim
 
On Thu, May 8, 2008 at 5:57 AM, Matthias Fechner <idefix@fechner.net> wrote:

Hi,



I tried today to build vim but it fails.

Now I want to make sure all packages needed by vim are installed

correctly. To do this I decided to reinstall all packages need be vim.



I checked the man page of emerge but could not found an option for this.



Is there a possibility to reinstall all packages needed by vim?*



Thanks

Matthias


This is my emerge for vim just after complete or a long doing the install process. May it help you.

[ebuild* N*** ] dev-util/ctags-5.5.4-r2* 255 kB
[ebuild* N*** ] app-admin/eselect-vi-1.1.4* 2 kB

[ebuild* N*** ] app-editors/vim-core-7.1.042* USE="acl bash-completion nls -livecd" 8,642 kB
[ebuild* N*** ] app-editors/vim-7.1.042* USE="acl bash-completion gpm nls perl python -cscope -minimal -ruby -vim-pager -vim-with-x" 0 kB

[ebuild* N*** ] app-vim/gentoo-syntax-20070506* USE="-ignore-glep31" 19 kB

*


-- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook


--

gentoo-user@lists.gentoo.org mailing list

Matthias Fechner 05-09-2008 01:59 PM

Reinstall all packages needed by vim
 
Hi Abraham,

tecnic5@silvanoc.com schrieb:

emerge --emptytree vim


thanks for that. It completed now successfully and vim is installed
fine :)

Best regards,
Matthias
--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 05:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.