wwwoffle-win32  

Re: [WWWOFFLE-Win32] Cygwin and WWWOFFLE

Andrew M. Bishop
Thu, 23 Aug 2001 21:40:28 -0700

Rolf Leggewie <[EMAIL PROTECTED]> wrote:
> is there anybody on the list that uses WWWOFFLE straight from Cygwin ? 
> 
> I had trouble with the precompiled version for Windows so I downloaded
> Cygwin.  Not being a Linux techie ;-) I am having trouble to get Cygwin
> do much of anything.  I'd appreciate some help on just getting the
> program to run in Cygwin from a more experienced user.  Thank you.

I have used cygwin to compile WWWOFFLE, but I no longer have access to
a cygwin system.  The steps that you need to follow are:

1) Install cygwin - this should be easy with the new user friendly
   setup program.

2) Download the WWWOFFLE source code - make sure that your browser
   does not corrupt the file by trying to convert UNIX end-of-line to
   DOS end-of-line.  Put the file wwwoffle-2.6d.tgz in c:\temp.

3) Start cygwin - select the icon that was installed, it should give
   you a UNIX command prompt.

4) Make sure that you can see c:\temp from cygwin - run the command
   'df' and see if c: or c:\temp is listed  You might expect to see a
   line like

        c:/temp         xxxx    yyyy    zzzz    /tmp

   this shows that c:\temp is mounted as the UNIX path /tmp.
   if you don't get this then run the command below (use '/' not '\').

        mount c:/temp /tmp

5) Unpack the WWWOFFLE source - this will create a directory called
   wwwoffle-2.6d

        cd /tmp
        tar -xvzf wwwoffle-2.6d.tgz

6) Edit the file c:\temp\wwwoffle-2.6d\Makefile and make the changes
   that it says you need (remove the '#' before the Cygwin bits and
   place them before the UNIX bits).  Use a DOS editor that
   understands the UNIX line ending characters (not notepad, try
   wordpad or PFE)

7) Compile the program

        cd wwwoffle-2.6d
        make

8) Install the program - first create the c:\wwwoffle directory using
   DOS then make it visible from cygwin

        mount c:/wwwoffle /wwwoffle

        make install_win32


This should be everything.  There are changes to cygwin since I last
used it, previously the c: disk was visible as the UNIX root directory
'/' and all directories below it were automatically available.  I
don't think that this is the case now.


-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.6/user.html