-bash: ant: command not found

2,245 views
Skip to first unread message

pnylon

unread,
Nov 21, 2012, 4:49:26 PM11/21/12
to bigblueb...@googlegroups.com
This is my second time around setting up the VM with the dev environment and I've been in a bbb crash course for a couple days. 
But I started over because I thought I might have missed something in the first install, but then it happened again.

When I start setting up the dev environment on the VM I get stopped at:

cd ~/dev/bigbluebutton/bigbluebutton-client
ant locales

...and see this:

-bash: ant: command not found

All the necessary dev tools packages seem to be there, I mean they come with the VM so I'm still trying to figure out why it's not found. It must be something very simple I'm missing. Anyone else experience this? 

I also noticed that if I try to join in the demo I get a 404 Not Found. I was starting to wonder if I could (or should) remove the demo before I start developing or modifiying files. I'll probably just modify the bbb-client and the bbb-web for now until I understand bbb more.

Here's the "bbb-conf --clean" output:

BigBlueButton Server 0.8-beta-4 (951)
                    Kernel version: 2.6.32-41-generic-pae
                      Distribution: Ubuntu 10.04.4 LTS (32-bit)
                            Memory: 4028 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): 192.168.10.171
                              Red5: 192.168.10.171

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.10.171
                              port: 80
                    bbb-client dir: /home/firstuser/dev/bigbluebutton/bigbluebutton-client

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.10.171

/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 192.168.10.171

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH

/usr/local/bigbluebutton/core/scripts/slides.yml (record and playback)
                     playback host: 192.168.10.171


** Potential problems described below **
# Warning: nginx is not serving the client from /var/www/bigbluebutton/.
# Instead, it's being served from
#
#    /home/firstuser/dev/bigbluebutton/bigbluebutton-client
#
# (This is OK if you have setup a development environment.)

# Warning: The API demos are installed and accessible from:
#
#
# Use the API demos test your BigBlueButton setup. To remove
#
#    sudo apt-get purge bbb-demo

Thanks for any suggestions. 

Ralf Sippl

unread,
Nov 21, 2012, 5:01:32 PM11/21/12
to bigblueb...@googlegroups.com
Have you run "source ~/.profile" ? What's the output of "env | grep PATH" ?

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/klIKZRwSmLMJ.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.

pnylon

unread,
Nov 21, 2012, 5:49:56 PM11/21/12
to bigblueb...@googlegroups.com, ralf....@googlemail.com

I did run "source ~/.profile" with no change.

Here's the output of "env | grep PATH"

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/firstuser/dev/tools/grails-1.1.1/bin:/home/firstuser/dev/tools/flex/bin:/home/firstuser/dev/tools/gradle-0.8/bin


Ralf Sippl

unread,
Nov 21, 2012, 6:01:56 PM11/21/12
to bigblueb...@googlegroups.com
Looks okay to me.

What happens if you try to install ant via apt? That's part of the tools setup:
sudo apt-get install ant

pnylon

unread,
Nov 21, 2012, 6:05:26 PM11/21/12
to bigblueb...@googlegroups.com, ralf....@googlemail.com
Looks like it's already installed OK.

Reading package lists... Done
Building dependency tree
Reading state information... Done
ant is already the newest version.
The following packages were automatically installed and are no longer required:
  libaccess-bridge-java-jni libaccess-bridge-java libdigest-sha1-perl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Strange.

pnylon

unread,
Nov 21, 2012, 6:06:16 PM11/21/12
to bigblueb...@googlegroups.com, ralf....@googlemail.com
Wait a minute.... after doing that "ant locales" worked!

pnylon

unread,
Nov 21, 2012, 6:16:21 PM11/21/12
to bigblueb...@googlegroups.com, ralf....@googlemail.com
So ant was installed but couldn't be found?

Hmm, well thanks for the suggestion! That did it. Already ran ant after that and built the client. Then ran samba and I'm now looking through the files in Komodo Edit on Windows.
Reply all
Reply to author
Forward
0 new messages