FreeBSD 6.2 установка VIM

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
stup
мл. сержант
Сообщения: 90
Зарегистрирован: 2006-06-15 17:36:48

FreeBSD 6.2 установка VIM

Непрочитанное сообщение stup » 2007-12-24 13:43:04

Дано FreeBSD 6.2 хочу поставить VIM. Возникает такая проблема:

Код: Выделить всё

===>  Patching for gtk-1.2.10_18
===>   gtk-1.2.10_18 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for gtk-1.2.10_18
===>   gtk-1.2.10_18 depends on file: /usr/local/bin/perl5.8.8 - found
===>   gtk-1.2.10_18 depends on file: /usr/local/bin/libtool - found
===>   gtk-1.2.10_18 depends on executable: pkg-config - found
===>   gtk-1.2.10_18 depends on file: /usr/local/libdata/xorg/libraries - not found
===>    Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries
/usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
This looks like an incompletely removed old version of X.  In the current version, /usr/X11R6 must be a symlink if it exists at all.Please read /usr/ports/UPDATING (entry of 20070519) for the procedure to upgrade X.org related ports.*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk12.
*** Error code 1

Stop in /usr/ports/editors/vim.
Полез выполнять это "Please read /usr/ports/UPDATING (entry of 20070519)" там пишут:

Код: Выделить всё

20070519:
  AFFECTS: users of Xorg
  AUTHOR: kris@FreeBSD.org

  Welcome, fearless user!  You are about to embark upon a mystical
  journey to the world of xorg 7.2.

  This upgrade procedure is for users of portupgrade.  Users of other
  upgrade tools should contact the author for the corresponding upgrade
  method for that tool.

  It is recommended that you run the xorg 7.2 upgrade inside a script(1)
  session.  This way, if something goes wrong, you will have hopefully
  saved enough information for the developers to debug the problem.
  Make sure you choose a filesystem with lots of space for the script
  output.

  # script xorg-upgrade

  You may wish to set BATCH=yes in the environment to avoid interactive
  dialogue boxes.

  You may want to consider using portupgrade-devel, which fixes some
  annoying bugs that cause upgrades to incorrectly be marked as failed
  when they actually completed successfully.  To switch to
  portupgrade-devel:

  # portupgrade -f -o ports-mgmt/portupgrade-devel portupgrade
  # rm -f /usr/ports/INDEX*.db /var/db/pkg/pkgdb.db
  # pkgdb -fu

  If you have changed your ports environment in /etc/make.conf,
  /usr/local/etc/pkgtools.conf or similar you need to rebuild INDEX:

  # cd /usr/ports && make index

  If you have not changed your ports environment you can save some
  time and just fetch the latest INDEX:

  # cd /usr/ports && make fetchindex

  It is necessary to set the XORG_UPGRADE environment variable while
  updating from xorg 6.9 to 7.2.  Once the upgrade is complete this
  is no longer be required.

  For users of csh-like shells:
  # setenv XORG_UPGRADE yes

  For users of sh-like shells:
  # export XORG_UPGRADE=yes

  Unfortunately portupgrade (nor portupgrade-devel) cannot yet handle
  the rigors of the xorg upgrade without a small bit of help:

  # portupgrade -Rf libXft

  If your machine does NOT have any gstreamer ports installed, you can then
  run:

  # portupgrade -a

  However, if you DO have gstreamer ports installed, you must run:

  # portupgrade -a -x 'gstreamer*'

  Followed by:

  # portupgrade -Rr 'gstreamer*'

  When packages are available (wait for the announcement on ports@), you
  may prefer to use precompiled packages to speed up the process:

  # portupgrade -aP

  Once the upgrade completes successfully, you can delete the
  xorg-manpages package, which is now orphaned.

  # pkg_delete xorg-manpages\*

  The final step is to merge remaining files from /usr/X11R6 into
  /usr/local (/usr/X11R6 is no longer used with xorg 7.2) and replace
  /usr/X11R6 with a symlink.

  A script is provided for your convenience (or you may choose to do
  this by hand): it will first attempt to back up your /usr/X11R6 into
  /usr/tmp/mergebase in case something goes wrong, then look for
  conflicts (files in /usr/X11R6 that would overwrite files in
  /usr/local).  Depending on your system configuration you may have to
  resolve some of these conflicts by hand first (if in doubt, ask for
  help on freebsd-x11@FreeBSD.org).  You may also need to edit the
  /usr/X11R6 with a symlink.

  A script is provided for your convenience (or you may choose to do
  this by hand): it will first attempt to back up your /usr/X11R6 into
  /usr/tmp/mergebase in case something goes wrong, then look for
  conflicts (files in /usr/X11R6 that would overwrite files in
  /usr/local).  Depending on your system configuration you may have to
  resolve some of these conflicts by hand first (if in doubt, ask for
  help on freebsd-x11@FreeBSD.org).  You may also need to edit the
  script if the default locations are not correct on your system.

  If your /usr/X11R6 is a file system, you will also need to modify the
  script to pause after /usr/X11R6 is backed up, but before the symlink is
  created.

  # sh /usr/ports/Tools/scripts/mergebase.sh

  When the merge operation completes successfully, the /usr/X11R6
  directory hierarchy will be removed and replaced by a symlink to
  /usr/local.  This symlink is necessary because some binary ports (and
  some remaining source ports) have hard-coded references to /usr/X11R6.

  Congratulations, you are done!
Кто бы мне рассказал по русски, что она от меня хочет, и что ей нужно?! Ничего фантастического не хотел, только лишь редактор установить помню на 6.0 никаких проблем все скачивалось (хависимости) и ставилось а здесь такая вот фигня. Порты обновлял утилитой Portsnap. Обновлял перед установкой редактора. До этого успел поставить только CvsUp.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
hizel
дядя поня
Сообщения: 9032
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: FreeBSD 6.2 установка VIM

Непрочитанное сообщение hizel » 2007-12-24 13:56:10

если это серверный вариант
то Иксы тебе ни нада
а вим по умолчанию их тянет
поставь для вим-а в make.conf

Код: Выделить всё

WITHOUT_X11="YES"
и будет тебе счастье
если же ты хочешь вим с граф мордой то сначала проапгрейдь Иксы как в UPDATE написано
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

stup
мл. сержант
Сообщения: 90
Зарегистрирован: 2006-06-15 17:36:48

Re: FreeBSD 6.2 установка VIM

Непрочитанное сообщение stup » 2007-12-24 13:58:03

Ну да "иксы" не нужны! Сей-час попробую.

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35437
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: FreeBSD 6.2 установка VIM

Непрочитанное сообщение Alex Keda » 2007-12-24 14:15:09

Код: Выделить всё

# vim
.if ${.CURDIR} == ${PORTSDIR}/editors/vim
WITHOUT_X11=yes
NO_GUI=yes
.endif
в make.conf
Убей их всех! Бог потом рассортирует...

Аватара пользователя
hizel
дядя поня
Сообщения: 9032
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: FreeBSD 6.2 установка VIM

Непрочитанное сообщение hizel » 2007-12-24 14:27:46

по мне так в серверном варианте когда не планируется использовать всякой гуйни
имеет смысл поставить WITHOUT_X11 для всего, этот параметр во многих портах пользуется
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.