[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]
Re: make install errors
Golda Velez <gvelez@iwhome.com> writes:
> 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.
That was my take to, but why can it not make that directory? I tried
the `hand' method you suggest before posting and am running the
commands as root.
The files that do get created look like they have the right
permissions:
drwxr-xr-x 3 root wheel 512 Jul 14 03:57 /usr/local/www
drwxr-xr-x 4 root wheel 512 Jul 14 03:57 www/webglimpse
drwxr-xr-x 2 root wheel 512 Jul 14 03:57 www/webglimpse/dist
drwxr-xr-x 2 root wheel 512 Jul 14 03:57 www/webglimpse/lib
>
> 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)
Sorry it was not clear in my post. The FreeBSD ports mechanism is
where the make and make install are called. The ports mechanism calls
./wginstall. As indicated below with asterisks.
>
> 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.
> >
With the /usr/local/www/cgi-bin directory premade by hand.
bsd # make <=called in /usr/ports/www/webglimpse
===> 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
root@satellite /usr/ports/www/webglimpse
bsd # make install <= called in /usr/ports/www/webglimpse
===> 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.
-----------------------------------------------------
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.
root@satellite /usr/ports/www/webglimpse