Difference between revisions of "Guile"

From CBLFS
Jump to navigationJump to search
 
(11 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://ftp.gnu.org/pub/gnu/guile/guile-1.8.0.tar.gz
+
| http://ftp.gnu.org/pub/gnu/guile/guile-{{Guile-Version}}.tar.gz
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/guile/guile-1.8.0-64bit_fix-1.patch
 
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|Guile is a library designed to help programmers create flexible applications. Using Guile in an application allows programmers to write plug-ins, or modules (there are many names, but the concept is essentially the same) and users to use them to have an application fit their needs.|http://www.gnu.org/software/guile/guile.html}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 21: Line 20:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../guile-1.8.0-64bit_fix-1.patch &&
 
 
  ./configure --prefix=/usr --with-threads &&
 
  ./configure --prefix=/usr --with-threads &&
 
  make
 
  make
Line 35: Line 33:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../guile-1.8.0-64bit_fix-1.patch &&
 
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-threads &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-threads &&
 
  make
 
  make
Line 42: Line 39:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/guile-config{,-32}
+
  mv -v /usr/bin/guile-config{,-32} &&
 +
mv -v /usr/bin/guile{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 48: Line 46:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../guile-1.8.0-64bit_fix-1.patch &&
 
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --with-threads \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --with-threads \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
Line 56: Line 53:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/guile-config{,-n32}
+
  mv -v /usr/bin/guile-config{,-n32} &&
 +
mv -v /usr/bin/guile{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 62: Line 60:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../guile-1.8.0-64bit_fix-1.patch &&
 
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-threads\
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-threads\
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
Line 71: Line 68:
 
  make install &&
 
  make install &&
 
  mv -v /usr/bin/guile-config{,-64} &&
 
  mv -v /usr/bin/guile-config{,-64} &&
  ln -sfv multiarch_wrapper /usr/bin/guile-config
+
  ln -sfv multiarch_wrapper /usr/bin/guile-config &&
 +
mv -v /usr/bin/guile{,-64} &&
 +
ln -sfv multiarch_wrapper /usr/bin/guile
 +
 
 +
[[Category:Programming]]

Latest revision as of 15:58, 19 March 2009

Download Source: http://ftp.gnu.org/pub/gnu/guile/guile-1.8.7.tar.gz

Introduction to Guile

Guile is a library designed to help programmers create flexible applications. Using Guile in an application allows programmers to write plug-ins, or modules (there are many names, but the concept is essentially the same) and users to use them to have an application fit their needs.

Project Homepage: http://www.gnu.org/software/guile/guile.html

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --with-threads &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-threads &&
make

Install the package

make install &&
mv -v /usr/bin/guile-config{,-32} &&
mv -v /usr/bin/guile{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --with-threads \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/guile-config{,-n32} &&
mv -v /usr/bin/guile{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-threads\
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/guile-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/guile-config &&
mv -v /usr/bin/guile{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/guile
Retrieved from "?title=Guile&oldid=17622"