yap-5.1.3 install problem

View: New views
4 Messages — Rating Filter:   Alert me  

yap-5.1.3 install problem

by Jean-François Mertens :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Trying to fix a port to MacOSX
(with plain configure parameters for the moment,
including --prefix=foo), I get at the install phase,
with "make DESTDIR=bar install install_info",
the following error:

> cd LGPL/chr ; make install)
> ../../yap ../../startup -f -l chr_swi_bootstrap.yap \
>      -g "chr_compile_step1('../../../LGPL/chr/
> chr_translate_bootstrap1.chr','chr_translate_bootstrap1.pl'),halt." \
>      -z 'halt(1).'
> % Restoring file /sw/bld/yap-5.1.3-1/Yap-5.1.3/darwin/startup
> YAP version Yap-5.1.3
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/darwin/LGPL/chr/
> chr_swi_bootstrap.yap, near line 6.
>     PERMISSION ERROR- use_module(library(swi)): cannot read from  
> library(swi)
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> chr_swi_bootstrap.pl, near line 43.
>     PERMISSION ERROR- load_files(library(swi),
> [silent(true),if(not_loaded)]): cannot read from library(swi)
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> chr_swi_bootstrap.pl, near line 45.
>     PERMISSION ERROR- use_module(library(listing)): cannot read from  
> library(listing)
> % reconsulting /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> chr_translate_bootstrap.pl...
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> chr_translate_bootstrap.pl, near line 124.
>     PERMISSION ERROR- use_module(library(lists),[member/2,append/
> 3,append/2,permutation/2,reverse/2]): cannot read from library(lists)
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> chr_translate_bootstrap.pl, near line 126.
>     PERMISSION ERROR- use_module(library(ordsets)): cannot read from  
> library(ordsets)
>  % reconsulting /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/hprolog.pl...
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> hprolog.pl, near line 27.
>     PERMISSION ERROR- use_module(library(lists)): cannot read from  
> library(lists)
>     ERROR!!  at file /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> hprolog.pl, near line 28.
>     PERMISSION ERROR- use_module(library(assoc)): cannot read from  
> library(assoc)
>  % reconsulted /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/hprolog.pl in  
> module hprolog, 2 msec 9328 bytes
>  % reconsulting /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/pairlist.pl...
>  % reconsulted /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/pairlist.pl in  
> module pairlist, 1 msec 5648 bytes
> % including /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/chr_op.pl...
> % /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/chr_op.pl included in  
> module chr_translate, 0 msec 24 bytes
> % reconsulted /sw/bld/yap-5.1.3-1/Yap-5.1.3/LGPL/chr/
> chr_translate_bootstrap.pl in module chr_translate, 17 msec 164552  
> bytes
> % Translating CHR file /chr_translate_bootstrap1.chr
>     ERROR!!
>     EXISTENCE ERROR- procedure get_time/1 is undefined, called from  
> context  chr:writeheader/2
>                 Goal was chr:get_time(_43904)

Yet the prefix / DESTDIR mechanism seems well handled by the build  
system; files are in their proper place..
Those libraries are in their proper place, both in the builddir
and in DESTDIR/share/Yap, and all permissions on their path are correct,
Further the permissions on those paths are correct.

Looking into the Makefile in arch/LGPL/chr, I see that the variable  
PLBASE was not substituted by config.status :
PLBASE=@PLBASE@
PLARCH=@PLARCH@
So all subsequent macro definitions using PLBASE are junk, but while  
this would affect the uninstall target,
it doesn't affect the install target, as far as I can see ..

If I grep for "Restoring" in the whole build-dir, the only likely  
source is C/save.c ...

Pls _ what is going on here (the startup file pretends to be a sh  
script, but is unreadable..)

JF Mertens

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: yap-5.1.3 install problem

by Vitor Santos Costa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jean-Francois

Sorry for the delay.

First, can you try the current stable branch from the web page. It
should be close to ready. I use it with OSX and never had this
problem.
> the install target, as far as I can see ..
>
> If I grep for "Restoring" in the whole build-dir, the only likely
> source is C/save.c ...
>

Yes, that is correct, restore is implemented in that file.

> Pls _ what is going on here (the startup file pretends to be a sh
> script, but is unreadable..)

That's because it is a mix of a sh script and a binary :) The sh
script passes the binary (the saved state) to a Prolog engine.

Cheers

Vitor

>
> JF Mertens
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Yap-users mailing list
> Yap-users@...
> https://lists.sourceforge.net/lists/listinfo/yap-users
>

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: yap-5.1.3 install problem

by Jean-François Mertens :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 24 Apr 2009, at 17:39, Vitor Santos Costa wrote:

> Hi Jean-Francois
>
> Sorry for the delay.
>
> First, can you try the current stable branch from the web page. It
> should be close to ready. I use it with OSX and never had this
> problem.
>>

The web page does indicate 5.1.3 as the current stable ...

??

Jean-Francois

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: yap-5.1.3 install problem

by Vítor Santos Costa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> The web page does indicate 5.1.3 as the current stable ...
>

Hi Jean-François

You are correct, but I am finishing 5.1.4 as the next stable :) One of  
the things I worked most was on fixing installation problems.

Cheers

Vitor


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users