[Android] CheesyNutz:
in what dir do i run this command

source build/envsetup.sh

ok i got that ( im learning as i go here lol ) now i have this

Done
tesso@PITA:~/CM10$ cd
tesso@PITA:~$ cd /home/tesso/CM10/device/samsung/captivatemtd
tesso@PITA:~/CM10/device/samsung/captivatemtd$ ./extract-files.sh
Pulling common files...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
82 KB/s (6616 bytes in 0.078s)
352 KB/s (17663 bytes in 0.048s)
14 KB/s (1221 bytes in 0.082s)
102 KB/s (8192 bytes in 0.077s)
1547 KB/s (300352 bytes in 0.189s)
806 KB/s (93672 bytes in 0.113s)
60 KB/s (4840 bytes in 0.078s)
2123 KB/s (413752 bytes in 0.190s)
1923 KB/s (335632 bytes in 0.170s)
255 KB/s (22564 bytes in 0.086s)
1376 KB/s (239176 bytes in 0.169s)
643 KB/s (62096 bytes in 0.094s)
249 KB/s (20964 bytes in 0.082s)
76 KB/s (6184 bytes in 0.078s)
75 KB/s (5972 bytes in 0.077s)
849 KB/s (106296 bytes in 0.122s)
1279 KB/s (150024 bytes in 0.114s)
2177 KB/s (870216 bytes in 0.390s)
1027 KB/s (79032 bytes in 0.075s)
170 KB/s (14392 bytes in 0.082s)
383 KB/s (35168 bytes in 0.089s)
351 KB/s (17904 bytes in 0.049s)
161 KB/s (13640 bytes in 0.082s)
476 KB/s (47352 bytes in 0.097s)
67 KB/s (5392 bytes in 0.077s)
122 KB/s (9748 bytes in 0.077s)
124 KB/s (10052 bytes in 0.078s)
1860 KB/s (482607 bytes in 0.253s)
772 KB/s (58556 bytes in 0.074s)
561 KB/s (53708 bytes in 0.093s)
852 KB/s (57984 bytes in 0.066s)
925 KB/s (57764 bytes in 0.060s)
938 KB/s (58176 bytes in 0.060s)
917 KB/s (57556 bytes in 0.061s)
933 KB/s (57924 bytes in 0.060s)
596 KB/s (57200 bytes in 0.093s)
922 KB/s (57372 bytes in 0.060s)
928 KB/s (57956 bytes in 0.060s)
927 KB/s (57396 bytes in 0.060s)
593 KB/s (56844 bytes in 0.093s)
592 KB/s (56704 bytes in 0.093s)
591 KB/s (56704 bytes in 0.093s)
566 KB/s (56568 bytes in 0.097s)
587 KB/s (56356 bytes in 0.093s)
587 KB/s (56300 bytes in 0.093s)
562 KB/s (56260 bytes in 0.097s)
585 KB/s (56232 bytes in 0.093s)
588 KB/s (56360 bytes in 0.093s)
593 KB/s (56860 bytes in 0.093s)
580 KB/s (55696 bytes in 0.093s)
Pulling device files...
2 KB/s (224 bytes in 0.090s)
2655 KB/s (1742988 bytes in 0.641s)
30 KB/s (2433 bytes in 0.078s)
374 KB/s (34608 bytes in 0.090s)
487 KB/s (45080 bytes in 0.090s)
162 KB/s (13708 bytes in 0.082s)
1865 KB/s (416192 bytes in 0.217s)
122 KB/s (9808 bytes in 0.078s)
114 KB/s (9564 bytes in 0.081s)
178 KB/s (15008 bytes in 0.082s)
256 KB/s (22636 bytes in 0.086s)
Pulling modem...
4648 KB/s (12582912 bytes in 2.643s)
tesso@PITA:~/CM10/device/samsung/captivatemtd$ cd
tesso@PITA:~$ source build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
tesso@PITA:~$ cd /home/tesso/CM10/device/samsung/captivatemtd
tesso@PITA:~/CM10/device/samsung/captivatemtd$ source build/envsetup.shbash: build/envsetup.sh: No such file or directory
tesso@PITA:~/CM10/device/samsung/captivatemtd$ cd
tesso@PITA:~$ cd /home/tesso/CM10
tesso@PITA:~/CM10$ source build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
tesso@PITA:~/CM10$ breakfast
including vendor/cm/vendorsetup.sh

You're building on Linux

Breakfast menu... pick a combo:
1. full-eng
2. cm_grouper-userdebug
3. cm_maguro-userdebug
4. cm_toro-userdebug
5. cm_toroplus-userdebug
... and don't forget the bacon!

Which would you like? [full-eng] 1
/bin/bash: bison: command not found
build/core/config.mk:345: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.
Device full not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for full not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
/bin/bash: bison: command not found
build/core/config.mk:345: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.

** Don't have a product spec for: 'full'
** Do you have the right repo manifest?

tesso@PITA:~/CM10$

i have jdk installed

tesso@PITA:~$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)