NCAR/lrose-core

build_auto issue

Closed this issue · 6 comments

Hi Mike,

I've caught a snag running the auto build script for lrose. lrose-netcdf installed with no problems and the python makefile generator worked fine. I'm running fedora 27 64-bit.

Here's the error below, please let me know what you think.

Cheers,
Joshua

running cmd: /home/meso/dev/lrose-core/codebase/make_bin/createMakefile.am.app.radx.py --dir ./apps/spdb_utils/src/run_PrintSigAirMet --libList Mdv,dataport,didss,dsdata,dsserver,euclid,Fmq,physics,rapformats,rapmath,rapplot,tdrp,toolsa ERROR - createMakefile.am.app.radx.py Cannot find TARGET_FILE in __makefile.template dir: ./apps/spdb_utils/src/run_PrintSigAirMet Traceback (most recent call last): File "./make_bin/createConfigure.am.py", line 475, in <module> main() File "./make_bin/createConfigure.am.py", line 98, in main searchDir(appsDir) File "./make_bin/createConfigure.am.py", line 259, in searchDir searchDir(subdirPath) File "./make_bin/createConfigure.am.py", line 259, in searchDir searchDir(subdirPath) File "./make_bin/createConfigure.am.py", line 259, in searchDir searchDir(subdirPath) File "./make_bin/createConfigure.am.py", line 246, in searchDir runCommand(cmd) File "./make_bin/createConfigure.am.py", line 460, in runCommand retcode = subprocess.check_call(cmd, shell=True) File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/home/meso/dev/lrose-core/codebase/make_bin/createMakefile.am.app.radx.py --dir ./apps/spdb_utils/src/run_PrintSigAirMet --libList Mdv,dataport,didss,dsdata,dsserver,euclid,Fmq,physics,rapformats,rapmath,rapplot,tdrp,toolsa' returned non-zero exit status 1

@mike-dixon Hi Mike, any ideas why I might be getting these build errors?
I can confirm that @yuxxer49 recommendation also works for me

I took a look at that error you are getting.

Were you building lrose or radx?

We did have some problems with commit 02c96b4, just after 30f345, and fixed some file-specific commits after that.

Looking at the error messages I am puzzled about why it would try to compile run_PrintSigAirMet, which is a perl script and is not in the build. There is a default 'Makefile' in the spdb_utils/src directory which appeared to be invoked in this case. I cleaned up that Makefile just in case it is being used.

Can you please try again and see how you go?

Thanks

Mike

Hi Mike,
I've had to rebuild my machine and now stuck with a different problem (likely due to using Ubuntu 18.04)
./configure: line 20906: syntax error near unexpected token QT,' ./configure: line 20906: PKG_CHECK_MODULES(QT, Qt5Core Qt5Widgets Qt5Gui Qt5Network, HAVE_QT="yes", HAVE_QT="no")'

I might just use a VM. Do you recommend a specific OS/version?

Joshua,

Apologies for my familiarity in the previous comment. I know a number of Joshuas who all go by Josh, and just typed that out of habit...