Skip to content
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

Building Error. /bin/sh: line 0: cd: ../json-cwx: No such file or directory #10

Open
zinechant opened this issue Dec 30, 2017 · 2 comments

Comments

@zinechant
Copy link

zinechant commented Dec 30, 2017

Hi, I followed the steps in the file 'INSTALL' to try building the proxy app.
But I got the following error. It seems there is no 'json-cwx' directory anywhere in the repository.

zinechant@MiBookChant:~/ECP/MACSio/MACSio/macsio$ make all
cd ../json-cwx; \
mkdir build install; \
cd json-cwx; \
./autogen.sh; \
cd ..; \
cd build; \
../json-cwx/configure CC="mpicc" --prefix=`pwd`/../install
/bin/sh: line 0: cd: ../json-cwx: No such file or directory
mkdir: cannot create directory ‘build’: File exists
mkdir: cannot create directory ‘install’: File exists
/bin/sh: line 2: cd: json-cwx: No such file or directory
/bin/sh: line 3: ./autogen.sh: No such file or directory
/bin/sh: line 5: cd: build: No such file or directory
/bin/sh: line 6: ../json-cwx/configure: No such file or directory
Makefile:128: recipe for target '../json-cwx/build' failed
make: *** [../json-cwx/build] Error 127

Thanks in advance.

@jadickson
Copy link
Collaborator

Apologies, the INSTALLING file was out of date as we have now transitioned to a CMake build system.
The instructions have now been updated to reflect the new build process. Importantly, the json-cwx library has been moved to its own repository here.
Good luck using MACSio!

@zinechant
Copy link
Author

zinechant commented Jan 4, 2018

Thanks a lot for the reply.
I am not familiar with the cmake build system. But it seems that it would set the rpath to be empty. I think it would be better if cmake could include the directory containing the shared library of HDF5 and libjson-cwx in the rpath.

Install the project...
-- Install configuration: ""
-- Installing: /home/zinechant/ECP/MACSio/MACSio/MACSio/macsio
-- Set runtime path of "/home/zinechant/ECP/MACSio/MACSio/MACSio/macsio" to ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants