WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: vim.tcz has Xorg-7.7-lib as a dep  (Read 1815 times)

Offline drendar

  • Newbie
  • *
  • Posts: 10
vim.tcz has Xorg-7.7-lib as a dep
« on: September 10, 2015, 03:54:53 AM »
Hi,

*Disclaimer - I'm very new to TC so I may well have missed something "obvious" here *

I'm building a CLI-only system, and have installed VIM via
Code: [Select]
tce-load -iw vim  However vim has Xorg listed as a dependency for some reason, so it's pulled down and installed about 50 packages I don't want or need.

I've tried removing Xorg-7.7-lib.tcz from the vim.tcz.dep file and then use tce-audit to delete Xorg-7.7-lib.tcz but it fails with:
Code: [Select]
tc@box:/mnt/sa2/tce/optional$ tce-audit delete Xorg-7.7-lib.tcz
vim.tcz
Xorg-7.7-lib.tcz cannot be deleted.

If I run tce-audit updatedeps then it seems to re-download all the dep files so I end up back at square one.

How can I forcibly remove Xorg-7.7-lib.tcz and all its dependencies, while leaving vim and ncurses installed?

Many thanks!

Dash

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14544
Re: vim.tcz has Xorg-7.7-lib as a dep
« Reply #1 on: September 10, 2015, 04:16:31 AM »
The vim extension has been built with various X libs as dependencies.

You can see which X libs like this:
Code: [Select]
$ ldd `which vim`
You can use the busybox version of vim by not loading the vim extension and entering "vi" at the cli.

Your other option is to compile a non-X libs version of vim.

Offline drendar

  • Newbie
  • *
  • Posts: 10
Re: vim.tcz has Xorg-7.7-lib as a dep
« Reply #2 on: September 10, 2015, 04:22:53 AM »
Oh, I thought that vim (not gvim) was CLI only, so what use the XLibs? :-)
Been using VIM for years on headless machines - X has never entered my equation.

busybox vi is a bit lacking for my needs unfortunately.

OK, so I need to figure out how to compile my own package then...  thanks for the assistance!

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14544

Offline drendar

  • Newbie
  • *
  • Posts: 10
Re: vim.tcz has Xorg-7.7-lib as a dep
« Reply #4 on: September 10, 2015, 06:16:33 AM »
Thanks, I'll take a look!