In general, these (or the Bash equivalents) should be put in your .cshrc file (or .bashrc/.profile) so they can be used if you invoke MKPKG from within the CL.
For compiling external packages, there is also the assumption that the 'tables' package variable has been defined in the hlib$extern.pkg file or as an environment variable (in both cases, with a trailing '/'). Compiling external packages also requires the '-p' flag to load a specific package environment, e.g.
Code:
mkpkg -p tables
to do the compilation. Pre-built binaries are available for most popular systems as well.
Executing mkpkg tables return the error
Warning, mkpkg line 188: could not find mkpkg module or label 'tables'
Warning, mkpkg line 188: no entry in mkpkg file for 'tables'
I've edited extern.pkg and .cshrc as you suggested. Any other help with this?
The command is "mkpkg -p tables" not "mkpkg tables". The first uses the '-p' flag to name 'tables' as the package environment, the second command tells mkpkg to execute the 'tables' directive in the mkpkg file (which doesn't exist).
mkpkg -p tables produces nothing but pages and pages of errors, gongi into IRAF then trying to run tables produces the error
ERROR:Task 'tables' has no param file.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum