[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gnuastro] Output file requires root
From: |
Francesco Montanari |
Subject: |
Re: [help-gnuastro] Output file requires root |
Date: |
Sun, 23 Oct 2016 08:16:47 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
Hi Mohammad,
Thanks for the prompt reply.
Just to be precise:
On 10/22/2016 11:47 PM, Francesco Montanari wrote:
>> However, when installing in a system folder (./configure && make && make
>> check && make install):
What I am and was using is actually:
./configure --prefix=/usr && make && make check && make install
Since the behavior was not expected, I just removed everything and with
a fresh installation directly in the system folder it seems to work
fine. So I think I messed up... I thought I removed the local
installation and reset the system PATH, so not sure what I messed up
(will let you know if I find out).
Thanks,
Francesco
On 10/23/2016 01:42 AM, Mohammad Akhlaghi wrote:
> Hi Francesco,
>
> Thank you very much for the great reports,
>
> On 10/22/2016 10:47 PM, Francesco Montanari wrote:
>> Hi,
>>
>> I have been trying out some programs (mainly astcosmiccal and asttable)
>> and they look very nice, thanks!
>>
>> When installing the programs in a local folder everything works fine.
>> However, when installing in a system folder (./configure && make && make
>> check && make install):
>>
>> $ astcosmiccal -z 1
>> /usr/bin/ld: cannot open output file
>> /usr/bin/.libs/9000-lt-astcosmiccal: Permission denied
>> collect2: error: ld returned 1 exit status
>>
>> This would require to run gnuastro with root privileges. Is this
>> expected and is there a way to avoid it? Just out of curiosity, what is
>> the purpose of this .libs/ folder?
>
> This is certainly not expected. I have opened the following support
> tracker issue on Savannah, lets continue the discussion there:
>
> https://savannah.gnu.org/support/index.php?109171
>
>>
>> A couple of possible minor issues:
>> - section 9.1.3 (Invoking CosmicCalculator) of the book, it looks like
>> in the examples there should be no equal sign after short options, e.g.
>> $ astcosmiccal --onlyvolume -z 0.8
>
> Thank you very much for reporting this, bug #49419 (link below) was
> opened for it and it has been corrected:
>
> https://savannah.gnu.org/bugs/index.php?49419
>
>> - in gnuastro-0.2 the man page of asttable seems to be missing
>
> Thanks also for reporting this bug, bug #49418 was opened for it and it
> has been fixed:
>
> https://savannah.gnu.org/bugs/index.php?49418
>
> Cheers,
> Mohammad
>