Comments (5)
What platform are you on, and how did you install ncurses? I just ran this on our Linux cluster and it installed ok:
$ spack install ncurses
...
==> Successfully installed ncurses
[+] /g/g21/gamblin2/src/spack/opt/chaos_5_x86_64_ib/[email protected]/[email protected]
$ ls /g/g21/gamblin2/src/spack/opt/chaos_5_x86_64_ib/[email protected]/[email protected]
bin/ include/ lib/ man/ share/
Can you send me build output?
from spack.
I'm running the develop branch and I'm on ubuntu 14.04. I'm install tmux, this pulls in ncurses, it errors with this...
** creating formw.pc ** creating menuw.pc ** creating menuw.pc ** creating ncurses++w.pc ** creating ncursesw.pc ** creating ncursesw.pc ** creating panelw.pc ** creating panelw.pc touch pc-files /bin/sh -c 'for name in *.pc; do /usr/bin/install -c -m 644 $name /usr/lib/pkgconfig/$name; done' /usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/formw.pc’: Permission denied /usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/menuw.pc’: Permission denied /usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/ncurses++w.pc’: Permission denied /usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/ncursesw.pc’: Permission denied /usr/bin/install: cannot create regular file ‘/usr/lib/pkgconfig/panelw.pc’: Permission denied make[1]: *** [install.libs] Error 1 make[1]: *** Waiting for unfinished jobs.... 1600 entries written to /home/jtang/develop/spack/opt/unknown_arch/[email protected]/[email protected]/share/terminfo ** built new /home/jtang/develop/spack/opt/unknown_arch/[email protected]/[email protected]/share/terminfo ** sym-linked /home/jtang/develop/spack/opt/unknown_arch/[email protected]/[email protected]/lib/terminfo for compatibility installing std installing stdcrt installing vt100 installing vt300 make[1]: Leaving directory `/tmp/spack-stage/spack-stage-pfBwZ5/ncurses-5.9/misc' make: *** [install] Error 2 Traceback (most recent call last): File "/home/jtang/develop/spack/lib/spack/spack/package.py", line 754, in do_install self.install(self.spec, self.prefix) File "/home/jtang/develop/spack/var/spack/packages/ncurses/package.py", line 22, in install make("install") File "/home/jtang/develop/spack/lib/spack/spack/build_environment.py", line 81, in __call__ super(MakeExecutable, self).__call__(*args, **kwargs) File "/home/jtang/develop/spack/lib/spack/spack/util/executable.py", line 83, in __call__ % (" ".join(cmd), proc.returncode)) spack.util.executable.ProcessError: command 'make -j4 install' returned error code 2
from spack.
Can you try the version on the bugfix/ncurses-pkgconfig branch that I just pushed?
from spack.
bugfix/ncurses-pkgconfig works, also I have a temp fix in my clone which removes the 'enable-pc-files' line and that works too.
from spack.
Ok, I'll merge the --disable-pc-files version into develop and add a TODO to get the pkgconfig files working. I think I could do this by simply setting PKG_CONFIG_LIBDIR in the build environment, but I should do a review of how pkgconfig files are typically handled before I add that stuff.
This is really only an issue for packages outside Spack. As far as Spack is concerned, packages dependent on ncurses will get -L, -I, and -Wl,-rpath args for it anyway, so their builds should find the deps without pkgconfig.
Thanks!
from spack.
Related Issues (20)
- Installation issue: armadillo HOT 1
- Create/refresh lmod for packages installed with a specific compiler HOT 1
- sqlite refactor to have multiple builders misplaced get_arch HOT 1
- `buildcache push`: cryptic error when required OCI credentials are missing HOT 4
- Installation issue: qt HOT 1
- Add version 6+ to rocm packages (hip/roctracer/rocprofiler etc) HOT 2
- Installation issue: cmake%[email protected] HOT 5
- Installation issue: py-torchvision HOT 1
- Installation issue: py-jupyter-server build error when using different gcc backend for Intel HOT 9
- Update NVSHMEM to v2.10.1
- spack -e . load <pkg> fails: erroneous report that `spack load` requires Spack's shell support.
- Windows: Failure to move files across drives HOT 4
- Installation issue: [email protected] fails to build on systems that don't have a `python3` interpreter in the default search path HOT 1
- R does not work after relocation HOT 6
- a cargo interface to expose spack packages to rust packages HOT 7
- Installation issue: [email protected] %[email protected]+ nvptx ^cuda
- Environment: external and %gcc fails view update HOT 2
- Installation issue: [email protected] HOT 2
- Installation issue: [email protected] and [email protected] fail due to use of non-const SIGSTKSZ
- Installation issue: ncurses@:6.0 needs cppflags=-P, c++14, and const-correctness patch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spack.