Re: Executable redefined ?
Jan Wielemaker <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hard to say. If executing a script destroys the installation and reinstalling helps, my hypothesis is that you are running your script as root? In that case run it as a normal user and you'll hopefully get a permission error ... RPM also has a tool that verifies the integrety of the package by checking and comparing the checksum of each installed file. See "man rpm" (just a guess). Hope this helps. If it does, it might be a good lesson not to do regular work as root :-) --- Jan On 10/11/2013 10:48 AM, Olivier Sallou wrote: > Hi, > I have generated a swi-pl executable from my C and prolog files. > > Everything was working fine. > > I executed a script that went wrong (don't know what, but well... this > is my problem to fix). My exe takes as argument a prlog script which it > loads and execute on a specific predicate. > > Since this problem, all my runs fail (even the one that were fine before). > > When I look at the logs, prolog says that a predicate does not exists > (and it did as it used to work). > > I have to reinstall my whole application (rpm packaged, on a Fedora 19, > swipl 6.2.6, 64 bits) to get it worked again. It looks like a "context" > is saved somewhere... but where and how ? > > My application do not explicitly do any "save" of the context. > > I have no idea how to debug this. > > Thanks > > Olivier > > gpg key id: 4096R/326D8438 (keyring.debian.org) > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 > > _______________________________________________ > SWI-Prolog mailing list > [email protected] > https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog >