Skip to content

Conversation

@wagavulin
Copy link
Contributor

Add some detailed explanation of common build problems especially on macOS because it requires some tweaks.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use console for the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
I added some comments!

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

following -> above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Warning: autoconf-archive 2017.03.21 is already installed, it's just not linked. ... is a warning message of brew install autconf-archive. And Linking /usr/local/Cellar/autoconf-archive/2017.03.21... is an error message of brew link autoconf-archive. So "following" is correct. But I think this paragraph may confusing, so I will rewrite.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an empty new line after a section.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use % for prompt. Because we already use % in this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an empty line here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./configure PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig

is better because configure keeps the PKG_CONFIG_PATH value with this form.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or we can use --with-arrow-cpp-build-type and --with-arrow-cpp-build-dir configure options.
It's better that description of them are included in this pull request but it's not required.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1100 and https://issues.apache.org/jira/browse/ARROW-1537 may be useful information for macOS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for useful advice. However I think such an advanced setting is not necessary for this "common build failures" section. It assumes that Arrow C++ is installed in accordance with cpp/README.md.

@wesm
Copy link
Member

wesm commented Sep 17, 2017

This should rebase cleanly in apache/master (I rebased master on the release branch and now pushed)

@wesm
Copy link
Member

wesm commented Sep 18, 2017

Please also remove the brackets from "[ARROW-1464]:"

Add some detailed explanation of common build problems especially on macOS because it requires some tweaks.
@wagavulin wagavulin changed the title [ARROW-1464]: [GLib] Add "Common build problems" section into the README.md of c_glib ARROW-1464: [GLib] Add "Common build problems" section into the README.md of c_glib Sep 18, 2017
Copy link
Contributor Author

@wagavulin wagavulin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your comment. I will try to improve the explanation of brew link issue.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Warning: autoconf-archive 2017.03.21 is already installed, it's just not linked. ... is a warning message of brew install autconf-archive. And Linking /usr/local/Cellar/autoconf-archive/2017.03.21... is an error message of brew link autoconf-archive. So "following" is correct. But I think this paragraph may confusing, so I will rewrite.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

c_glib/README.md Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for useful advice. However I think such an advanced setting is not necessary for this "common build failures" section. It assumes that Arrow C++ is installed in accordance with cpp/README.md.

…hive on macOS.

Fixed format issues:

* Use '%' for shell prompt.
* Use `console` for console output.
* Add empty lines under header lines.
@wagavulin
Copy link
Contributor Author

I have updated based on the comments. Please check.

@asfgit asfgit closed this in 63e7966 Sep 18, 2017
@kou
Copy link
Member

kou commented Sep 18, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants