Fwd: [cvs] web/xml/faq faq.en.xml,1.103,1.104
monipol <[email protected]> Sat, 17 Oct 2009 20:58:20 -0300
| Newsgroups | gmane.os.apple.fink.i18n |
|---|---|
| Message-ID | <[email protected]> |
FYI Begin forwarded message: > From: monipol > Date: 17 de outubro de 2009 20h42min53s GMT-03:00 > To: [email protected] > Subject: [cvs] web/xml/faq faq.en.xml,1.103,1.104 faq.pt.xml,1.7,1.8 > Reply-To: [email protected] > > Update of /cvsroot/fink/web/xml/faq > In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24393 > > Modified Files: > faq.en.xml faq.pt.xml > Log Message: > Adds path-prefix-10.6 to FAQ entry compile myself. > > > Index: faq.en.xml > =================================================================== > RCS file: /cvsroot/fink/web/xml/faq/faq.en.xml,v > retrieving revision 1.103 > retrieving revision 1.104 > diff -u -d -r1.103 -r1.104 > --- faq.en.xml 17 Sep 2009 02:28:55 -0000 1.103 > +++ faq.en.xml 17 Oct 2009 23:42:51 -0000 1.104 > @@ -1632,16 +1632,9 @@ > <!-- 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. For a package that uses standard configure/make > process, you > - need to set some environment variables:</p> > - <p>-tcsh-</p> > - <codeblock>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</codeblock> > + 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 > @@ -1649,8 +1642,18 @@ > export CPPFLAGS=$CXXFLAGS > export ACLOCAL_FLAGS="-I /sw/share/aclocal" > export PKG_CONFIG_PATH="/sw/lib/pkgconfig" > -export MACOSX_DEPLOYMENT_TARGET=10.4</codeblock> > - <p>(assuming that the build system is running OS 10.4 or later)</p> > +export PATH=/sw/var/lib/fink/path-prefix-10.6:$PATH > +export MACOSX_DEPLOYMENT_TARGET=10.5</codeblock> > + <p>-tcsh-</p> > + <codeblock>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</codeblock> > + <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 ------------------------------------------------------------------------------ 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