Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
known_bugs [2011/11/25 07:49]
arve
known_bugs [2019/12/23 23:20]
admin [libRadtran doesn't compile]
Line 2: Line 2:
 **Solution:​** When compiling uvspec, please make sure that you have all required compilers and tools installed, see [[Download]]. For the newer versions of Linux, some of the standard tools are no longer installed by default (as modern users don't want to fiddle around with such ugly things as compilers etc). One particular example is Flex - The Fast Lexical Analyzer. It is usually available for all flavours of Linux, under Mac, and for cygwin, but not necessarily installed by default. You may have to select installation of flex manually. If you have tried compiling uvspec without having flex installed, you may need to remove src/​*_lex.c. ​ **Solution:​** When compiling uvspec, please make sure that you have all required compilers and tools installed, see [[Download]]. For the newer versions of Linux, some of the standard tools are no longer installed by default (as modern users don't want to fiddle around with such ugly things as compilers etc). One particular example is Flex - The Fast Lexical Analyzer. It is usually available for all flavours of Linux, under Mac, and for cygwin, but not necessarily installed by default. You may have to select installation of flex manually. If you have tried compiling uvspec without having flex installed, you may need to remove src/​*_lex.c. ​
  
 +Also, we still rely on Python 2.7. It is planned to upgrade to Python 3 soon - stay tuned!
  
-==== I have problems compiling libRadtran under Ubuntu 11.10 ====+==== GUI: from matplotlib.axes import _process_plot_var_args fails ==== 
 +**Solution:​** In the file GUI/​wxmpl.py please change
  
-When compiling and linking libRadtran under Ubuntu 11.10 the following error message may be encountered:​+    from matplotlib.axes import _process_plot_var_args
  
-  "/​usr/​lib/​gcc/​i686-linux-gnu/​4.6.1/​../​../​../​../​lib/​libgsl.so:​ undefined reference ​to `cblas_dasum'"​+to 
  
-  
-This is caused by the order of which libraries are passed to the linker. The order was irrelevant for earlier version of Ubuntu. Why they choose to change this I do not know. Anyway, here is the fix to link libRadtran. First open the file configure.in in your favorite editor. Search for the line that says: 
- 
-  LIBGSL="​-lgslcblas -lgsl -lm" 
- 
-Change this line to 
- 
-  LIBGSL="​lgsl -lgslcblas -lm" 
- 
-Note the change in the order of the gsl and gslcblas libraries........ 
- 
-Run "​autoconf"​ to create a new configure from configure.in and then execute ./​configure. Next follow the normal libRadtran compilation and linking procedure. The autoconf program is normally not installed on all systems. You may thus have to install it first. ​ 
  
 +   from distutils.version import LooseVersion
 +   if LooseVersion(matplotlib.__version__) < LooseVersion('​1.4.2'​):​
 +       from matplotlib.axes import _process_plot_var_args
 +   else:
 +       from matplotlib.axes._base import _process_plot_var_args
  
 
 
known_bugs.txt · Last modified: 2024/02/08 13:40 by admin
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki