Update of /cvsroot/fink/web/xml/faq
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv5371
Modified Files:
faq.fr.xml faq.es.xml faq.ja.xml faq.pt.xml faq.zh.xml
faq.ru.xml
Log Message:
en 1.110
Index: faq.pt.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.pt.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- faq.pt.xml 17 Oct 2009 23:42:51 -0000 1.8
+++ faq.pt.xml 10 Nov 2010 02:23:58 -0000 1.9
@@ -335,6 +335,26 @@
section="leopard-bindist1">pergunta anterior</xref>.</p>
</answer>
</faqentry>
+ <faqentry name="stuck-gettext">
+ <question translated="no"><p>Fink tells me to run 'sudo apt-get install
libgettext3-dev=0.14.5-2' to clear up inconsistent dependencies but I'm still
stuck.</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the <em>libgettext3</em> package
description: 0.14.5-2 is an outdated version. Run</p>
+ <codeblock>fink index -f
+fink update libgettext3-dev
+ </codeblock>
+ <p>to update the package description cache and then the package.</p>
+ </answer>
+ </faqentry>
+ <faqentry name="stuck-dpkg">
+ <question translated="no"><p>Fink tells me 'Can't resolve dependency
"dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1"'. How do I solve
this?</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the updated <em>dpkg</em> package
description. Run</p>
+ <codeblock>fink index -f
+fink selfupdate
+ </codeblock>
+ <p>to update the package description cache and then to install
<code>dpkg</code> and <code>dpkg-base-files</code>.</p>
+ </answer>
+ </faqentry>
</chapter>
<chapter filename="usage-fink">
<title>Instalação, uso e manutenção do Fink</title>
@@ -1393,14 +1413,23 @@
<p>Não consigo instalar nada porque recebo a mensagem "dpkg: parse
error, in file `/sw/var/lib/dpkg/status'"!</p>
</question>
- <answer>
- <p>Isto significa que de alguma forma o seu banco de dados dpkg foi
- corrompido, geralmente por um travamento ou algum erro irrecuperável.
- Você pode corrigir esta situação copiando uma versão anterior do
banco
- de dados, como:</p>
+ <answer translated="no">
+ <p>This means that somehow your dpkg database got damaged, usually
+ from a crash or some other unrecoverable error. This most often
occurs with a buildlock, e.g:</p>
+ <codeblock>package `fink-buildlock-foo-1.2.3-4': missing
version</codeblock>
+ <p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+ <p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+ Then go near the line number which shows up in the error message.
+ You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+ package whose <code>Status</code> field is marked</p>
+ <codeblock>install ok installed</codeblock>
+ <p>Change that to</p>
+ <codeblock>purge ok not-installed</codeblock>
+ <p>Under other circumstances, there may be garbage in the file. You
can fix this situation by
+ copying the previous version of the database, like so:</p>
<codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
- <p>à possÃvel que você precise reinstalar alguns dos últimos
pacotes
- que você instalou antes de o problema começar a ocorrer.</p>
+ <p>You may need to re-install the last couple of packages you
+ installed before the problem started occurring.</p>
</answer>
</faqentry>
<faqentry name="freetype-problems">
@@ -1845,7 +1874,7 @@
<filename>/usr/X11/lib/libXdamage.1.1.0.dylib</filename> (ou outras
versões de bibliotecas em <filename>/usr/X11/lib/</filename>).</p>
<p>Até onde podemos perceber, a melhor forma de corrigir esse
problema é
- instalar o Xcode 3.1.3.</p>
+ instalar o Xcode 3.1.3 ou mais recentes.</p>
<!-- <p>Uma outra possibilidade é em relação a sÃmbolos indefinidos:
"<code>_gdk_threads_add_idle referenced from libgtk-x11-2 expected to be
defined in libgdk-x11-2</code>" etc.</p>
@@ -1936,14 +1965,13 @@
<p>Como faço para compilar algo usando softwares instalados pelo
Fink?</p>
</question>
- <answer>
+ <answer translated="no">
<!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ?
-->
- <p>Quando você for compilar algo fora do Fink, o compilador e o
- linkeditor precisam saber onde estão as bibliotecas e arquivos de
- cabeçalho instalados pelo Fink. Também é necessário
informar ao
- compilador qual a arquitetura alvo. Para um pacote que use o
processo
- configure/make padrão, você precisa definir algumas
variáveis de
- ambiente:</p>
+ <p>When compiling something yourself outside of Fink, the compiler and
+ linker need to be told where to find the Fink-installed libraries and
+ headers. It is also necessary to tell the compiler to use the
+ appropriate target architecture. For a package that uses
standard
+ configure/make process, you need to set some environment
variables:</p>
<p>-bash-</p>
<codeblock>export CFLAGS=-I/sw/include
export LDFLAGS=-L/sw/lib
@@ -1962,19 +1990,18 @@
setenv PKG_CONFIG_PATH "/sw/lib/pkgconfig"
setenv PATH /sw/var/lib/fink/path-prefix-10.6:$PATH
setenv MACOSX_DEPLOYMENT_TARGET 10.5</codeblock>
- <p>Normalmente é mais fácil adicionar essas definições ao seu
arquivo
- de inicialização do shell (<filename>.profile</filename> |
- <filename>.cshrc</filename>) para que as variáveis sejam definidas
- automaticamente. Se um pacote não usa essas variáveis, você
precisará
- adicionar "-I/sw/include" (para arquivos de cabeçalho) e "-L/sw/lib"
- (para bibliotecas) aos comandos de compilação. Alguns pacotes podem
- usar algumas variáveis similares mas que não são padrão como
- EXTRA_FLAGS ou opções extras para o configure como --with-qt-dir=.
- "./configure --help" normalmente exibe uma lista das opções
extras.</p>
- <p>Além disso, você pode precisar instalar os arquivos de cabeçalho
- para desenvolvimento (por exemplo, <em>foo-1.0-1-dev</em>) para os
- pacotes de bibliotecas que você esteja usando caso ainda não tenham
- sido instalados.</p>
+ <p>(assuming that the build system is running OS 10.5 or later)</p>
+ <p>It is often easiest just to add these to your startup files (e.g.
+ <filename>.cshrc</filename> | <filename>.profile</filename>) so they
+ are set automatically. If a package does not use these variables, you
+ may need to add the "-I/sw/include" (for headers) and "-L/sw/lib" (for
+ libraries) to the compile lines yourself. Some packages may use
+ similar non-standard variables such as EXTRA_CFLAGS or --with-qt-dir=
+ configure options. "./configure --help" will usually give you a list
+ of the extra configure options.</p>
+ <p>In addition, you may need to install the development headers (e.g.
+ <em>foo-1.0-1-dev</em>) for the library packages that you are using,
+ if they aren't already installed.</p>
</answer>
</faqentry>
<faqentry name="apple-x11-applications-menu">
Index: faq.fr.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.fr.xml,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- faq.fr.xml 25 Oct 2009 05:21:38 -0000 1.81
+++ faq.fr.xml 10 Nov 2010 02:23:57 -0000 1.82
@@ -215,20 +215,26 @@
<p>Apply the fix from <xref section="leopard-bindist1">the prior
entry.</xref></p>
</answer>
</faqentry>
-
-<faqentry name="fink-0220">
-<question>
-<p>Aucune mise à jour de paquets de Fink n'a eu lieu depuis un moment. Que
faire ?</p>
-</question>
-<answer>
-<p>Vérifiez la version de fink avec la commande suivante :</p>
-<codeblock>fink --version</codeblock>
-<p>Il existe un problème dans <code>fink-0.22.0</code>, qui fait que la mise
à jour par rsync ne fonctionne plus. Pour mettre à jour fink, passez à la
mise à jour via CVS avec la commande suivante :</p>
-<codeblock>fink selfupdate-cvs </codeblock>
-<p>Cela vous permettra de passer à une nouvelle version de <code>fink</code>.
Une fois cela fait, nous vous recommandons de revenir au mode de mise à jour
par rsync avec la commande suivante :</p>
-<codeblock>fink selfupdate-rsync</codeblock>
-</answer>
-</faqentry>
+ <faqentry name="stuck-gettext">
+ <question translated="no"><p>Fink tells me to run 'sudo apt-get install
libgettext3-dev=0.14.5-2' to clear up inconsistent dependencies but I'm still
stuck.</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the <em>libgettext3</em> package
description: 0.14.5-2 is an outdated version. Run</p>
+ <codeblock>fink index -f
+fink update libgettext3-dev
+ </codeblock>
+ <p>to update the package description cache and then the package.</p>
+ </answer>
+ </faqentry>
+ <faqentry name="stuck-dpkg">
+ <question translated="no"><p>Fink tells me 'Can't resolve dependency
"dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1"'. How do I solve
this?</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the updated <em>dpkg</em> package
description. Run</p>
+ <codeblock>fink index -f
+fink selfupdate
+ </codeblock>
+ <p>to update the package description cache and then to install
<code>dpkg</code> and <code>dpkg-base-files</code>.</p>
+ </answer>
+ </faqentry>
</chapter>
<chapter filename="usage-fink">
@@ -947,11 +953,24 @@
<question>
<p>Il est impossible d'installer quoi que ce soit, un message indique que
"dpkg est incapable d'analyser la structure du fichier /sw/var/lib/dpkg/status"
(message en anglais : "dpkg: parse error, in file `/sw/var/lib/dpkg/status'").
De quoi s'agit-il ?</p>
</question>
-<answer>
-<p>Cela signifie que votre base de données dpkg a été corrompue, en
général à la suite d'un plantage ou d'une autre erreur irrécupérable. Vous
pouvez résoudre le problème en copiant la version précédente de la base de
données via la commande :</p>
-<codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
-<p>Il se peut que vous deviez réinstaller les derniers paquets installés
juste avant que le problème n'apparaisse.</p>
-</answer>
+ <answer translated="no">
+ <p>This means that somehow your dpkg database got damaged, usually
+ from a crash or some other unrecoverable error. This most often
occurs with a buildlock, e.g:</p>
+ <codeblock>package `fink-buildlock-foo-1.2.3-4': missing
version</codeblock>
+ <p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+ <p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+ Then go near the line number which shows up in the error message.
+ You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+ package whose <code>Status</code> field is marked</p>
+ <codeblock>install ok installed</codeblock>
+ <p>Change that to</p>
+ <codeblock>purge ok not-installed</codeblock>
+ <p>Under other circumstances, there may be garbage in the file. You
can fix this situation by
+ copying the previous version of the database, like so:</p>
+ <codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
+ <p>You may need to re-install the last couple of packages you
+ installed before the problem started occurring.</p>
+ </answer>
</faqentry>
<faqentry name="freetype-problems">
<question>
@@ -1277,7 +1296,7 @@
<filename>/usr/X11/lib/libXdamage.1.1.0.dylib</filename> (or other
versions of libraries in
<filename>/usr/X11/lib/</filename>).</p>
<p>The current wisdom on the best
- fix for such an issue is to install Xcode 3.1.3.</p>
+ fix for such an issue is to install Xcode 3.1.3 or later.</p>
</answer>
</faqentry>
<faqentry name="all-others">
@@ -1320,8 +1339,8 @@
<question>
<p>Comment compiler soi-même en utilisant des logiciels installés par Fink
?</p>
</question>
-<answer>
-<!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ? -->
+ <answer translated="no">
+ <!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ?
-->
<p>When compiling something yourself outside of Fink, the compiler and
linker need to be told where to find the Fink-installed libraries and
headers. It is also necessary to tell the compiler to use the
@@ -1346,9 +1365,18 @@
setenv PATH /sw/var/lib/fink/path-prefix-10.6:$PATH
setenv MACOSX_DEPLOYMENT_TARGET 10.5</codeblock>
<p>(assuming that the build system is running OS 10.5 or later)</p>
-<p>Il est souvent plus simple d'ajouter ces variables à vos fichiers de
démarrage (par exemple, <filename>.cshrc</filename> ou
<filename>.profile</filename>), de façon à ce qu'elles soient automatiquement
définies. Si un paquet n'utilise pas ces variables, vous devrez peut-être
ajouter aux lignes de compilation "-I/sw/include" pour les headers et
"-L/sw/lib" pour les bibliothèques. Certains paquets peuvent utiliser des
variables non standards, telle EXTRA_CFLAGS, des options de configuration,
telle --with-qt-dir=toto. La commande "./configure --help" vous donne, en
général, la liste de ces options de configuration supplémentaires.</p>
-<p>De plus, vous devrez peut-être installer les headers de développement des
paquets bibliothèques que vous utilisez, s'ils ne sont pas déjà installés :
par exemple <em>toto-1.0-1-dev</em>), si vous utilisez la bibliothèque
toto-1.0-1.</p>
-</answer>
+ <p>It is often easiest just to add these to your startup files (e.g.
+ <filename>.cshrc</filename> | <filename>.profile</filename>) so they
+ are set automatically. If a package does not use these variables, you
+ may need to add the "-I/sw/include" (for headers) and "-L/sw/lib" (for
+ libraries) to the compile lines yourself. Some packages may use
+ similar non-standard variables such as EXTRA_CFLAGS or --with-qt-dir=
+ configure options. "./configure --help" will usually give you a list
+ of the extra configure options.</p>
+ <p>In addition, you may need to install the development headers (e.g.
+ <em>foo-1.0-1-dev</em>) for the library packages that you are using,
+ if they aren't already installed.</p>
+ </answer>
</faqentry>
<faqentry name="apple-x11-applications-menu">
<question>
Index: faq.ru.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.ru.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- faq.ru.xml 25 Oct 2009 05:21:38 -0000 1.15
+++ faq.ru.xml 10 Nov 2010 02:23:58 -0000 1.16
@@ -323,22 +323,26 @@
<p>Apply the fix from <xref section="leopard-bindist1">the prior
entry.</xref></p>
</answer>
</faqentry>
- <faqentry name="fink-0220">
- <question>
- <p>Я не полÑÑал обновлений пакеÑов
Ð¾Ñ Fink в ÑеÑение некоÑоÑого вÑемени.</p>
- </question>
- <answer>
- <p>ÐÑовеÑÑÑе ваÑÑ Ð²ÐµÑÑиÑ:</p>
- <codeblock>fink --version</codeblock>
- <p>ÐÑÑÑ Ð¸Ð·Ð²ÐµÑÑÐ½Ð°Ñ Ð¿Ñоблема Ñ
<code>fink-0.22.0</code>,
- где авÑообновление rsync
пеÑеÑÑало ÑабоÑаÑÑ. ÐÐ»Ñ ÑеÑÐµÐ½Ð¸Ñ ÑÑой
пÑоблемÑ
- пеÑейдиÑе на авÑообновление CVS
ÑеÑез</p>
- <codeblock>fink selfupdate-cvs </codeblock>
- <p>ÐÑ Ð¿Ð¾Ð»ÑÑиÑе более позднÑÑ
веÑÑÐ¸Ñ <code>fink</code>. ÐоÑле ÑÑого
- ÑекомендÑем пеÑейÑи обÑаÑно на
авÑообновление rsync:</p>
- <codeblock>fink selfupdate-rsync</codeblock>
- </answer>
- </faqentry>
+ <faqentry name="stuck-gettext">
+ <question translated="no"><p>Fink tells me to run 'sudo apt-get install
libgettext3-dev=0.14.5-2' to clear up inconsistent dependencies but I'm still
stuck.</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the <em>libgettext3</em> package
description: 0.14.5-2 is an outdated version. Run</p>
+ <codeblock>fink index -f
+fink update libgettext3-dev
+ </codeblock>
+ <p>to update the package description cache and then the package.</p>
+ </answer>
+ </faqentry>
+ <faqentry name="stuck-dpkg">
+ <question translated="no"><p>Fink tells me 'Can't resolve dependency
"dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1"'. How do I solve
this?</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the updated <em>dpkg</em> package
description. Run</p>
+ <codeblock>fink index -f
+fink selfupdate
+ </codeblock>
+ <p>to update the package description cache and then to install
<code>dpkg</code> and <code>dpkg-base-files</code>.</p>
+ </answer>
+ </faqentry>
</chapter>
<chapter filename="usage-fink">
<title>ÐнÑÑаллÑÑиÑ, иÑполÑзование и
поддеÑжка Fink</title>
@@ -1380,15 +1384,24 @@
<p>Ðе Ð¼Ð¾Ð³Ñ Ð½Ð¸Ñего инÑÑаллиÑоваÑÑ,
Ñ.к. полÑÑил ÑообÑение "dpkg: parse error, in
file `/sw/var/lib/dpkg/status'"!</p>
</question>
- <answer>
- <p>ÐÑо ознаÑаеÑ, ÑÑо каким-Ñо
обÑазом повÑедилаÑÑ Ð²Ð°Ñа база даннÑÑ
dpkg,
- обÑÑно из-за ÑаÑалÑного ÑбоÑ
или дÑÑгой неиÑпÑавимой оÑибки. ÐÑ Ð¼Ð¾Ð¶ÐµÑе
- ÑÑо иÑпÑавиÑÑ Ð¿ÑÑем
копиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑедÑдÑÑей веÑÑии Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
,
- н-Ñ Ñак:</p>
- <codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
- <p>Ðозможно, вам надо бÑÐ´ÐµÑ Ñнова
инÑÑаллиÑоваÑÑ Ð¿Ð°ÑÑ Ð¿Ð¾ÑледниÑ
пакеÑов,
коÑоÑÑе
- Ð²Ñ Ð¸Ð½ÑÑаллиÑовали пеÑед
возникновением пÑоблемÑ. </p>
- </answer>
+ <answer translated="no">
+ <p>This means that somehow your dpkg database got damaged, usually
+ from a crash or some other unrecoverable error. This most often
occurs with a buildlock, e.g:</p>
+ <codeblock>package `fink-buildlock-foo-1.2.3-4': missing
version</codeblock>
+ <p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+ <p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+ Then go near the line number which shows up in the error message.
+ You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+ package whose <code>Status</code> field is marked</p>
+ <codeblock>install ok installed</codeblock>
+ <p>Change that to</p>
+ <codeblock>purge ok not-installed</codeblock>
+ <p>Under other circumstances, there may be garbage in the file. You
can fix this situation by
+ copying the previous version of the database, like so:</p>
+ <codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
+ <p>You may need to re-install the last couple of packages you
+ installed before the problem started occurring.</p>
+ </answer>
</faqentry>
<faqentry name="freetype-problems">
<question>
@@ -1832,7 +1845,7 @@
<filename>/usr/X11/lib/libXdamage.1.1.0.dylib</filename> (or other
versions of libraries in
<filename>/usr/X11/lib/</filename>).</p>
<p>The current wisdom on the best
- fix for such an issue is to install Xcode 3.1.3.</p>
+ fix for such an issue is to install Xcode 3.1.3 or later.</p>
</answer>
</faqentry>
<faqentry name="all-others">
@@ -1919,8 +1932,8 @@
<question>
<p>Ðак можно компилиÑоваÑÑ
ÑÑо-нибÑÐ´Ñ ÑамоÑÑоÑÑелÑно Ñ Ð¿Ñименением
ÐÐ, инÑÑаллиÑованного Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Fink?</p>
</question>
- <answer translated="no">
- <!-- TODO: maybe change this to use LIBRARY_PATH /
DYLD_LIBRARY_PATH ? -->
+ <answer translated="no">
+ <!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ?
-->
<p>When compiling something yourself outside of Fink, the compiler and
linker need to be told where to find the Fink-installed libraries and
headers. It is also necessary to tell the compiler to use the
@@ -1945,20 +1958,18 @@
setenv PATH /sw/var/lib/fink/path-prefix-10.6:$PATH
setenv MACOSX_DEPLOYMENT_TARGET 10.5</codeblock>
<p>(assuming that the build system is running OS 10.5 or later)</p>
- <p>ÐаÑаÑÑÑÑ Ð»ÐµÐ³Ñе вÑего пÑоÑÑо
добавиÑÑ Ð¸Ñ
к Ñвоим Ñайлам иниÑиализаÑии
- (н-Ñ <filename>.cshrc</filename> |
- <filename>.profile</filename>), ÑÑÐ¾Ð±Ñ Ð¾Ð½Ð¸
ÑÑÑановилиÑÑ
- авÑомаÑиÑеÑки. ÐÑли Ð¿Ð°ÐºÐµÑ Ð½Ðµ
иÑполÑзÑÐµÑ ÑÑи пеÑеменнÑе,
- возможно, надо бÑÐ´ÐµÑ ÑамомÑ
добавиÑÑ "-I/sw/include" (Ð´Ð»Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¾Ð²) и
- "-L/sw/lib" (Ð´Ð»Ñ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñек) к ÑÑÑокам
компилÑÑии.
- ÐекоÑоÑÑе пакеÑÑ Ð¼Ð¾Ð³ÑÑ
иÑполÑзоваÑÑ Ñакие аналогиÑнÑе
неÑÑандаÑÑнÑе пеÑеменнÑе, как
- EXTRA_CFLAGS or --with-qt-dir= configure options.
- "./configure --help" обÑÑно
пÑедоÑÑавлÑÐµÑ ÑпиÑок дополниÑелÑнÑÑ
- опÑий конÑигÑÑаÑии.</p>
- <p>ÐÑоме Ñого, вам возможно
понадобиÑÑÑ Ð¸Ð½ÑÑаллиÑоваÑÑ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²ÐºÐ¸
ÑазÑабоÑок
- (н-Ñ. <em>foo-1.0-1-dev</em>) Ð´Ð»Ñ Ð¿Ð°ÐºÐµÑов
библиоÑек, коÑоÑÑе
- Ð²Ñ Ð¸ÑполÑзÑеÑе, еÑли они еÑе не
инÑÑаллиÑованÑ. </p>
- </answer>
+ <p>It is often easiest just to add these to your startup files (e.g.
+ <filename>.cshrc</filename> | <filename>.profile</filename>) so they
+ are set automatically. If a package does not use these variables, you
+ may need to add the "-I/sw/include" (for headers) and "-L/sw/lib" (for
+ libraries) to the compile lines yourself. Some packages may use
+ similar non-standard variables such as EXTRA_CFLAGS or --with-qt-dir=
+ configure options. "./configure --help" will usually give you a list
+ of the extra configure options.</p>
+ <p>In addition, you may need to install the development headers (e.g.
+ <em>foo-1.0-1-dev</em>) for the library packages that you are using,
+ if they aren't already installed.</p>
+ </answer>
</faqentry>
<faqentry name="apple-x11-applications-menu">
<question>
Index: faq.zh.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.zh.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- faq.zh.xml 25 Oct 2009 05:21:38 -0000 1.32
+++ faq.zh.xml 10 Nov 2010 02:23:58 -0000 1.33
@@ -259,21 +259,26 @@
<p>Apply the fix from <xref section="leopard-bindist1">the prior
entry.</xref></p>
</answer>
</faqentry>
- <!-- start translation -->
- <faqentry name="fink-0220">
- <question translated="no">
- <p>I haven't had any package updates from Fink in a while.</p>
- </question>
+ <faqentry name="stuck-gettext">
+ <question translated="no"><p>Fink tells me to run 'sudo apt-get install
libgettext3-dev=0.14.5-2' to clear up inconsistent dependencies but I'm still
stuck.</p></question>
<answer translated="no">
- <p>Check your version:</p>
- <codeblock>fink --version</codeblock>
- <p>There is a known problem with <code>fink-0.22.0</code> wherein
rsync selfupdating stopped working. To fix this, switch to CVS selfupdating
via</p>
- <codeblock>fink selfupdate-cvs </codeblock>
- <p>This will bring you a newer <code>fink</code> version. After you
do this we recommend switching back to rsync selfupdating:</p>
- <codeblock>fink selfupdate-rsync</codeblock>
+ <p>There is a timestamp issue with the <em>libgettext3</em> package
description: 0.14.5-2 is an outdated version. Run</p>
+ <codeblock>fink index -f
+fink update libgettext3-dev
+ </codeblock>
+ <p>to update the package description cache and then the package.</p>
+ </answer>
+ </faqentry>
+ <faqentry name="stuck-dpkg">
+ <question translated="no"><p>Fink tells me 'Can't resolve dependency
"dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1"'. How do I solve
this?</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the updated <em>dpkg</em> package
description. Run</p>
+ <codeblock>fink index -f
+fink selfupdate
+ </codeblock>
+ <p>to update the package description cache and then to install
<code>dpkg</code> and <code>dpkg-base-files</code>.</p>
</answer>
</faqentry>
- <!-- end translation -->
</chapter>
<chapter filename="usage-fink" >
<title>å®è£
ï¼ä½¿ç¨åç»´æ¤ Fink</title>
@@ -1119,12 +1124,23 @@
<question>
<p>æä¸è½å®è£
ä»»ä½ä¸è¥¿ï¼å 为æç¢°å° "dpkg: parse
error, in file `/sw/var/lib/dpkg/status'" é误ï¼</p>
</question>
- <answer>
- <p>è¿æå³çä½ ç dpkg
æ°æ®åºè¢«æåäºï¼é常æ¯ç±äºä¸æ¬¡ç¨åºå´©æºæå
¶å®ä¸å¯æ¢å¤éè¯¯é æãä½ å¯ä»¥ç¨æ·è´ä»¥åççæ¬çæ°æ®åºåæ³æ¥è§£å³ï¼è±¡è¿æ ·ï¼</p>
- <codeblock>
-sudo cp /sw/var/lib/dpkg/status-old /sw/var/lib/dpkg/status
-</codeblock>
-
<p>ä½ ä¹è®¸éè¦éæ°å®è£
é®é¢åçåå®è£
çæåå 个软件å
ã</p>
+ <answer translated="no">
+ <p>This means that somehow your dpkg database got damaged, usually
+ from a crash or some other unrecoverable error. This most often
occurs with a buildlock, e.g:</p>
+ <codeblock>package `fink-buildlock-foo-1.2.3-4': missing
version</codeblock>
+ <p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+ <p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+ Then go near the line number which shows up in the error message.
+ You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+ package whose <code>Status</code> field is marked</p>
+ <codeblock>install ok installed</codeblock>
+ <p>Change that to</p>
+ <codeblock>purge ok not-installed</codeblock>
+ <p>Under other circumstances, there may be garbage in the file. You
can fix this situation by
+ copying the previous version of the database, like so:</p>
+ <codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
+ <p>You may need to re-install the last couple of packages you
+ installed before the problem started occurring.</p>
</answer>
</faqentry>
<faqentry name="freetype-problems" >
@@ -1468,7 +1484,7 @@
<filename>/usr/X11/lib/libXdamage.1.1.0.dylib</filename> (or other
versions of libraries in
<filename>/usr/X11/lib/</filename>).</p>
<p>The current wisdom on the best
- fix for such an issue is to install Xcode 3.1.3.</p>
+ fix for such an issue is to install Xcode 3.1.3 or later.</p>
</answer>
</faqentry>
<faqentry name="all-others">
@@ -1528,7 +1544,8 @@
<p>å¦ä½ä½¿ç¨ Fink
å®è£
ç软件ç¼è¯ä¸äºæèªå·±çä¸è¥¿ï¼</p>
</question>
<answer translated="no">
-<!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ? -->
<p>When compiling something yourself outside of Fink, the compiler
and
+ <!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ?
-->
+ <p>When compiling something yourself outside of Fink, the compiler and
linker need to be told where to find the Fink-installed libraries and
headers. It is also necessary to tell the compiler to use the
appropriate target architecture. For a package that uses
standard
Index: faq.es.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.es.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- faq.es.xml 25 Oct 2009 05:21:38 -0000 1.15
+++ faq.es.xml 10 Nov 2010 02:23:58 -0000 1.16
@@ -218,6 +218,26 @@
<p>Apply the fix from <xref section="leopard-bindist1">the prior
entry.</xref></p>
</answer>
</faqentry>
+ <faqentry name="stuck-gettext">
+ <question translated="no"><p>Fink tells me to run 'sudo apt-get install
libgettext3-dev=0.14.5-2' to clear up inconsistent dependencies but I'm still
stuck.</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the <em>libgettext3</em> package
description: 0.14.5-2 is an outdated version. Run</p>
+ <codeblock>fink index -f
+fink update libgettext3-dev
+ </codeblock>
+ <p>to update the package description cache and then the package.</p>
+ </answer>
+ </faqentry>
+ <faqentry name="stuck-dpkg">
+ <question translated="no"><p>Fink tells me 'Can't resolve dependency
"dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1"'. How do I solve
this?</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the updated <em>dpkg</em> package
description. Run</p>
+ <codeblock>fink index -f
+fink selfupdate
+ </codeblock>
+ <p>to update the package description cache and then to install
<code>dpkg</code> and <code>dpkg-base-files</code>.</p>
+ </answer>
+ </faqentry>
</chapter>
<chapter filename="usage-fink">
<title>Installing, Using and Maintaining Fink</title>
@@ -1167,8 +1187,18 @@
<p>No puedo instalar nada porque me aparece: "dpkg: parse error, in
file `/sw/var/lib/dpkg/status'"!</p>
</question>
<answer translated="no">
- <p>This means that somehow your dpkg database got corrupted, usually
- from a crash or some other unrecoverable error. You can fix it by
+ <p>This means that somehow your dpkg database got damaged, usually
+ from a crash or some other unrecoverable error. This most often
occurs with a buildlock, e.g:</p>
+ <codeblock>package `fink-buildlock-foo-1.2.3-4': missing
version</codeblock>
+ <p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+ <p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+ Then go near the line number which shows up in the error message.
+ You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+ package whose <code>Status</code> field is marked</p>
+ <codeblock>install ok installed</codeblock>
+ <p>Change that to</p>
+ <codeblock>purge ok not-installed</codeblock>
+ <p>Under other circumstances, there may be garbage in the file. You
can fix this situation by
copying the previous version of the database, like so:</p>
<codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
<p>You may need to re-install the last couple of packages you
@@ -1557,7 +1587,7 @@
<filename>/usr/X11/lib/libXdamage.1.1.0.dylib</filename> (or other
versions of libraries in
<filename>/usr/X11/lib/</filename>).</p>
<p>The current wisdom on the best
- fix for such an issue is to install Xcode 3.1.3.</p>
+ fix for such an issue is to install Xcode 3.1.3 or later.</p>
</answer>
</faqentry>
<faqentry name="all-others">
Index: faq.ja.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.ja.xml,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- faq.ja.xml 25 Oct 2009 05:21:38 -0000 1.44
+++ faq.ja.xml 10 Nov 2010 02:23:58 -0000 1.45
@@ -275,26 +275,26 @@
<p>Apply the fix from <xref section="leopard-bindist1">the prior
entry.</xref></p>
</answer>
</faqentry>
-
-<faqentry name="fink-0220">
- <question>
- <p>é·ãã㨠Fink
ããã®ããã±ã¼ã¸æ´æ°ãããã¾ããã§ããã</p>
- </question>
- <answer>
- <p>ãã¼ã¸ã§ã³ã確èªãã¦ãã ãã:</p>
- <codeblock>fink --version</codeblock>
- <p>
- rsync selfupdate
ãåä½ããªãã¨ããæ¢ç¥ã®åé¡ã <code>fink-0.22.0</code>
ã«ããã¾ãã
- ãããç´ãããã«ã CVS selfupdate
ãè¡ãã¾ã
- </p>
- <codeblock>fink selfupdate-cvs  </codeblock>
- <p>
- ããã«ãã <code>fink</code>
ãæ°ãããªãã¾ãã
- ãã®èªã rsync selfupdate
ã«æ»ããããããããã¾ãã
- </p>
- <codeblock>fink selfupdate-rsync</codeblock>
- </answer>
-</faqentry>
+ <faqentry name="stuck-gettext">
+ <question translated="no"><p>Fink tells me to run 'sudo apt-get install
libgettext3-dev=0.14.5-2' to clear up inconsistent dependencies but I'm still
stuck.</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the <em>libgettext3</em> package
description: 0.14.5-2 is an outdated version. Run</p>
+ <codeblock>fink index -f
+fink update libgettext3-dev
+ </codeblock>
+ <p>to update the package description cache and then the package.</p>
+ </answer>
+ </faqentry>
+ <faqentry name="stuck-dpkg">
+ <question translated="no"><p>Fink tells me 'Can't resolve dependency
"dpkg (>= 1.10.21-1229)" for package "dpkg-base-files-0.3-1"'. How do I solve
this?</p></question>
+ <answer translated="no">
+ <p>There is a timestamp issue with the updated <em>dpkg</em> package
description. Run</p>
+ <codeblock>fink index -f
+fink selfupdate
+ </codeblock>
+ <p>to update the package description cache and then to install
<code>dpkg</code> and <code>dpkg-base-files</code>.</p>
+ </answer>
+ </faqentry>
</chapter>
<chapter filename="usage-fink" >
<title>Fink ã®ã¤ã³ã¹ãã¼ã«ã使ç¨ãã¡ã³ããã³ã¹</title>
@@ -1215,12 +1215,24 @@
<p>"dpkg: parse error, in file `/sw/var/lib/dpkg/status'"
ã¨ããã¡ãã»ã¼ã¸ãåºã¦ãä½ãã¤ã³ã¹ãã¼ã«ã§ãã¾ãã!</p>
</question>
-<answer>
-<p>ãã㯠dpkg
ãã¼ã¿ãã¼ã¹ãå£ãã¦ãã¾ã£ãããã¯ã©ãã·ã¥ãä»ã®ãªã«ãã¼ã§ããªãã¨ã©ã¼ãåå ã§ãã
-以åã®ãã¼ã¸ã§ã³ã®ãã¼ã¿ãã¼ã¹ãã³ãã¼ãã¦ç´ããã¨ãã§ãã¾ã:</p>
-<codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
-<p>ãã®åé¡ãèµ·ããæå¾ã®äºã¤ã®ããã±ã¼ã¸ãåã¤ã³ã¹ãã¼ã«ããã»ããããã§ãããã</p>
-</answer>
+ <answer translated="no">
+ <p>This means that somehow your dpkg database got damaged, usually
+ from a crash or some other unrecoverable error. This most often
occurs with a buildlock, e.g:</p>
+ <codeblock>package `fink-buildlock-foo-1.2.3-4': missing
version</codeblock>
+ <p>(of course, replace <filename>foo-1.2.3-4</filename> with the
package name you are seeing).</p>
+ <p>When this happens, you should edit
<filename>/sw/var/lib/dpkg/status</filename> as a superuser.
+ Then go near the line number which shows up in the error message.
+ You should see a <code>fink-buildlock-foo-1.2.3-4</code>
+ package whose <code>Status</code> field is marked</p>
+ <codeblock>install ok installed</codeblock>
+ <p>Change that to</p>
+ <codeblock>purge ok not-installed</codeblock>
+ <p>Under other circumstances, there may be garbage in the file. You
can fix this situation by
+ copying the previous version of the database, like so:</p>
+ <codeblock>sudo cp /sw/var/lib/dpkg/status-old
/sw/var/lib/dpkg/status</codeblock>
+ <p>You may need to re-install the last couple of packages you
+ installed before the problem started occurring.</p>
+ </answer>
</faqentry>
<faqentry name="freetype-problems">
<question>
@@ -1620,7 +1632,7 @@
<filename>/usr/X11/lib/libXdamage.1.1.0.dylib</filename> (or other
versions of libraries in
<filename>/usr/X11/lib/</filename>).</p>
<p>The current wisdom on the best
- fix for such an issue is to install Xcode 3.1.3.</p>
+ fix for such an issue is to install Xcode 3.1.3 or later.</p>
</answer>
</faqentry>
<faqentry name="all-others">
@@ -1695,8 +1707,8 @@
<question>
<p>Fink
ã§ã¤ã³ã¹ãã¼ã«ããã½ããã¦ã§ã¢ã使ã£ã¦ãèªåã§ä½ããã³ã³ãã¤ã«ããã«ã¯ã©ããããããã®ã§ãã?</p>
</question>
-<answer>
-<!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ? -->
+ <answer translated="no">
+ <!-- TODO: maybe change this to use LIBRARY_PATH / DYLD_LIBRARY_PATH ?
-->
<p>When compiling something yourself outside of Fink, the compiler and
linker need to be told where to find the Fink-installed libraries and
headers. It is also necessary to tell the compiler to use the
@@ -1721,14 +1733,18 @@
setenv PATH /sw/var/lib/fink/path-prefix-10.6:$PATH
setenv MACOSX_DEPLOYMENT_TARGET 10.5</codeblock>
<p>(assuming that the build system is running OS 10.5 or later)</p>
-<p>ãããèµ·åãã¡ã¤ã« (.cshrc ã .profile)
ã«è¿½å ããã¨ãèªåçã«è¨å®ããã¦ä¾¿å©ã§ãã
-ãã®ç°å¢å¤æ°ã使ããªãããã±ã¼ã¸ã®å ´åã
-"-I/sw/include" (ãããç¨) and "-L/sw/lib"
(ã©ã¤ãã©ãªç¨)
-ãã³ã³ãã¤ã«ã®è¡ã«è¿½å ããå¿
è¦ãããã§ãããã
-ããã±ã¼ã¸ã®ä¸ã«ã¯ã EXTRA_CFLAGS ã --with-qt-dir=
ã®ãããªã鿍æºç㪠configure
ãªãã·ã§ã³ã使ããã®ãããã¾ãã
-"./configure --help" ã§ configure
ãªãã·ã§ã³ã®ä¸è¦§ããããã§ãããã</p>
-<p>ããã«ãããªãã使ãã©ã¤ãã©ãªã®éçºç¨ããã (ä¾
<em>foo-1.0-1-dev</em>) ãã¤ã³ã¹ãã¼ã«ããå¿
è¦ãããã¾ãã</p>
-</answer>
+ <p>It is often easiest just to add these to your startup files (e.g.
+ <filename>.cshrc</filename> | <filename>.profile</filename>) so they
+ are set automatically. If a package does not use these variables, you
+ may need to add the "-I/sw/include" (for headers) and "-L/sw/lib" (for
+ libraries) to the compile lines yourself. Some packages may use
+ similar non-standard variables such as EXTRA_CFLAGS or --with-qt-dir=
+ configure options. "./configure --help" will usually give you a list
+ of the extra configure options.</p>
+ <p>In addition, you may need to install the development headers (e.g.
+ <em>foo-1.0-1-dev</em>) for the library packages that you are using,
+ if they aren't already installed.</p>
+ </answer>
</faqentry>
<faqentry name="apple-x11-applications-menu" >
<question>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs