Update of /cvsroot/fink/scripts/installer/dmg/faq
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20920/scripts/installer/dmg/faq

Modified Files:
        faq.en.html 
Log Message:
FAQ update


Index: faq.en.html
===================================================================
RCS file: /cvsroot/fink/scripts/installer/dmg/faq/faq.en.html,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- faq.en.html 22 Jun 2005 13:39:58 -0000      1.52
+++ faq.en.html 8 Jul 2005 00:53:03 -0000       1.53
@@ -54,7 +54,7 @@
         contents" is out of date. What do I need to do?</a></li><li><a 
href="#comp-general.fc-atlas">6.11 Fink Commander hangs when I try to install 
atlas.</a></li><li><a href="#comp-general.basic-headers">6.12 I get messages 
saying that I'm missing <tt style="white-space: nowrap;">stddef.h</tt>, <tt 
style="white-space: nowrap;">wchar.h</tt>, or <tt style="white-space: 
nowrap;">crt1.o</tt>, or that my "C compiler cannot create 
executables".</a></li><li><a href="#comp-general.multiple-dependencies">6.13 I 
can't update, because Fink is "unable to resolve version conflict
         on multiple dependencies".</a></li><li><a 
href="#comp-general.dpkg-parse-error">6.14 I can't install anything because I 
get "dpkg: parse error, in file
         `/sw/var/lib/dpkg/status'"!</a></li><li><a 
href="#comp-general.freetype-problems">6.15 I get errors involving 
freetype.</a></li><li><a href="#comp-general.dlfcn-from-oo">6.16 I get build 
errors involving `Dl_info'.</a></li><li><a href="#comp-general.gcc2">6.17 Fink 
says I'm missing <tt style="white-space: nowrap;">gcc2</tt> or <tt 
style="white-space: nowrap;">gcc3.1</tt> but I can't seem to
-        install it.</a></li><li><a href="#comp-general.system-java">6.18 Fink 
says <tt style="white-space: nowrap;">Failed: Can't resolve dependency 
"system-java14-dev"</tt>, but there's no such package.</a></li><li><a 
href="#comp-general.dpkg-split">6.19 When I try to install anything, I get 
<q>dpkg (subprocess): failed to exec dpkg-split to see if it's part of a 
multiparter: No such file or directory</q>.  How do I fix this?</a></li><li><a 
href="#comp-general.xml-parser">6.20 I get the following message: <q>configure: 
error: XML::Parser perl module is required for intltool</q>.  What do I do 
about it?</a></li><li><a href="#comp-general.master-problems">6.21 I'm trying 
to download a package, but Fink goes to some weird site with <q>distfiles</q> 
in its name, and the file isn't there.</a></li><li><a 
href="#comp-general.compile-options">6.22 I want Fink to use different options 
in building a package.</a></li></ul></li><li><a href="#comp-packages"><b>7 
Compile Problems - Speci
 fic Packages</b></a><ul><li><a href="#comp-packages.libgtop">7.1 A package 
fails to build with errors involving
+        install it.</a></li><li><a href="#comp-general.system-java">6.18 Fink 
says <tt style="white-space: nowrap;">Failed: Can't resolve dependency 
"system-java14-dev"</tt>, but there's no such package.</a></li><li><a 
href="#comp-general.dpkg-split">6.19 When I try to install anything, I get 
<q>dpkg (subprocess): failed to exec dpkg-split to see if it's part of a 
multiparter: No such file or directory</q>.  How do I fix this?</a></li><li><a 
href="#comp-general.xml-parser">6.20 I get the following message: <q>configure: 
error: XML::Parser perl module is required for intltool</q>.  What do I do 
about it?</a></li><li><a href="#comp-general.master-problems">6.21 I'm trying 
to download a package, but Fink goes to some weird site with <q>distfiles</q> 
in its name, and the file isn't there.</a></li><li><a 
href="#comp-general.compile-options">6.22 I want Fink to use different options 
in building a package.</a></li><li><a href="#comp-general.gettext">6.23 
Whenever I try to build fro
 m source, Fink keeps waffling between <tt style="white-space: 
nowrap;">gettext-dev</tt> and <tt style="white-space: 
nowrap;">libgettext3-dev</tt>.</a></li><li><a 
href="#comp-general.python-mods">6.24 I get errors involving <tt 
style="white-space: nowrap;">MACOSX_DEPLOYMENT_TARGET </tt>when I try to build 
a Python module.</a></li></ul></li><li><a href="#comp-packages"><b>7 Compile 
Problems - Specific Packages</b></a><ul><li><a 
href="#comp-packages.libgtop">7.1 A package fails to build with errors involving
         <tt style="white-space: nowrap;">sed</tt>.</a></li><li><a 
href="#comp-packages.cant-install-xfree">7.2 I want to switch to Fink's XFree86 
packages, but I can't install
         <tt style="white-space: nowrap;">xfree86-base</tt> | <tt 
