Coder Social home page Coder Social logo

nix-ciment-channel's People

Contributors

bzizou avatar fperignon avatar knedlsepp avatar louvetv avatar ltavard avatar pabouttier avatar smaret avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nix-ciment-channel's Issues

Gildas package: online help isn't working

Online help isn't working in Gildas:

% mapping
MAPPING> help uv_compress
E-HELP,  Error opening /nix/store/csgym4qw5d0jnqxmki95cyn4f66c99ss-gildas-20170701_d/doc/hlp/map-help-clean.hlp
E-HELP,  No such file or directory (O/S errno #    2)

Gildas expects the help file in the doc/ directory. However, the nix package installs it in share/doc

cd /nix/store/csgym4qw5d0jnqxmki95cyn4f66c99ss-gildas-20170701_d
find . -name map-help-clean.hlp
./share/doc/hlp/map-help-clean.hlp

share/doc is a standard location, so the problem here is to tell Gildas where to find the documentation files.

Gildas dec17a build failure

Gildas dec17a fails to build with the following error message:

gcc -c -I../  -Wall    -I/tmp/nix-build-gildas-20171201_a.drv-6/gildas-src-dec17a/integ/x86_64-debian8-gfortran-openmp/include -pipe -fPIC -Dlinux -DLINUX -DPNG -O -Dunderscore -DGAG_USE_GTK -DGAG_USE_OPENMP -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_UNDERSCORE sic_python.c -o built/x86_64-debian8-gfortran-openmp/sic_python.o
sic_python.c:11:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.

The header file is found by the configure script, but the include flag isn't passed along.

Package request: casa-4.2

I would need casa-4.2 to reduce some ALMA data. There is already a NIX package for casa-4.7, but it's cannot be used for the data on (it's not backward compatible...).

The binaries can be found on this page.

gildas: Python bindings do not work

I get the following error when I try to start a python interpreter within gildas:

% greg
GILDAS Version: dec17a (01dec17 10:51 cet) (libexec) executable tree
Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf

 * Welcome to GREG      

 * Loaded modules
    sic (J.Pety, S.Bardeau, S.Guilloteau, E.Reynier)
    greg (J.Pety, S.Bardeau, S.Guilloteau, E.Reynier)

 * In charge:              J.Pety, S.Bardeau
   Active developers:      S.Guilloteau, E.Reynier
   Main past contributors: F.Badia,D.Brogui?re,G.Buisson,G.Duvert,
                           T.Forveille,R.Gras,R.Lucas,G.Mella,P.Valiron

 * Questions? Comments? Bug reports? Mail to: [email protected]

GREG> py
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 582, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 528, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 412, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd

It looks like gildas peaks the system library instead of nix's one. All gildas versions seems to be affected by this bug (I rolled back to dec17a, but the bug is present in newer versions too).

Gildas package: errors and warnings during the build

When building the gildas nix package, a number of warning and errors are generated:

gagdefsys: Compiler gfortran not found in $PATH
gagdefsys: This may mean the compiler name is an alias resolved later on
/tmp/nix-build-gildas-20171001_a.drv-0/gildas-src-oct17a/admin/define-system.sh: line 351: --version: command not found
/tmp/nix-build-gildas-20171001_a.drv-0/gildas-src-oct17a/admin/define-system.sh: line 353: --version: command not found
Selecting GILDAS version: oct17a (01oct17 09:34 cest), source tree, x86_64-debian8-gfortran-openmp

gagadmdir:  /tmp/nix-build-gildas-20171001_a.drv-0/gildas-src-oct17a/admin
gagsrcdir:  /tmp/nix-build-gildas-20171001_a.drv-0/gildas-src-oct17a
gagexedir:  /tmp/nix-build-gildas-20171001_a.drv-0/gildas-exe-oct17a
gagintdir:  /tmp/nix-build-gildas-20171001_a.drv-0/gildas-src-oct17a/integ

WARNING: No printing command found (lpr,lp)

No C++ compiler found in your $PATH
This means that ATM will not be available
Python not found in your $PATH
Found X11 header  in /usr/X11/include
Found X11 library in /usr/X11/lib

WARNING: PNG development tools not found
You won't be able to produce PNG hardcopies

ERROR: pkg-config not found on your system
Some dependencies can not be detected without it

Problem executing Python
WARNING: GILDAS Python binding will *not* be available
WARNING: You will not have access to the Weeds extension of Class

LAPACK not found. Default to GILDAS one.
BLAS   not found. Default to GILDAS one.
SLATEC not found. Default to GILDAS one.
FFTW3 not found. Default to GILDAS FFT.


WARNING: CFITSIO not found
This means impossible calibration of data from 30m/NCS inside MIRA
The FITS <-> Gildas internal converters will still be available

WARNING:  libraries not found
Standard users do *not* need it
This is mainly useful at the OSF where GILDAS is used for the ALMA antenna holography

Default widget library used: NONE
*** THIS MEANS NO WIDGET SUPPORT ***

Default observatory used: NOEMA

Default paper size: A4

(Re)definition of GAG_PATH (location of gag.dico.gbl)
(Re)definition of GAG_LIB_FLAGS and LD_LIBRARY_PATH
(Re)definition of GAG_INC_PATH, GAG_INC_FLAGS
(Re)definition of PATH
(Re)definition of TEXINPUTS and BSTINPUTS

1 error(s) and 7 warning(s) detected
GILDAS will not compile
[...]

I don't understand why pkg-config, gfortran, etc. aren't detected since these are build dependencies of the package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.