-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model compilation crashed #8
Comments
I believe that this may be the flex issue that you refer to, but I'm not sure how to revert flex (or what will happen to my other software if I do). Is it possible to fix whatever it is that causes the problem with the new flex? Do you know what the issue is? |
It does seem like flex is at fault. Can you tell me what system are you
using?
On Ubuntu, you can downgrade flex by uninstalling it through apt-get
remove, then installing an earlier version from source (you can download
earlier versions of flex from sourceforge, if I'm not mistaken). I have
done this myself and noticed no problems with other software. However, I
cannot be certain of this for your machine and programs.
I will try to investigate the issue further and I'll notify you if I manage
to fix it.
…On 7 March 2018 at 23:43, rpgoldman ***@***.***> wrote:
I believe that this may be the flex issue that you refer to, but I'm not
sure how to revert flex (or what will happen to my other software if I do).
Is it possible to fix whatever it is that causes the problem with the new
flex? Do you know what the issue is?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADqlEbsff2MtPURN9MMTa_I3XXvHr76_ks5tcHCNgaJpZM4Saowr>
.
|
I was trying it on a Mac, with the GNU tools all coming from MacPorts. DiNo doesn't build with Apple's g++, but it's fine with the GNU g++. I could probably install an old version of flex somewhere from source, and just use it (through variables in Makefiles) to build DiNo. I have an Ubuntu machine I could try this on, but it's running experiments for another project right now... I'll report back if this works with an older version of flex. |
I tried it with both Flex versions 2.5.39-8~ubuntu14.04.1 and 2.5.35-10.1ubuntu2 on my Ubuntu 20.04 LTS (Focal) and I get the same segmentation fault. I don't think this is related to Flex though, because UPMurphi, on which DiNo is based works fine. |
I have the same problem, UPMurphi is working but not DiNo even with the examples included. I think that the problem is related to java 16 link when trying to install the required dependences, I haven't yet found how to solve the problem. I have installed the required flex version and I have tested it with compiler 7, 8, and 9 but I have the same thing |
I am sorry that I can't offer any direct help. Wiktor, the author of the DiNo system, is still actively working with planning and using a system that is based on this work, but I don't think he has the time to come back to this project at the moment. He works at PARC - you can find him on LinkedIn if you want to try contacting him that way. |
@H-Louadah I don't think Java has anything to do with the problem, this project is written in C++. |
Yeah, maybe, Setting up oracle-java16-installer (16.0.2-1~linuxuprising0) ... download failed
|
Thanks |
@H-Louadah not sure why you are installing Java, the dependencies you need to install according to the Readme are: None of these needs Java. Anyway, if you need Java for some reason you should probably go for the latest LTS version, which is 17. |
@jbx1 I am not installing java, |
I recently cloned DiNo in an effort to make it work on modern ubuntu (https://github.com/galk-research/DiNo/). The "work-in-64" branch is the active development branch. This is still not working right, but the flex problem is (I think) easily solved by installed "flex-old" instead of "flex". Also, there are lots of warnings about deprecated auto_ptr and such: Adding "-ansi" to the flags gets rid of these. Work in progress, but there's real progress. Gal Kaminka |
Tried to run the linear generator problem per instructions
after successful compilation, but got this error:
Not really sure how to diagnose this problem, since I don't see any clue about what failed. I tried running with
--warnings
but still no warnings betweenCompiling model...
and the seg fault.The text was updated successfully, but these errors were encountered: