-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ncl executable is not generated after build & install #8
Comments
The last part of the NCL build, which creates the "ncl" executable, can
easily fail due to the high number of dependencies on external software
libraries like NetCDF, GRIB2, HDF5, GDAL, etc.
In order to understand what failed, look at the output from when you ran
"make Everything" and look for the string " -o ncl Ncl.o". This is string
is part of large line that does the final link for the "ncl" executable.
The error messages should follow that line and will hopefully indicate the
problem is.
…On Sun, Oct 21, 2018 at 9:14 AM, wreckdump ***@***.***> wrote:
I followed the building guide http://www.ncl.ucar.edu/
Download/build_from_src.shtml
and everything seems to be 'fine', but I can not locate where 'ncl'
executable file is placed.
The following is the executables in the NCARG_ROOT/bin
-rwxr-xr-x 1 root root 18400 Oct 21 15:08 ConvertMapData
-rwxr-xr-x 1 root root 27782 Oct 21 15:09 WRAPIT
-rwxr-xr-x 1 root root 18520 Oct 21 15:08 WriteLineFile
-rwxr-xr-x 1 root root 22848 Oct 21 15:08 WriteNameFile
-rwxr-xr-x 1 root root 27624 Oct 21 15:08 WritePlotcharData
-rwxr-xr-x 1 root root 34144 Oct 21 15:09 cgm2ncgm
-rwxr-xr-x 1 root root 835 Oct 21 15:09 ctlib
-rwxr-xr-x 1 root root 851 Oct 21 15:09 fcaps
-rwxr-xr-x 1 root root 23152 Oct 21 15:08 findg
-rwxr-xr-x 1 root root 57040 Oct 21 15:07 fontc
-rwxr-xr-x 1 root root 1003 Oct 21 15:09 gcaps
-rwxr-xr-x 1 root root 43160 Oct 21 15:07 graphc
-rwxr-xr-x 1 root root 71216 Oct 21 15:09 med
-rwxr-xr-x 1 root root 4274 Oct 21 15:08 ncargcc
-rwxr-xr-x 1 root root 58690 Oct 21 15:08 ncargex
-rwxr-xr-x 1 root root 4709 Oct 21 15:08 ncargf77
-rwxr-xr-x 1 root root 4709 Oct 21 15:08 ncargf90
-rwxr-xr-x 1 root root 1307 Oct 21 15:08 ncargfile
-rwxr-xr-x 1 root root 28712 Oct 21 15:07 ncargpath
-rwxr-xr-x 1 root root 740 Oct 21 15:08 ncargrun
-rwxr-xr-x 1 root root 633 Oct 21 15:08 ncargversion
-rwxr-xr-x 1 root root 1152616 Oct 21 15:08 ncargworld
-rwxr-xr-x 1 root root 263336 Oct 21 15:08 ncarlogo2ps
-rwxr-xr-x 1 root root 533 Oct 21 15:09 ncarvversion
-rwxr-xr-x 1 root root 33944 Oct 21 15:09 ncgm2cgm
-rwxr-xr-x 1 root root 48632 Oct 21 15:09 ncgmstat
-rwxr-xr-x 1 root root 64866 Oct 21 15:09 ncl_convert2nc
-rwxr-xr-x 1 root root 17468 Oct 21 15:09 ncl_filedump
-rwxr-xr-x 1 root root 2540 Oct 21 15:09 ncl_grib2nc
-rwxr-xr-x 1 root root 35934 Oct 21 15:09 ng4ex
-rwxr-xr-x 1 root root 2441 Oct 21 15:09 nhlcc
-rwxr-xr-x 1 root root 2237 Oct 21 15:09 nhlf77
-rwxr-xr-x 1 root root 2237 Oct 21 15:09 nhlf90
-rwxr-xr-x 1 root root 228 Oct 21 15:08 pre2ncgm
-rwxr-xr-x 1 root root 354056 Oct 21 15:08 pre2ncgm.prog
-rwxr-xr-x 1 root root 17832 Oct 21 15:08 psblack
-rwxr-xr-x 1 root root 34184 Oct 21 15:08 psplit
-rwxr-xr-x 1 root root 17784 Oct 21 15:08 pswhite
-rwxr-xr-x 1 root root 28184 Oct 21 15:08 pwritxnt
-rwxr-xr-x 1 root root 6322 Oct 21 15:09 scrip_check_input
-rwxr-xr-x 1 root root 283864 Oct 21 15:08 tgks0a
-rwxr-xr-x 1 root root 47976 Oct 21 15:08 tlocal
I can not find 'ncl' executable anywhere in my system.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMj5XAeOOw5tXAOc9GblCYS_mXS1iY2uks5unI9mgaJpZM4Xygmy>
.
|
I can't find the Also, I've noticed that compilation procedures of few executable files, Thank you. |
ncl_convert2nc and ncl_filedump are basic shell scripts and don't require a
compilation. It would help if we could see your make-output file. Can you
attach it?
…On Mon, Oct 22, 2018 at 12:12 PM, wreckdump ***@***.***> wrote:
I can't find the -o ncl Ncl.o from the make-output file. For your
information, I've tried building it with unchecking (saying "n" to external
libraries) everything, and tried building with only netCDF support.
Also, I've noticed that compilation procedures of few executable files,
ncl_convert2nc, ncl_filedump, etc., are not found in the make-output. Is
this normal? or am I looking at the wrong make output file?
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMj5XCZMqT5IBbRe62oMeBh2QkDglGfwks5ungqWgaJpZM4Xygmy>
.
|
Sure! Here is the |
There's are two errors in the make-output file indicating missing
components needed to build the NCL package:
make[4]: flex: Command not found
make[4]: yacc: Command not found
Without these utilities, you can't build the ncl executable. I recommend
installing yacc and flex, and then instead of rerunning "make Everything"
which cleans everything and starts from scratch, run "make All" which will
finish up from where you left off. I still recommend sending the output to
a make-output file in case there are further issues.
If you want to use bison instead of yacc, then you'll need to add the
following line to your $NCARG/config/Site.local file:
#define YaccCommand bison -y
Is there a reason you need to build NCL from source code? I see you are
doing a LINUX build using gcc/gfortran. We have a LINUX version of NCL
available via conda. See: http://www.ncl.ucar.edu/Download/conda.shtml
…On Mon, Oct 22, 2018 at 12:28 PM, wreckdump ***@***.***> wrote:
Sure! Here is the make-output
make-output.txt
<https://github.com/NCAR/ncl/files/2502632/make-output.txt>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMj5XONnKEoR-HIsuQ5Xat4yNHSuOyVXks5ung5cgaJpZM4Xygmy>
.
|
Thank you for your help. I am trying to make a package for a linux distribution that I am using. That is why I am trying to build from the source. I get a few errors. Which are related to Here is the entire Thank you, again. |
The error is from the build not finding the freetype include files. They
are in a directory like /opt/X11/include/freetype2 or
/usr/include/freetype2, so you have to include the -I option in the
Site.local file. It would look something like this:
#define IncSearch -I/Users/haley/dev/external/include -I/opt/X11/include
-I/opt/X11/include/freetype2
If you don't have freetype, you will need to install it.
…On Mon, Oct 22, 2018 at 1:35 PM, wreckdump ***@***.***> wrote:
Thank you for your help.
I am trying to make a package for a linux distribution that I am using.
That is why I am trying to build from the source.
I get a few errors. Which are related to ft2build.h and AsciiText.h file
Here are the entire make-output
make-output.txt
<https://github.com/NCAR/ncl/files/2503096/make-output.txt>
Thank you, again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMj5XA-8kqSPozyZVJk3EP8OtTeh27hTks5unh4DgaJpZM4Xygmy>
.
|
Thank you! Now the ncl is working!. I really appreciate it! |
I followed the building guide http://www.ncl.ucar.edu/Download/build_from_src.shtml
and everything seems to be 'fine', but I can not locate where 'ncl' executable file is placed.
The following is the executables in the NCARG_ROOT/bin
I can not find 'ncl' executable anywhere in my system.
The text was updated successfully, but these errors were encountered: