gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [bug #50957] --version output not possible on Mac OS X


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [bug #50957] --version output not possible on Mac OS X
Date: Thu, 24 May 2018 14:50:22 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Update of bug #50957 (project gnuastro):

                  Status:               Postponed => Fixed                  
             Assigned to:                    None => makhlaghi              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This bug has been fixed and pushed
<https://git.savannah.gnu.org/cgit/gnuastro.git/commit/?id=5e12782d371a43> to
the main Gnuastro repo. The problem was with linking. Apparently not all
linkers can accept external variables indirectly. 

This was a major problem. Because it made it hard for people on a Mac OS to
help in the development: during the man-page building process, the `--version'
option is mandatory. Without it, the build will fail. I am very grateful to
Leindert Boogaard who patiently helped in testing the different tests on his
Mac OS system. 

As described in the commit message, the Gnuastro library directly linked with
Gnulib, but in the programs, we were only linking with Gnulib indirectly
through the Gnuastro library. In the GNU Linker, this wasn't a problem, and
the external variables would pass through Gnuastro's library and could be
accessed by Gnulib. But the Mac OS linker wouldn't do that. So the external
variables that defined the `--version' value was not seen by Gnulib on Mac OS,
therefore, by its default behavior, it would think that `--version' is not
defined.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50957>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]