[SOLVED] How to do a local install?

"Walter Dnes" <waltdnes-SLHPyeZ9y/[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Thu, Jan 22, 2015 at 12:15:13PM +1300, James C wrote
> Hello Walter (via the list, for future readers' reference),
> 
> I think that I'm succeeding in doing what you want.
> 
> I did it with configure options, which I keep in a very small shell script:
> 
> -----
> ./configure --prefix=/Users/jamescone/buildTrees --enable-ssl
> --enable-dependency-tracking
> -----
> 
> I also have a very small shell script for setting the build environment:
> 
> --------
> export CFLAGS="-I/opt/local/include -g"
> export CXXFLAGS="$CFLAGS -g"
> 
> export LDFLAGS="-L/opt/local/lib -g"
> 
> export PS1='$(echo $PWD\$\  | sed -e "
> s#.*versions/##
> s#/dillo-jfw01/#:#
> ")'
> --------
> 
> Related to the PS1 bit, I have a christmas tree of versions, to try to
> keep a variety of partially-done patches separate.  Somewhere in my
> path, there is a /versions/ subdirectory, and it shows me the
> subdirectory inside that, and the path inside the hg checkout.  I
> started doing that because I was making too many mistakes, doing
> things to the wrong subtree.

  Thanks very much.  I'm up and running and Dillo comes up with the
"Welcome to Dillo 3.1-dev" splash screen.  Now to copy over some
settings from my previous dillorc, and start surfing, and (hopefully not
too much) bug reporting.  For future reference, my build script goes
like so...


#!/bin/bash
# hg clone http://hg.dillo.org/dillo dillo3
cd /home/waltdnes/dillo/dillo3
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
CXXFLAGS=${CFLAGS}
make clean
git pull
./autogen.sh
./configure \
  --prefix=/home/waltdnes/.local \
  --enable-ssl \
  --disable-ipv6 \
  --enable-cookies \
  --enable-png \
  --enable-jpg \
  --enable-gif \
  --enable-threaded-dns \
  --enable-dependency-tracking
make
make install-strip

  To accomadate the "--prefix=/home/waltdnes/.local" I've added
"/home/waltdnes/.local/bin" to my PATH.

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.