Skip to content

Prebuilt bindirs not at expected location(s) #3

Open
@whittle

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions