Is it just an error in the distribution or is there something wrong with the actual code? As Alan noted in his mail the ciao sources contains a NOCOMPILE file in the directory /library/persdb_mysql/delete_compiler/ which as it explains itself is there to prevent the compilation system from compiling the files in that directory. Is it just an error that this file is there in the distrubution or is there still a good reason for not compiling the delete_compiler code?
There is a good reason not to compile it in general: that particular file has code to delete a tuples from a relation. It turned out that the way to do that is different in different relational databases, due to the support they give to views.
Or in other words: is it safe to remove the NOCOMPILE file and go ahead using the mysql persistent predicates module? :)
:-) Yes, it is; as far as Ciao Prolog is concerned, the worst thing which can happen is that the relation you want to delete does not get deleted (but beware of the failure this may cause in your program!). You will have to either recompile and reinstall Ciao after removing the NOCOMPILE (a "make install" in the sources will be enough), or, if you want to make a quick check, go to the installation directories, locate the file, and issue a "ciaoc -c pl2sqldelete" command; please let us know of the results.
MCL
___________________________________________ ¡Hay, qué miedo saber tanto! (Lola Flores).