demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-dev] Re: [Wdialog-users] Quick notes to install WDialog on Debia


From: Eric Stokes
Subject: [Demexp-dev] Re: [Wdialog-users] Quick notes to install WDialog on Debian Sarge
Date: Mon, 15 Aug 2005 08:30:09 -0700

This is nice :-) would you consider allowing us to put it up somewhere, or doing so yourself?

On Aug 13, 2005, at 7:45 AM, David MENTRE wrote:

Hello,

Please find below some notes to install WDialog on a Debian Sarge. I've
not done much except checking that WDialog basic adder works.

I'm used to have write rights on /usr/local/ for my account. You might
need to be root to make installs in the following.


Quick notes to install WDialog on a Debian Sarge
================================================

1. Install dependencies

# apt-get install ocaml-native-compilers ocaml-nox \
                  ocaml-findlib libpcre-ocaml-dev \
                  libocamlnet-ocaml-dev ocaml-ulex libpxp-ocaml-dev \
                  librpc-ocaml-dev


2. Install Inifiles

$ wget -c http://www.csun.edu/~eric/inifiles-1.1.tar.gz

$ tar zxvf inifiles-1.1.tar.gz

$ cd inifiles-1.1

$ make && make opt

$ make install


3. Install WDialog

$ wget -c http://ovh.dl.sourceforge.net/sourceforge/wdialog/ wdialog-2.1.tar.gz

$ tar zxvf wdialog-2.1.tar.gz

$ cd wdialog-2.1

$ ./configure

$ make all && make opt

$ make install


[ Note: note getting inifiles and using ./configure
        -without-wd-session-daemon is probably sufficient for normal
        install. I don't know what this wd-session-daemon is. :) ]


4. Test that it works

[ I suppose that you have apache configured and running on localhost. ]

$ vi /etc/apache/httpd.conf

Modify <IfModule mod_alias.c> section to execute CGI scripts in
/usr/local/lib/cgi-bin/.

<IfModule mod_alias.c>
    ScriptAlias /cgi-bin/ /usr/local/lib/cgi-bin/

#
# "/usr/lib/cgi-bin" could be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
    <Directory /usr/lib/local/cgi-bin/>
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>
</IfModule>

$ mkdir /usr/local/lib/cgi-bin/

# /etc/init.d/apache restart

$ cp -a wdialog-2.1/examples/adder /usr/local/lib/cgi-bin/

$ vi /usr/local/lib/cgi-bin/adder/index.cgi

Modify the exec line into:
exec /usr/bin/ocaml "$0" "$@"

Point your browser to: http://localhost/cgi-bin/adder/index.cgi

You should be able to run the wonderful Ultimative Adder. :)


Yours,
d.
--
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/ bsce5sf
_______________________________________________
Wdialog-users mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/wdialog-users






reply via email to

[Prev in Thread] Current Thread [Next in Thread]