I am getting following error while installing :
When I am login in as root and try to compile, I am able to compile for around 45 mins and then I get following error:
I have already installed package for sql:
Could you please help !
about first problem ("python setup.py install" under user abhi). You are trying to build and install daal python module. By default, at install stage built module is trying to be written to python folder. user abhi has no writing permissions for it. In such cases I do following:
1) do python module build only
2) before run application which is used this module, I set up PYTHONPATH variable. In your case it will be something like this:
Second problem ("python setup.py install" under user abhi). I believe that it was described in neighboring thread.
Third problem. You need to install odbc driver dev package. I`m not an expert in ubuntu, but according to the thread at stackowerflow (https://stackoverflow.com/questions/15447386/sql-h-header-file-missing-though-unixodbc-is-installed) it is unixodbc-dev. So, do
sudo apt-get install unixodbc-dev
Thank you for reply.
What possible problem I could get If i try to execute by becoming super user. Actually I am able to get the result the result now, but I did that after I become "root". Would That cause any problem or I shall choose your way to export PATH ?
Please suggest. Thank you
> I shall choose your way to export PATH ?
not PATH, but PYTHONPATH.
I see "security" problems only. If somebody else will use this server, he will be able to access pydaal module.
Additionally, you python distribution will not be "clean". You may meet problems if you will transfer you python application (which depend on pydaal) to another server - python at that server will not contain pydaal and your application will fail.
It is up on you to decide - are this problems or not.
If I am not using root and trying with user "abhi", I am still getting the same error:
Where I am going wrong ?