FS#50252 - [nim] Location of nimbase.h /usr/lib/nim/ -> /usr/include/
Attached to Project:
Community Packages
Opened by Mike Lenzen (lenzenmi) - Thursday, 04 August 2016, 04:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 07 August 2016, 12:57 GMT
Opened by Mike Lenzen (lenzenmi) - Thursday, 04 August 2016, 04:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 07 August 2016, 12:57 GMT
|
Details
Description:
nimbase.h is currently installed to /usr/lib/nim/nimbase.h This causes running any nim generated compile scripts to fail with an error something like this: stdlib_system.c:6:21: fatal error: nimbase.h: No such file or directory The quick workaround is to run the compile script with an environment variable, like so. C_INCLUDE_PATH=/usr/lib sh compile_some-nim-script.sh If you either installed nimbase.h to /usr/include/nimbase.h or created a symlink from /usr/include/nimbase.h -> /usr/lib/nim/nimbase.h this workaround won't be required, and I believe it falls inline with standard packaging practices in arch. Additional info: Name : nim Version : 0.14.2-1 Steps to reproduce: generate a build script for any nim software and try to run it. nim c --genscript --compileonly somefile.nim mv compile_somefile.sh nimcache cd nimcache sh compile_somefile.sh |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Sunday, 07 August 2016, 12:57 GMT
Reason for closing: Fixed
Sunday, 07 August 2016, 12:57 GMT
Reason for closing: Fixed
Comment by
Alexander F. Rødseth (xyproto) -
Sunday, 07 August 2016, 12:57 GMT
Thanks for reporting. The updated package will appear in
[community] shortly.