Build from source: Difference between revisions

67 bytes removed ,  23 November 2011
m
Fixing links
m (moved Compile From Source to Build From Source: Better title, and same as original)
m (Fixing links)
Line 56: Line 56:
==Download==
==Download==


Released source tarballs are available at [http://www.octave.org/download.html]. You will normally want to use one of those.
Released source tarballs are available at http://www.octave.org/download.html. You will normally want to use one of those.


The download page also contains instructions to download the development sources. If you are using the development sources, be sure to type the following command before configuring:
The download page also contains instructions to download the development sources. If you are using the development sources, be sure to type the following command before configuring:
Line 101: Line 101:
  configure: WARNING: to use any of Octave's plotting commands
  configure: WARNING: to use any of Octave's plotting commands


It may help to call configure with CPPFLAGS=-I/usr/include/freetype2, please see [http://www-old.cae.wisc.edu/pipermail/help-octave/2008-August/010610.html [http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2008-September/008620.html Problems with FTGL building octave-3.1.51],[Building ftgl backend with current tip]. Note that from [http://hg.savannah.gnu.org/hgweb/octave/rev/37afdd1d1bf8 changeset 8269] onward, this workaround should no longer be needed, please see [http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2008-October/009154.html No FTGL, says configure script?]
It may help to call configure with CPPFLAGS=-I/usr/include/freetype2, please see [http://www-old.cae.wisc.edu/pipermail/help-octave/2008-August/010610.html Problems with FTGL building octave-3.1.51],[http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2008-September/008620.html Building ftgl backend with current tip]. Note that from [http://hg.savannah.gnu.org/hgweb/octave/rev/37afdd1d1bf8 changeset 8269] onward, this workaround should no longer be needed, please see [http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2008-October/009154.html No FTGL, says configure script?]


=Build=
=Build=
Line 111: Line 111:
Another possible error occurs at the 'make' stage:
Another possible error occurs at the 'make' stage:


  /usr/include/c++/3.3.1/bits/basic_string.h:228: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
  /usr/include/c++/3.3.1/bits/basic_string.h:228: undefined reference to  
    `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
  collect2: ld returned 1 exit status
  collect2: ld returned 1 exit status
  make[2]: *** [octave] Error 1
  make[2]: *** [octave] Error 1
Line 142: Line 143:
  runtest <part>.exp
  runtest <part>.exp


To run your own tests use the [http://wiki.octave.org/wiki.pl? RunInPlace] shell script.
To run your own tests use the [[RunInPlace]] shell script.


=Install=
=Install=
Line 150: Line 151:
=System Specific Instructions=
=System Specific Instructions=


[http://wiki.octave.org/wiki.pl?PaulKienzleIrixConf SGI/IRIX]
*[[PaulKienzleIrixConf|SGI/IRIX]]
*[[Octave for Mac|Mac OS X]]
*[[Octave_for_GNU_Linux:_Binary_Octave_packages_for_GNU_Linux#Debian_Development_Sources|Debian]]


[http://wiki.octave.org/wiki.pl?OctaveForMac Mac OS X]
[http://wiki.octave.org/wiki.pl?OctaveForGNULinux#DebianDevelopmentSources Debian]


=Distributed building=
=Distributed building=