codes-org / codes

The Co-Design of Exascale Storage Architectures (CODES) simulation framework builds upon the ROSS parallel discrete event simulation engine to provide high-performance simulation utilities and models for building scalable distributed systems simulations
Other
40 stars 16 forks source link

configure does not test for pkg-config (Imported #145) #145

Closed nmcglo closed 5 years ago

nmcglo commented 8 years ago

Original Issue Author: Justin Wozniak Original Issue ID: 145 Original Issue URL: https://xgitlab.cels.anl.gov/codes/codes/issues/145


(It is not installed by default in Ubuntu.) (Apparently, I cannot assign this to myself.)

nmcglo commented 8 years ago

Justin Wozniak:

Verified!

nmcglo commented 8 years ago

Justin Wozniak:

Ah, it does but it proceeds past the check only to fail confusingly later-

...
checking for ranlib... ranlib
checking for pkg-config... no
checking for mpicc option to accept ISO C99... none needed
checking how to run the C preprocessor... mpicc -E
...
checking for ROSS... no
/home/wozniak/proj/CODES/code/configure: line 7448: --static: command not found
configure: error: Could not find working ross installation via pkg-config
nmcglo commented 8 years ago

Jonathan Jenkins:

Strange, I thought the autoconf macro checked for it - in either case, it's a trivial fix so I'll go ahead and patch it.

nmcglo commented 8 years ago

Jonathan Jenkins:

Just pushed the check, can you verify the correct behavior?

nmcglo commented 8 years ago

Jonathan Jenkins:

Yes, we check through the macro PKG_PROG_PKG_CONFIG, so we just need to check the PKG_CONFIG variable after that.

nmcglo commented 8 years ago

Justin Wozniak:

Status changed to closed