Update of /cvsroot/fink/scripts/installer/dmg/faq
In directory 
fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24731/scripts/installer/dmg/faq

Modified Files:
        faq.en.html faq.pt.html 
Log Message:
Adds path-prefix-10.6 to FAQ entry compile myself.


Index: faq.en.html
===================================================================
RCS file: /cvsroot/fink/scripts/installer/dmg/faq/faq.en.html,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -d -r1.103 -r1.104
--- faq.en.html 17 Sep 2009 02:31:55 -0000      1.103
+++ faq.en.html 17 Oct 2009 23:44:31 -0000      1.104
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <!--
-Generated from $Fink: faq.en.xml,v 1.103 2009/09/17 02:28:55 monipol Exp $
+Generated from $Fink: faq.en.xml,v 1.104 2009/10/17 23:42:51 monipol Exp $
 -->
 <title>Fink Documentation - The Fink F.A.Q.</title></head><body>
 <table width="100%" cellspacing="0">
@@ -1096,20 +1096,23 @@
         software?</b></p></div>
       <div class="answer"><p><b>A:</b> When compiling something yourself 
outside of Fink, the compiler and
         linker need to be told where to find the Fink-installed libraries and
-        headers. For a package that uses standard configure/make process, you
-        need to set some environment variables:</p><p>-tcsh-</p><pre>setenv 
CFLAGS -I/sw/include 
-setenv LDFLAGS -L/sw/lib 
-setenv CXXFLAGS $CFLAGS 
-setenv CPPFLAGS $CXXFLAGS 
-setenv ACLOCAL_FLAGS "-I /sw/share/aclocal"
-setenv PKG_CONFIG_PATH "/sw/lib/pkgconfig"
-setenv MACOSX_DEPLOYMENT_TARGET 10.4</pre><p>-bash-</p><pre>export 
CFLAGS=-I/sw/include 
+               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><pre>export CFLAGS=-I/sw/include 
 export LDFLAGS=-L/sw/lib 
 export CXXFLAGS=$CFLAGS 
 export CPPFLAGS=$CXXFLAGS 
 export ACLOCAL_FLAGS="-I /sw/share/aclocal"
 export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
-export MACOSX_DEPLOYMENT_TARGET=10.4</pre><p>(assuming that the build system 
is running OS 10.4 or later)</p><p>It is often easiest just to add these to 
your startup files (e.g.
+export PATH=/sw/var/lib/fink/path-prefix-10.6:$PATH
+export MACOSX_DEPLOYMENT_TARGET=10.5</pre><p>-tcsh-</p><pre>setenv CFLAGS 
-I/sw/include 
+setenv LDFLAGS -L/sw/lib 
+setenv CXXFLAGS $CFLAGS 
+setenv CPPFLAGS $CXXFLAGS 
+setenv ACLOCAL_FLAGS "-I /sw/share/aclocal"
+setenv PKG_CONFIG_PATH "/sw/lib/pkgconfig"
+setenv PATH /sw/var/lib/fink/path-prefix-10.6:$PATH
+setenv MACOSX_DEPLOYMENT_TARGET 10.5</pre><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.
         <tt style="white-space: nowrap;">.cshrc</tt> | <tt style="white-space: 
nowrap;">.profile</tt>) 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
@@ -1432,4 +1435,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.103 2009/09/17 02:28:55 monipol Exp 
$</i></p></body></html>
+<p>Generated from <i>$Fink: faq.en.xml,v 1.104 2009/10/17 23:42:51 monipol Exp 
$</i></p></body></html>

Index: faq.pt.html
===================================================================
RCS file: /cvsroot/fink/scripts/installer/dmg/faq/faq.pt.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- faq.pt.html 17 Sep 2009 02:31:55 -0000      1.5
+++ faq.pt.html 17 Oct 2009 23:44:31 -0000      1.6
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
 <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <!--
-Generated from $Fink: faq.pt.xml,v 1.7 2009/09/17 02:28:55 monipol Exp $
+Generated from $Fink: faq.pt.xml,v 1.8 2009/10/17 23:42:51 monipol Exp $
 -->
 <title>Fink Documentation - Perguntas frequentes sobre o 
Fink</title></head><body>
 <table width="100%" cellspacing="0">
@@ -1412,21 +1412,24 @@
         Fink?</b></p></div>
       <div class="answer"><p><b>A:</b> 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. Para um pacote que use o processo
-        configure/make padrão, você precisa definir algumas variáveis 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>-bash-</p><pre>export CFLAGS=-I/sw/include 
 export LDFLAGS=-L/sw/lib 
 export CXXFLAGS=$CFLAGS 
 export CPPFLAGS=$CXXFLAGS 
 export ACLOCAL_FLAGS="-I /sw/share/aclocal"
 export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
-export MACOSX_DEPLOYMENT_TARGET=10.4</pre><p>-tcsh-</p><pre>setenv CFLAGS 
-I/sw/include 
+export PATH=/sw/var/lib/fink/path-prefix-10.6:$PATH
+export MACOSX_DEPLOYMENT_TARGET=10.5</pre><p>-tcsh-</p><pre>setenv CFLAGS 
-I/sw/include 
 setenv LDFLAGS -L/sw/lib 
 setenv CXXFLAGS $CFLAGS 
 setenv CPPFLAGS $CXXFLAGS 
 setenv ACLOCAL_FLAGS "-I /sw/share/aclocal"
 setenv PKG_CONFIG_PATH "/sw/lib/pkgconfig"
-setenv MACOSX_DEPLOYMENT_TARGET 10.4</pre><p>Normalmente é mais fácil 
adicionar essas definições ao seu arquivo
+setenv PATH /sw/var/lib/fink/path-prefix-10.6:$PATH
+setenv MACOSX_DEPLOYMENT_TARGET 10.5</pre><p>Normalmente é mais fácil 
adicionar essas definições ao seu arquivo
         de inicialização do shell (<tt style="white-space: 
nowrap;">.profile</tt> |
         <tt style="white-space: nowrap;">.cshrc</tt>) para que as variáveis 
sejam definidas
         automaticamente. Se um pacote não usa essas variáveis, você 
precisará
@@ -1756,4 +1759,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.pt.xml,v 1.7 2009/09/17 02:28:55 monipol Exp 
$</i></p></body></html>
+<p>Generated from <i>$Fink: faq.pt.xml,v 1.8 2009/10/17 23:42:51 monipol Exp 
$</i></p></body></html>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to