-
Notifications
You must be signed in to change notification settings - Fork 70
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
commit 992d5c6d0f1b1891e7b1b906e7d45f0792abe96f breaks out of source builds #109
Comments
I'm afraid the title doesn't tell me all. What does "breaks out of source builds" mean? |
out of source builds mean building in a different directory than the source, out of source builds will not pollute the source directory |
Okay. How does one do that? I'd like to try it for myself so see what the problem is. Unless you can tell me. Can you explain where (what) the problem is? Help me out here, Enrico! I'm not used to doing "out of source" builds! |
supposing that cd to reach hyperion.git after that I looked at Makefile.am but i really do not know how |
Ah. Okay. I understand now. Thank you. Yes, I believe you may be correct. Let me try it (play around with it for a while) on my CentOS system and I'll get back to you. Thanks for reporting it. |
I think I've explained this several times. mkdir build Sourcedir/configure --prefix=run_dir make make install (It's called VPATH support in autoconf) Here is a copy of my build script : rep=$1 src=$a/hercules/src/$rep cd $src cd $a/hercules/build $src/configure --prefix=$run --enable-optimization="-O3 At which point I can run hercules by adding ~/hercules/run/$dst/bin in --Ivan Le 08/05/2016 à 03:00, Fish-Git a écrit :
|
Fish, Complete support should also ensure that you can build from a source --Ivan Le 08/05/2016 à 03:38, Fish-Git a écrit :
|
Cool! Thanks Ivan! I'll have to give that a try too! |
I don't know how to do that. I'm just trying to do the best I can on Linux, but I'm obviously no expert at it (understatement of the century). I'm relying on you guys to help me out in that regard. |
Le 08/05/2016 à 03:46, Fish-Git a écrit :
Fish, I will do my best to help you ! This can be discussed on the google --Ivan |
I suspect some changes to the It might be a while (how long I don't know) before I figure this out but I'm looking into it folks! In the mean time if you have any ideas/suggestions let me know. (*) Thanks! (*) In the hercules-devel group per Ivan's request. |
I've been building outside the source directory "forever". I even have multiple architectures on a BSD server, one object directory for each. To run out of the bin directory I do this after "make": "./hercules" this deals with the autolib script. I also set LD_LIBRARY_PATH to ./libs in addition to setting PATH as Ivan already described. |
That was easy! I used Ivan's provided script further above to test with. Works great now! |
Negative sarge ! I am getting a fail to build : In file included from /home/ivan/hercules/src/hyperion/hsys.c:12: (This is complete rebuild using the aformentioned script after a git pull (5/6/2016 18:07 GMT) - autogen.sh and configure has been run). I'll look if it's something obvious or if it is something I missed on my side (although it's using the script that has been working for like - ever)... But since you're on the it, it's probably going to be easier for you (I have no idea what technics are used there - so going to have to reverse engineer everything for this issue). --Ivan |
Unfortunately it still does not work on APPLE autogen works [enrico@Enrico-iMac hyperion.test]$make V=0 the current working directory is the out of source directory have a good time
|
Did someone forget to commit ? (Just weeding out the obvious) --Ivan |
Shouldn't it be DYNAMIC_VERSION := On line 15 of makefile.am ? (When building out of the source dir - all files that are in the source dir should be explcit. (Although I'm a little concerned about the parens). --Ivan |
|
Signoff : Ivan Warren - Out of source build works as designed |
THANK YOU, Enrico! I totally missed that. And I too can add my conformation that from-outside-of-the-source-directory and from-within-the-source-directory builds -- as well as the "-modified" issue too -- are all working just fine now. I really appreciate your patience with me guys! Thanks for that! |
the title tells
The text was updated successfully, but these errors were encountered: