Dear Jonathan,
the errors in the config are ok and should not stop the process.
GSL 2.1 defines the functions gsl_sf_legendre_Plm_array
gsl_sf_legendre_sphPlm_array
in the headers but are not found in the library object. These tests below
should fail in 2.1
Then you should not find the macros
_PYGSL_GSL_HAS_LINK_GSL_SF_LEGENDRE_PLM_ARRAY
_PYGSL_GSL_HAS_LINK_GSL_SF_LEGENDRE_SPHPLM_ARRAY
in your Include/pygsl/pygsl_features_config.h
These are however still available in e.g. GSL 1.16. and should be part of the
module
pygsl.testing.sf if pygsl is compiled against GSL-1.16
Sincerely yours
Pierre
Am 28.04.2016 um 19:21 schrieb Jonathan Stickel:
> On 4/18/16 12:54 , Pierre Schnizer wrote:
>> Dear All,
>>
>> a new release was uploaded to SF.
>> This release was only tested with gsl-2.1.
>>
>> Sincerely yours
>> Pierre
>>
>>
>
>
> Thanks for the release. I am trying to compile on Mac, using
> dependencies from Macports. Doing
>
> $ python setup.py config
>
> results in these errors:
>
>
> compiling '_configtest.c':
> #include <gsl/gsl_sf.h>
>
> int main () {
> gsl_sf_legendre_Plm_array(0, 0, 0.0, NULL);
> }
>
> C compiler: /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic
> -pipe -Os -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
>
> compile options: '-I/opt/local/include -c'
> clang: _configtest.c
> /usr/bin/clang _configtest.o -L/opt/local/lib -lgsl -lgslcblas -o
> _configtest
> Undefined symbols for architecture x86_64:
> "_gsl_sf_legendre_Plm_array", referenced from:
> _main in _configtest.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> Undefined symbols for architecture x86_64:
> "_gsl_sf_legendre_Plm_array", referenced from:
> _main in _configtest.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> failure.
> removing: _configtest.c _configtest.o
> compiling '_configtest.c':
> #include <gsl/gsl_sf.h>
>
> int main () {
> gsl_sf_legendre_sphPlm_array(0, 0, 0.0, NULL);
> }
>
> C compiler: /usr/bin/clang -fno-strict-aliasing -fno-common -dynamic
> -pipe -Os -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
>
> compile options: '-I/opt/local/include -c'
> clang: _configtest.c
> /usr/bin/clang _configtest.o -L/opt/local/lib -lgsl -lgslcblas -o
> _configtest
> Undefined symbols for architecture x86_64:
> "_gsl_sf_legendre_sphPlm_array", referenced from:
> _main in _configtest.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> Undefined symbols for architecture x86_64:
> "_gsl_sf_legendre_sphPlm_array", referenced from:
> _main in _configtest.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> failure.
> removing: _configtest.c _configtest.o
>
>
> Do you have a suggestion?
>
> Thanks,
> Jonathan
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> pygsl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pygsl-discuss
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss