[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Here's how I am building lynx2-8-4 with ncurses on Cygwin under
From: |
Malcolm Boekhoff |
Subject: |
lynx-dev Here's how I am building lynx2-8-4 with ncurses on Cygwin under NT4 |
Date: |
Thu, 1 Mar 2001 12:31:08 -0000 |
#!/bin/sh
# Extract the files:
#
# cd /
# tar xzf /d/mcb/download/lynx/current/lynx2.8.4dev.18.tar.gz
# Execute this script like this:
#
# sh -x ~/bin/makeLynx.sh -f 2>&1 | tee /tmp/lynx.log
# Make a link from "gawk" to "awk" (awk is used in one of the scripts).
if [ ! -h /bin/awk.exe ]; then
rm -f /bin/awk.exe
ln -s /bin/gawk.exe /bin/awk.exe
fi
cd /lynx2-8-4
# Parse command-line options.
FULL=0
SHOPT=
for option
do
case $option in
-f) FULL=1;;
-x) SHOPT=-x;;
esac
done
# Configure seems to have a problem when PATHs contain spaces.
PATH=`echo $PATH | tr : \\\\n | tr [A-Z] [a-z] | sed "/program files/d" | tr
\\\\n :`; export PATH
# Unfortunately, "make install" don't work when "INSTALL" exists!
mv -f INSTALL INSTALL.original
if [ "${FULL}" = "1" ]; then
make distclean
rm -f rm.exe.stackdump
rm -f config.cache
rm -f config.status
rm -f makefile
rm -f lynx_cfg.h
rm -f config.log
rm -f cfg_defs.h
rm -f help_files.sed
rm -f LYHelp.h
find . \( -name '*.o' -o -name '*.a' \) -exec rm {} ";"
# "configure" options
# --------------------
# Usage: configure [options] [host]
# Options: [defaults in brackets after descriptions]
# Configuration:
# --cache-file=FILE cache test results in FILE
# --help print this message
# --no-create do not create output files
# --quiet, --silent do not print `checking...' messages
# --version print the version of autoconf that created
configure
# Directory and file names:
# --prefix=PREFIX install architecture-independent files in
PREFIX
# [/usr/local]
# --exec-prefix=EPREFIX install architecture-dependent files in
EPREFIX
# [same as prefix]
# --bindir=DIR user executables in DIR [EPREFIX/bin]
# --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
# --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
# --datadir=DIR read-only architecture-independent data in DIR
# [PREFIX/share]
# --sysconfdir=DIR read-only single-machine data in DIR
[PREFIX/etc]
# --sharedstatedir=DIR modifiable architecture-independent data in
DIR
# [PREFIX/com]
# --localstatedir=DIR modifiable single-machine data in DIR
[PREFIX/var]
# --libdir=DIR object code libraries in DIR [EPREFIX/lib]
THIS IS WHERE lynx.cfg IS INSTALLED TO!
# --includedir=DIR C header files in DIR [PREFIX/include]
# --oldincludedir=DIR C header files for non-gcc in DIR
[/usr/include]
# --infodir=DIR info documentation in DIR [PREFIX/info]
# --mandir=DIR man documentation in DIR [PREFIX/man]
# --srcdir=DIR find the sources in DIR [configure dir or ..]
# --program-prefix=PREFIX prepend PREFIX to installed program names
# --program-suffix=SUFFIX append SUFFIX to installed program names
# --program-transform-name=PROGRAM
# run sed PROGRAM on installed program names
# Host type:
# --build=BUILD configure for building on BUILD [BUILD=HOST]
# --host=HOST configure for HOST [guessed]
# --target=TARGET configure for TARGET [TARGET=HOST]
# Features and packages:
# --disable-FEATURE do not include FEATURE (same as
--enable-FEATURE=no)
# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
# --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
# --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
# --x-includes=DIR X include files are in DIR
# --x-libraries=DIR X library files are in DIR
# --enable and --with options recognized:
# Development Options:
# --disable-echo display "compiling" commands
# --enable-find-leaks logic for testing memory leaks
# --enable-debug compile w/ debugging (if $CFLAGS is set, add
-g there, too)
# --disable-trace disable logic for trace code
# --enable-warnings GCC compiler warnings
# Basic Configuration Options:
# --enable-nls use Native Language Support
# --with-included-gettext use the GNU gettext library included here
# --with-catgets use catgets functions if available
# --enable-included-msgs use included messages, for i18n support
# --with-nls-datadir=DIR NLS data, parent of locale (default:
PREFIX/DATADIR)
# --disable-full-paths control whether full utility pathnames are
used
# --with-ssl[=path] link with ssl library if available
# --with-socks[=path] link with socks library if available
# --with-socks5[=path] link with socks5 library if available
# --with-screen=XXX select screen type
# (XXX is curses (default), ncurses or slang)
# --with-charsets=list limit charsets to given list of MIME names
# Experimental Options:
# --disable-bibp-urls disable support for bibp: URLs
# --disable-config-info disable browsable configuration-info
# --disable-forms-options disable experimental forms-based options
# --disable-menu-options disable old-style option menu
# --enable-addrlist-page use experimental address-list page
# --enable-charset-choice use experimental charset-selection logic
# --enable-cjk use experimental CJK logic
# --enable-color-style use optional/experimental color style
(ncurses/curses)
# --enable-default-colors enable use of default-colors (ncurses/slang)
# --enable-file-upload use experimental file-upload support
# --enable-htmlized-cfg build experimental htmlized lynx.cfg
# --enable-ipv6 use experimental ipv6 (with ipv4) support
# --enable-justify-elts use experimental element-justification logic
# --enable-kbd-layout use experimental keyboard-layout support
# --enable-libjs use experimental JavaScript support (Mozilla
libjs)
# --enable-prettysrc colorize HTML source
# --enable-read-eta experimental read-progress message shows ETA
# --enable-scrollbar use experimental scrollbar, with mouse
# --enable-source-cache cache HTML source for parse mode changes
# Miscellaneous Options:
# --disable-alt-bindings disable alternative line-edit bindings
# --disable-extended-dtd disable extended HTML DTD logic
# --disable-partial use partial-display logic
# --enable-externs use external commands
# --enable-font-switch use Linux setfont for character-translation
# --enable-cgi-links support cgi links w/o a http daemon
# --enable-change-exec allow users to change exec options
# --enable-exec-links allow lynx to execute programs accessed via a
link
# --enable-exec-scripts allow lynx to execute programs inferred from
a link
# --enable-internal-links handle following links to same doc differently
# --enable-nsl-fork fork NSL requests, allowing them to be aborted
# --enable-syslog log URL requests via syslog
# --disable-persistent-cookies disable persistent-cookie support
# --enable-underlines underline links rather than using boldface
# --enable-gzip-help install gzip'ed help files
# --with-zlib use zlib for decompression of some gzip files
# --disable-finger disable FINGER logic
# --disable-gopher disable GOPHER logic
# --disable-news disable NEWS logic
# --disable-ftp disable FTP logic
# Directory Editor Options:
# --disable-dired disable optional directory-editor, DirEd
# --disable-dired-archive disable dearchiving commands
# --disable-dired-override disable DirEd override keymap
# --disable-dired-permit disable chmod/attrib commands
# --disable-dired-xpermit disable chmod/attrib commands
# --disable-dired-tar disable "tar" command
# --disable-dired-uudecode disable "uudecode" command
# --disable-dired-zip disable "zip", "unzip" commands
# --disable-dired-gzip disable "gzip", "gunzip" commands
# --disable-long-list disable long "ls -l" directory listings
# --disable-parent-dir-refs
# disable "Up-to" links in directory listings
# Special Libraries for PDCurses X11:
# --with-x use the X Window System
# --with-Xaw3d link with Xaw 3d library
# --with-neXtaw link with neXT Athena library
# The "configure" script writes "CPPFLAGS=<value of CPPFLAGS variable" into
the makefile.
# Use "--libdir=/etc/lynx.cfg", if you want lynx.cfg copied to somewhere other
than "/usr/local/lib" by "make install".
CPPFLAGS=-I/usr/include/ncurses sh $SHOPT configure \
--enable-change-exec \
--enable-default-colors \
--enable-exec-links \
--enable-exec-scripts \
--enable-externs \
--enable-gzip-help \
--enable-nsl-fork \
--enable-prettysrc \
--enable-source-cache \
--enable-syslog \
--enable-underlines \
--with-screen=ncurses \
--with-ssl \
--with-zlib \
--disable-full-paths
fi
make
make install
make install-help
make install-doc
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev Here's how I am building lynx2-8-4 with ncurses on Cygwin under NT4,
Malcolm Boekhoff <=