style="white-space: nowrap;">xfree86</tt>, because it conflicts
         with <tt style="white-space: 
nowrap;">system-xfree86</tt>.</a></li><li><a 
href="#comp-packages.change-thread-nothread">7.3 How do I change from the 
non-threaded version of Fink's XFree86
@@ -967,6 +967,21 @@
       <div class="answer"><p><b>A:</b> The first thing to do is to contact the 
package maintainer to request a variant.  It may be relatively easy to do it.  
If you don't hear from the maintainer or see the new packages, or want to try a 
different option yourself, check out the <a 
href="http://fink.sourceforge.net/doc/quick-start-pkg/index.php";>Packaging 
Tutorial</a> and <a 
href="http://fink.sourceforge.net/doc/packaging/index.php";>Packaging 
Manual</a>.</p><p>
           <b>Note:  </b>Fink is deliberately set up such that all official 
binaries are identical regardless of what machine they are built on, so things 
like G5 optimization won't happen with an official package.  If you want them, 
you'll have to do it yourself.</p></div>
     </a>
+    <a name="comp-general.gettext">
+      <div class="question"><p><b>Q6.23: Whenever I try to build from source, 
Fink keeps waffling between <tt style="white-space: nowrap;">gettext-dev</tt> 
and <tt style="white-space: nowrap;">libgettext3-dev</tt>.</b></p></div>
+      <div class="answer"><p><b>A:</b> Some packages that need <tt 
style="white-space: nowrap;">gettext</tt> headers to build have been updated to 
use <tt style="white-space: nowrap;">libgettext3-dev</tt> and some still use 
<tt style="white-space: nowrap;">gettext-dev</tt>.  Consequently, Fink may try 
to switch to whichever one isn't currently installed in order to satisfy a 
build dependency for some package that you're trying to update.  In addition, 
the <tt style="white-space: nowrap;">fink </tt>tool treats <tt 
style="white-space: nowrap;">gettext-dev</tt> as essential, and will install it 
any time you selfupdate.</p><p>Similar behavior can happen for other pairs of 
packages, too. </p><p>Unfortunately, due to limitations in the build-dependency 
engine, you may find that your build bombs because you've swapped in one of 
these but some later package in your build chain wants the other one.  You can 
proceed by repeating your update command again.</p><p>A permanent fix should 
 hopefully be available in <tt style="white-space: 
nowrap;">fink-0.2.5</tt>.</p></div>
+    </a>
+    <a name="comp-general.python-mods">
+      <div class="question"><p><b>Q6.24: I get errors involving <tt 
style="white-space: nowrap;">MACOSX_DEPLOYMENT_TARGET </tt>when I try to build 
a Python module.</b></p></div>
+      <div class="answer"><p><b>A:</b> For errors that look like the 
following:</p><pre>running build
+running build_ext
+Traceback (most recent call last):
+  File "setup_socket_ssl.py", line 21, in ?
+    depends = ['socketmodule.h'] )
+  File "/sw/src/root-python24-2.4.1-1/sw/lib/python2.4/distutils/core.py", 
line 166, in setup
+SystemExit: error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.3" 
during configure
+### execution of /sw/bin/python2.4 failed, exit code 1</pre><p>the problem 
occurs because the <tt style="white-space: nowrap;">python2*</tt> packages 
write the current <tt style="white-space: 
nowrap;">MACOSX_DEPLOYMENT_TARGET</tt> to a configuration file when they're 
built and the python build utilities use this value when compiling modules. 
This means that if you have, for example, a <tt style="white-space: 
nowrap;">python24</tt> package on 10.4 that was built on 10.3, either by 
upgrading 10.3 =&gt; 10.4, or via the <b>10.4-transitional</b> binary 
distribution, in which <tt style="white-space: nowrap;">python24</tt> wasn't 
rebuilt, there will be a mismatch between what python thinks <tt 
style="white-space: nowrap;">MACOSX_DEPLOYMENT_TARGET</tt> should be (10.3) and 
what it actually is (10.4).</p><p>The fix is to rebuild the offending <tt 
style="white-space: nowrap;">python</tt> package, e.g. <tt style="white-space: 
nowrap;">fink rebuild python24</tt> for the case above.</p>
 </div>
+    </a>
   <h2><a name="comp-packages">7 Compile Problems - Specific Packages</a></h2>
     
     
@@ -1473,4 +1488,4 @@
 provided the document and this copyright notice remain complete and
 unmodified. Any commercial reproduction and any online publication
 requires the explicit consent of the author.</p><hr>
-<p>Generated from <i>$Fink: faq.en.xml,v 1.51 2005/06/22 13:36:11 alexkhansen 
Exp $</i></p></body></html>
+<p>Generated from <i>$Fink: faq.en.xml,v 1.52 2005/07/08 00:50:06 alexkhansen 
Exp $</i></p></body></html>



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to