[Slackbuilds-users] SlackBuilds-users Digest, Vol 129, Issue 29

renan myeyeismadeofglass at gmail.com
Thu Jan 19 18:47:49 UTC 2017


> Hi
> > I can build atom successfully, but it does not run, showing the
> > following error:
> > "/usr/share/atom/atom: cannot execute binary file"
> >
> > I'm on 14.2 32 bit. Running "file /usr/share/atom/atom" I see that it
> > is a 64 bit executable. Next I tried to force ARCH="" in the
> > slackbuild script, but the outcome still is 64 bit.
> >
> Sometimes npm does not correctly detect the architecture, ia32 or
> x86_64, this bug appeared to have been fixed in previous versions.
>
> You can try modifying the following lines to the slackbuild to see if
> this solves the problems:
>
> npm_config_arch=ia32 npm_config_target_arch=ia32 PYTHON=python2 \
>   ./script/build --build-dir=$BUILD_DIR
>
> --
> Dhaby Xiloj
>
> Hello,

Thanks for your answer. Unfortunately, it did not solve the problem. Also,
the variable $BUILD_DIR is not defined in the script.

[]s
Renan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170119/14c43e9e/attachment-0001.html>


More information about the SlackBuilds-users mailing list