Difference between revisions of "Dialog"

From CBLFS
Jump to navigationJump to search
m
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://hightek.org/dialog/dialog-{{Dialog-Version}}.tar.gz
+
| ftp://ftp.us.debian.org/debian/pool/main/d/dialog/dialog_{{Dialog-Version}}.orig.tar.gz
 
|}
 
|}
  
Line 14: Line 14:
  
 
Compile the package:
 
Compile the package:
   
+
 
 +
  ./configure --prefix=/usr \
 +
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
 
  make
 
  make
  
Install the package:
+
Install the package
  
 
  make install
 
  make install
Line 26: Line 28:
  
 
Compile the package:
 
Compile the package:
 
make CC="gcc ${BUILD32}"
 
  
Install the package:
+
export USE_ARCH=32 &&
 +
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
 +
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
 +
make
  
  make install
+
Install the package
 +
 
 +
  make install &&
 +
unset USE_ARCH
  
 
=== N32 ===
 
=== N32 ===
Line 37: Line 43:
 
Compile the package:
 
Compile the package:
  
  make CC="gcc ${BUILDN32}" LIBDIR=/usr/lib32
+
  export USE_ARCH=n32 &&
 +
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
 +
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
 +
make
  
Install the package:
+
Install the package
  
  make LIBDIR=/usr/lib32 install
+
  make install &&
 +
unset USE_ARCH
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 47: Line 57:
 
Compile the package:
 
Compile the package:
  
  make CC="gcc ${BUILD64}" LIBDIR=/usr/lib64
+
  export USE_ARCH=64 &&
 +
CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr --libdir=/usr/lib64 \
 +
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
 +
make
 +
 
 +
Install the package
 +
 
 +
make install &&
 +
unset USE_ARCH
  
Install the package:
+
= Contents =
  
make LIBDIR=/usr/lib64 install
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| dialog, dialog-config
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libdialog.{a,la,so*}
 +
|-valign="top"
 +
! Installed Directories:
 +
| None
 +
|}

Revision as of 04:25, 25 May 2008

Download Source: ftp://ftp.us.debian.org/debian/pool/main/d/dialog/dialog_1.1-20080819.orig.tar.gz

Introduction to Dialog

Dialog is a utility to create nice user interfaces to shell scripts, or other scripting languages, such as perl. It is non-graphical (it uses curses) so it can be run in the console or an xterm.

Project Homepage: http://hightek.org/dialog

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
unset USE_ARCH

N32

Compile the package:

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
unset USE_ARCH

64Bit

Compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
unset USE_ARCH

Contents

Installed Programs: dialog, dialog-config
Installed Libraries: libdialog.{a,la,so*}
Installed Directories: None
Retrieved from "?title=Dialog&oldid=14299"