-
Notifications
You must be signed in to change notification settings - Fork 217
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
make failing #68
Comments
Looks like miller switched to autoconf in #67. Try this:
|
there's also this:
|
Looks like that's fixed in fc3db29. |
And does |
Yup, using |
Hello,
You're on a very newer version of autoconf than I am, so that's something worth looking into. However....
Are you sure |
Ah right, sorry, run |
That looks like you don't have |
Not really any better... https://gist.github.com/jungle-boogie/9c0a20ae0d0cfd0a40e1 make -e CC=clang in millier and c directory immediately fail: make generates many of the warnings that previously existed and eventually fails with this: I know autoconf and automake can do wonderful things but now the dependencies are increased, the warnings are not corrected and portability seems smashed to pieces. |
just fyi, this build installs:
so to re-cap, people will now need to have:
|
In an autotools workflow you'd usually specify the C compiler at the configure stage, something like |
If you take a look at this build output: https://travis-ci.org/johnkerl/miller/jobs/81531717 so technically, it will build but it's much more cumbersome. |
Just tested with clang; from a fresh checkout, |
My apologies. This is a bit in flux with current status on #9. The short of it:
The long of it:
|
Also @jungle-boogie, I do agree with you about autoconf -- I do (personally) find its error-handling confusing. Yet, many folks find it familiar and essential -- and in fact will be reluctant to use any open-source software which doesn't have autoconf support. These are two different use-cases and they both need supporting. For those reasons:
|
Lastly, I don't like to break head -- but effectively I did with last night's push (I woke up to find this conversation), by failing to communicate then what I just wrote now. This is my bad. |
Fourthly, @olorin is correct that you can pick your C compiler with options to |
Breaking head is better than regressions in a release so I'm happy to help find all these things before the next release. ;) I'd give the slight recommendation that documentation get updated (when it's known to be wrong) when commits like this are made. With what was said above, I'm still getting a build failure with
I project I use that works with automake and autoconf is tmux: When building tmux, I don't need to specify the compiler or anything outside of the few steps on the readme once I have the dependencies installed. Will it ALWAYS be necessary to specify the compiler when it's not gcc? |
The error output looks like you built your libtool for gcc, not clang. For configure, it's better to give the compiler on the command line instead of the environment, i.e. then configure remembers it when rebootstrapping due to changed autotools files. |
@jungle-boogie, agreed about doc update lagging build-change -- when I said "this was my bad" above, that's what i meant. |
Hi @0-wiz-0, so do I simply do Output of first: Output of second: these were both performed in miller directory, not the miller/c directory. Got it. thank you for your project! |
Please make sure, as I already said above, that libtool was compiled for clang. Or just use default cc for compiling miller (i.e., remove CC=clang). |
Hi @0-wiz-0, Yes, I did see you mentioned that and I'll check into how libtool was compiled. By saying just use default cc, you mean gcc? |
Whatever 'cc' is. It seems you're running FreeBSD 10, so it might even be clang. |
Yes, I'm testing this on freebsd and it is clang:
I'm pretty sure the libtool package for freebsd was built with clang but I'm checking. |
Hi @0-wiz-0, Just confirmed that libtool package is built with clang. Thanks! |
And just as a last datapoint, what does:
report? I.e. blow away previous build, run autoconf and configure again (without CC) and make? |
Here's the report: I first did a |
That's a different problem now. A circular dependency was introduced by The cli library currently depends on the container library which contains on the mapping library, which depends on the cli library. John, can you please clean this up? |
sure |
It's still unclear to me how this got past Travis ... |
Does travis start from a clean checkout every time? |
Here's the most recent failure log: |
Yes, Travis is starting from git clone. Unless it is retaining artifacts in some way I don't understand. I'm fixing this, but there is a deeper issue with cyclic subpackage dependencies involving the join function. @jungle-boogie you might avoid master until I resolve this issue. |
Hi @johnkerl, Thanks for the tip and your efforts to correct this! |
meanwhile, #dayjob ;) |
The last error jungle-boogie reported is quite similar to the first one. |
Hi @0-wiz-0, Is that something I can do or does it need to be done on master? |
|
|
Well, of course, please also add the CC=clang part you always have. So. |
Ok, so it's a problem with the mlrp executable and independent of the build system. One step forward. |
Thank YOU for walking me though all of this. |
I believe the originally reported problem is resolved by my latest commit (51f89ef), although #9 is still open re html/doc info. Re the second problem,
? If so that'll indicate that profiling on BSD needs |
Will I run that in c/ or millier/? |
After running
|
OK so it looks like there were no errors, so if you So two things: one, for me, is the data point that to use |
Yes, |
Great, you're good to go then! I'm happy to hear whatever you find out about profiling Miller on FreeBSD. |
mlrp aside, should this occur with |
👍 |
Hello,
On a gnu/linux system, make is failing with a simple
make
:Is there a new method to make
mlr
now?The text was updated successfully, but these errors were encountered: