[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:27 Jan 2004 21:44:53 -0800 
Subject:bug report [was] Re: help: POPLINK: CAN'T OPEN FILE 
From:someone 
Volume-ID: 

A.Sloman@cs.bham.ac.uk (Aaron Sloman) wrote in message news:<bv5bf7$oph$1@soapbox.cs.bham.ac.uk>...
> someanon@yahoo.com (someone) writes:
> 
> > Date: 26 Jan 2004 23:50:46 -0800
> >
> > A clean install.  Can anyone tell me what's the problem?
> > ...
> > $ poplog popc hello.p
> >
> > ;;; MISHAP - POPLINK: CAN'T OPEN FILE (Invalid directory)
> > ;;; INVOLVING:  '$usepop/pop/src/src.wlb'

Thanks for your info.

Finally I found the problem:

1) for a clean install, src.wlb is locate at: $usepop/pop/obj/src.wlb

I have to create a symbolic link manually:

ls -l $usepop/pop/src/src.wlb
lrwxrwxrwx    1 root     root           14 2004-01-27 20:37
/usr/local/poplog/current.poplog/pop/src/src.wlb -> ../obj/src.wlb

Can you modify the installation script to do this automatically?


2)  this one is more hard to find: 

I'm using

$ echo $SHELL
/bin/bash

It seems inside popc/ or poplink, the env var ($usepop) is not
expanded, it use it literally as:

readlink("$usepop/pop/src/src.wlb", 0xbfff8028, 760) = -1 ENOENT (No
such file or directory)
open("$usepop/pop/src/src.wlb", O_RDONLY) = -1 ENOENT (No such file or
directory)

so I create another funny symlink in the current dir:

$ ln -s /usr/local/poplog/current.poplog \$usepop

Now everything works.


Hope you can fix these 2 problems.