ropc
ropc copied to clipboard
Error installing ropc
So I'm trying to install ropc on ubuntu. As you had mentioned I'm having error in compiling bap-0.4. When I try to make it after installing all the dependencies that had been mentioned in the install file to get I get this error.
Now I'm kinda stumped as to how should I proceed. Kindly let me know what is to be done and are there any workarounds around this?
What it really looks like is that in the ropc distribution the dependencies were packaged in with the source for the target. It's trying to build those dependencies first, trying with bigint-3.12, but failing for whatever reason. It's not going to use the newest bap until you refactor it to do so (which is going to be a lot of work), and the latest bap uses opam. So what you might try doing is refactoring the makefile to skip building all of those dependencies locally (just delete the folders inside ropc) and install them via opam. Use the opam based ocaml installation with ocamlfind to point the compiler to those appropriate packages. Hopefully if you're willing to go this far, you'll see that using opam for this project would be good too-you can tell it what packages and their versions that you need and it will remove the need for you to manage that version within that one project.
In any case, the specific reason for the compilation failure is that the warnings are promoted to errors with -warn-error that's on the command line that you can see. If you take that off, you'll probably get a bit further. Or you have to take the advice of the compiler (always a good choice, but might result in unnecessary work if you're going to use opam for those dependencies).
On Mon, Aug 17, 2015 at 3:41 AM, prashast94 [email protected] wrote:
So I'm trying to install ropc on ubuntu. As you had mentioned I'm having error in compiling bap-0.4. When I try to make it after installing all the dependencies that had been mentioned in the install file to get I get this error. [image: ropc] https://cloud.githubusercontent.com/assets/13796871/9300224/50ca9da8-44e1-11e5-8190-d28b4c406770.png Now I'm kinda stumped as to how should I proceed. Kindly let me know what is to be done and are there any workarounds around this?
— Reply to this email directly or view it on GitHub https://github.com/pakt/ropc/issues/5.
So I was looking through the bigint 3.12 folder that is there in ropc and found this but now the issue is that this command "./configure -no-shared-libs" is not recognised as a valid command. I searched a bit further and found this command "./configure --disable-shared" wh
I searched a bit further and found this command "./configure --disable-shared" which I found from GNU's own website and that is not working as well. Could you give any inputs to this? I think if I can get a workaround for this, I might be able to get it up and running.
And I am considering your suggestion to install everything seprately but my main issue is there are certain things for which opam won't have packages even(Eg. bigint 3.12) and even if I do get them I guess I would have to make changes in the makefile to point to these which seems like a gruesome task.
The changes in the makefile should involve the following: comment out the
targets that have it building into subfolders, remove include advice to the
compiler for interfaces or libraries, as well as linker commands. For
everything you remove, make sure the appropriate library and version is
installed in opam. Point the compilation toward your opam package instead,
with -packs
So I was looking through the bigint 3.12 folder that is there in ropc and found this but now the issue is that this command "./configure -no-shared-libs" is not recognised as a valid command. I searched a bit further and found this command "./configure --disable-shared" wh [image: error] https://cloud.githubusercontent.com/assets/13796871/9377145/83e2b55a-4733-11e5-9e5e-43fcaa169f22.png I searched a bit further and found this command "./configure --disable-shared" which I found from GNU's own website and that is not working as well. Could you give any inputs to this? I think if I can get a workaround for this, I might be able to get it up and running. [image: error1] https://cloud.githubusercontent.com/assets/13796871/9377251/a43e8364-4734-11e5-9e94-75eda49deaf2.png And I am considering your suggestion to install everything seprately but my main issue is there are certain things for which opam won't have packages even(Eg. bigint 3.12) and even if I do get them I guess I would have to make changes in the makefile to point to these which seems like a gruesome task.
— Reply to this email directly or view it on GitHub https://github.com/pakt/ropc/issues/5#issuecomment-132909450.