[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]

Re: make install errors



Actually it sounds to me like httpget is compiling successfully.  Try creating
the directory  /usr/local/www/webglimpse/cgi-bin by hand, and making sure it is
writable by the user you are installing as.

Do NOT run make or make install from the webglimpse directory.  The only
installation command you should need to run is

	./wginstall

This will call the wginstall.pl script, which will compile httpget (and it
looks from the printout below like it compiles successfully)

--G


On Fri, 14 Jul 2000, Harry Putnam wrote:
> [posted to wgusers list and freebsd-ports]
> 
> This problem seems to be related specifally to FreeBSD OS.  As I've
> been able to make and install on linux OS.  The version involved here
> is: webglimpse-1.6.src.tar.gz    A port to FreeBSD.
> 
> 
> Running FreeBSD 4.0 snapshoot 06/24
> 
> I've about given up on the complexities of FreeWAIS as a local search
> engine and wanted to try webglimpse as an alternative.
> 
> In the ports directory /usr/ports/www/webglimpse, the `make' goes off
> with out a whimper, but `make install' fails loudly with:
> 
> 
>    bsd # make
>    ===>  Extracting for webglimpse-1.6
>    >> Checksum OK for webglimpse-1.6.src.tar.gz.
>    ===>  Patching for webglimpse-1.6
>    ===>  Applying FreeBSD patches for webglimpse-1.6
>    ===>  Configuring for webglimpse-1.6
> 
>    cd /usr/ports/www/webglimpse/work/webglimpse-1.6.edu; /bin/cp
>    wginstall wginstall.tmp; /usr/bin/sed s=%PERL%=/usr/bin/perl= <
>    wginstall.tmp > wginstall cd
>    /usr/ports/www/webglimpse/work/webglimpse-1.6.edu; /bin/cp
>    wginstall.pl wginstall.pl.tmp; /usr/bin/sed s=%PERL%=/usr/bin/perl=
>    < wginstall.pl.tmp > wginstall.pl
> 
>    # ls /usr/local
>    Acrobat4                cvsroot                 mailcrypt-3.5.1
>    CVS                     etc                     man
>    Patches                 freeWAIS-sf-2.2.13      pgnus
>    SFgate-5.111            fvwm-2.3.20             sbin
>    Wais-2.315              glimpse-4.12.5          share
>    agrep                   i386-portbld-freebsd3.3 ssh-1.2.27
>    bbdb-2.2                include                 tar
>    bin                     info                    tramp
>    builds                  lib                     w3-4.0pre.46
>    cvs.t                   libexec
>    root@satellite /usr/ports/www/webglimpse
>    bsd # make install
>    ===>  Installing for webglimpse-1.6
>    ===>   webglimpse-1.6 depends on file: /usr/local/etc/apache/httpd.conf - found
>    ===>   webglimpse-1.6 depends on executable: glimpse - found
>    install -d -o root -g wheel -m 755  /usr/local/www/webglimpse
>    cd /usr/ports/www/webglimpse/work/webglimpse-1.6.edu; ./wginstall
>    Using /usr/bin/perl
>    This is Webglimpse version 1.6 installation script
>    For documentation see http://glimpse.cs.arizona.edu/webglimpse/install.html
>    
>    Found Glimpse v4.12,. Good.
>    Please enter the domain name for this server: [satellite.local.lan]:
>    
>    Using Document Root of "/usr/local/www/data"
>    
>    Created configuration file /usr/local/www/webglimpse/.wgsiteconf
>    You can edit the contents of this file by hand if necessary
>    See /usr/local/www/webglimpse/example.wgsiteconf for a documented example.
>    
>    -----------------------------------------------------
>    perl: /usr/bin/perl
>    gunzip: /usr/bin/gunzip
>    cat: /bin/cat
>    
>    glimpse: /usr/local/bin/glimpse
>    glimpseindex: /usr/local/bin/glimpseindex
>    
>    WebGlimpse Home Directory: /usr/local/www/webglimpse
>    An existing cgi-bin directory: "/usr/local/www/cgi-bin/"
>    cgi-bin *relative* URL: cgi-bin
>    -----------------------------------------------------
>    Trying to build httpget...
>    cc -O -pipe -s -o lib/httpget lib/httpget.c
>    cc -O -pipe -s -o lib/html2txt lib/html2txt.c
>    BUILD SUCCESSFUL.
>    ERROR - Aborting install. Cannot create directory "/usr/local/www/cgi-bin/"
>    *** Error code 2
>    
>    Stop in /usr/ports/www/webglimpse.
>    *** Error code 1
>    
>    Stop in /usr/ports/www/webglimpse.
>    *** Error code 1
>    
>    Stop in /usr/ports/www/webglimpse.
>    
> 
> I'm not that clear on how the ports mechanism works so don't have much
> of a clue where to begin debugging this.
> 
> The base directories /usr/local/www and /usr/local/www/webglimpse are
> created by the install and have some files in them:
> 
> ls -F /usr/local/www/webglimpse/ :
> .wgsiteconf     dist/           lib/
> 
> But it fails to create /usr/local/www/webglimpse/cgi-bin
> 
> The initial `make' and `make install'  created the /usr/local/www and
> populated it with:
> 
> ls /usr/local/www/web*
> .wgsiteconf     dist            lib
> 
> I have apache-1.3.12 installed but have not configured it.  Might this
> be why `makeing' httpget is failing.
-- 
------------------------------------------------------------
Golda Velez         gvelez@iwhome.com	        520-620-6878
Internet Workshop                          http://iwhome.com
Webglimpse Search Software             http://webglimpse.net
		~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Help organize the world - index your own corner of the web