Difference between revisions of "Euler"

From CBLFS
Jump to navigationJump to search
(Created page.)
 
Line 12: Line 12:
 
|}
 
|}
  
= Introduction to Euler =
+
== Introduction to Euler ==
 
Euler is a program for computing with real and complex numbers and matrices, or with intervals.  It is similar in style to MatLab or [[Octave]].  It can draw and animate functions in two and three dimensions.
 
Euler is a program for computing with real and complex numbers and matrices, or with intervals.  It is similar in style to MatLab or [[Octave]].  It can draw and animate functions in two and three dimensions.
  
= Dependencies =
+
== Dependencies ==
  
== Required ==
+
=== Required ===
* [[X_Window_System | X Windows]]
+
* [[X_Window_System]]
 
* [[Gtk2]]
 
* [[Gtk2]]
  
= Non-Multilib =
+
== Non-Multilib ==
 +
 
 +
Compile the package:
  
Patch the Euler source files:
 
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch
+
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch &&
 
 
Compile the Euler package:
 
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
  
Install the Euler package:
+
Install the package:
 +
 
 
  make install
 
  make install
  
= Multilib =
+
== Multilib ==
  
 
== 32Bit ==
 
== 32Bit ==
  
Patch the Euler source files:
+
Compile the Euler package:
 +
 
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch
+
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch &&
 +
CC="gcc ${BUILD32}" USE_ARCH=32 \
 +
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \
 +
./configure --prefix=/usr &&
 +
make
  
Compile the Euler package:
+
Install the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
make
 
  
Install the Euler package:
 
 
  make install
 
  make install
  
== N32 ==
+
=== N32 ===
 +
 
 +
Compile the Euler package:
  
Patch the Euler source files:
 
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch
+
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch &&
 +
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 +
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \
 +
./configure --prefix=/usr &&
 +
make
  
Compile the Euler package:
+
Install the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr &&
 
make
 
  
Install the Euler package:
 
 
  make install
 
  make install
  
== 64Bit ==
+
=== 64Bit ===
 +
 
 +
Compile the Euler package:
  
Patch the Euler source files:
 
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
 
  patch -Np1 -i ../euler-{{Euler-Version}}-glibc-2.4-1.patch &&
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch
+
  patch -Np1 -i ../euler-{{Euler-Version}}-command-gcc4-1.patch &&
 +
CC="gcc ${BUILD64}" USE_ARCH=64 \
 +
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \
 +
./configure --prefix=/usr &&
 +
make
  
Compile the Euler package:
+
Install the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr &&
 
make
 
  
Install the Euler package:
 
 
  make install
 
  make install
  

Revision as of 12:32, 26 December 2006

Download Source:

http://downloads.sourceforge.net/euler/euler-1.61.0.tgz

Download Patch: http://svn.cross-lfs.org/svn/repos/patches/euler-1.61.0/euler-1.61.0-glibc-2.4-1.patch
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/euler-1.61.0/euler-1.61.0-command-gcc4-1.patch

Introduction to Euler

Euler is a program for computing with real and complex numbers and matrices, or with intervals. It is similar in style to MatLab or Octave. It can draw and animate functions in two and three dimensions.

Dependencies

Required

Non-Multilib

Compile the package:

patch -Np1 -i ../euler-1.61.0-glibc-2.4-1.patch &&
patch -Np1 -i ../euler-1.61.0-command-gcc4-1.patch &&
./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the Euler package:

patch -Np1 -i ../euler-1.61.0-glibc-2.4-1.patch &&
patch -Np1 -i ../euler-1.61.0-command-gcc4-1.patch &&
CC="gcc ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the Euler package:

patch -Np1 -i ../euler-1.61.0-glibc-2.4-1.patch &&
patch -Np1 -i ../euler-1.61.0-command-gcc4-1.patch &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \
./configure --prefix=/usr &&
make

Install the package:

make install

64Bit

Compile the Euler package:

patch -Np1 -i ../euler-1.61.0-glibc-2.4-1.patch &&
patch -Np1 -i ../euler-1.61.0-command-gcc4-1.patch &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \
./configure --prefix=/usr &&
make

Install the package:

make install

Contents

Installed Programs: Euler

Short Description

Euler: The Euler binery.
Retrieved from "?title=Euler&oldid=6371"