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

Prebuilt bindirs not at expected location(s) #3

Open
whittle opened this issue Jun 26, 2013 · 1 comment
Open

Prebuilt bindirs not at expected location(s) #3

whittle opened this issue Jun 26, 2013 · 1 comment

Comments

@whittle
Copy link

whittle commented Jun 26, 2013

When using the prebuilt branch, the binaries are not at the expected/configured paths.

Steps to reproduce (installation as per http://weblog.luite.com/wordpress/?p=14):

% git checkout prebuilt
Branch prebuilt set up to track remote branch prebuilt from origin by rebasing.
Switched to a new branch 'prebuilt'
% vagrant up
There were warnings and/or errors while loading your Vagrantfile.
Your Vagrantfile was written for an earlier version of Vagrant,
<snip>
notice: /Stage[main]//Exec[apt-update]/returns: executed successfully
notice: Finished catalog run in 6.87 seconds
% vagrant ssh
There were warnings and/or errors while loading your Vagrantfile.
Your Vagrantfile was written for an earlier version of Vagrant,
<snip>
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:22:31 2012 from 10.0.2.2
$ which ghcjs
$ echo $PATH
/home/vagrant/ghcjs/bin:/home/vagrant/.cabal/bin:/home/vagrant/ghc/bin:/home/vagrant/jsshell:/home/vagrant/node-v0.10.10-linux-x86/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin
$ ls /home/vagrant/ghcjs/bin
ls: cannot access /home/vagrant/ghcjs/bin: No such file or directory
$ ls /home/vagrant/ghcjs
dist  examples  ghcjs.cabal  include  LICENSE  patch  README.markdown  rts  Setup.hs  sources.txt  src  src-bin  test
$ file /home/vagrant/ghcjs/dist/build/ghcjs/ghcjs
/home/vagrant/ghcjs/dist/build/ghcjs/ghcjs: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x3dad54a0f66f0a750dbbba28b017c7a8b799fc60, not stripped
$ ls /home/vagrant/.cabal/bin
ls: cannot access /home/vagrant/.cabal/bin: No such file or directory
$ cat /home/vagrant/.cabal/config 
-- This is the configuration file for the 'cabal' command line tool.
<snip>
install-dirs user
  -- prefix: /home/vagrant/.cabal
  -- bindir: $prefix/bin
<snip>
install-dirs global
  -- prefix: /usr/local
  -- bindir: $prefix/bin
<snip>
  -- htmldir: $docdir/html
  -- haddockdir: $htmldir
$ ls -Al /usr/local/bin/
total 0
@luite
Copy link
Member

luite commented Aug 12, 2013

sorry for the late reply, I'm not sure what's the problem but i'm updating the prebuilt image now (some major updates) and check this. thanks for the report

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