Skip site navigation (1)Skip section navigation (2)
Date:      14 Jul 2000 03:41:00 -0700
From:      Harry Putnam <reader@newsguy.com>
To:        wgusers@tucson.com
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   make install errors
Message-ID:  <m2g0pdhu4j.fsf@reader.ptw.com>

next in thread | raw e-mail | index | archive | help
[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.
















To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2g0pdhu4j.fsf>