Skip to content
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

Improve installation instructions #601

Open
schuhschuh opened this issue Jun 2, 2016 · 1 comment
Open

Improve installation instructions #601

schuhschuh opened this issue Jun 2, 2016 · 1 comment

Comments

@schuhschuh
Copy link
Contributor

schuhschuh commented Jun 2, 2016

From email correspondence:

Dear Andreas,

I am attempting to install BASIS on top of Ubuntu 16.04.

I have difficulties, and would like to suggest to fix them in the install hints,
both on the web-site and the package help. (probably the description is outdated)

The BUILD_PROJECT_TOOL does not exist
The option 'g' in ccmake does not exist, and not understood by ccmake

I could, however, make the configuration and generation CMake's graphic surface.

After that,
make
was OK, but
make install
results in message 
-- Install configuration: "Release"
CMake error at cmake_install.cmake:36 (file):
 file cannot create directory: /opt/cmake-basis/doc. Maybe need
 administrative privileges.


The hellobasis should be HelloBasis

Regards

Janos
Hi Janos,

Thanks for letting me know. Indeed some instructions are outdated. There has been a pull
request already to remove the BUILD_PROJECT_TOOL option and update the quickstart page.

The 'g' option must still exist in the Curses based CMake GUI for the command line, 'ccmake'.
It is however only available when the configure step, 'c', was successful. Otherwise CMake
cannot generate the build tool specific configuration files.

The installation step must usually be run as root, i.e., when the CMAKE_INSTALL_PREFIX
was set to a directory outside your HOME directory. It must be run with 'sudo' on Ubuntu.

    sudo make install

I will see to improve the installation steps before the next release.

Thanks,
Andreas
Hi Andreas,

The 'g' option must still exist in the Curses based CMake GUI for the
command line, 'ccmake'. It is however only available when the configure
step, 'c', was successful. Otherwise CMake cannot generate the build tool
specific configuration files.

The instruction like 'keep pressing 'c'' at least warnts that I shall press
'c' not onece. How about writing something like
Press 'c' repeatedly until 'g' appears

Janos
@schuhschuh
Copy link
Contributor Author

Hi Andreas,

as you told you are working on it, I say that

1./ After
"Install the libraries"
I think you should devote a few lines of building those simple things together,
something like

target_link_libraries(helloc++ foo bar)

and editing the source. With some practice, it can concluded, but you may loose
beginners at this point.

2./
I experience difficulties when using 'cp' instructions, saying that the owner 
cannot be changed. Maybe it is a feature of Ubuntu.

Janos

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

No branches or pull requests

1 participant