| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jan 12, 2005
Location: /home/sheffield/UK
Posts: 1,278
![]() Mac Specs: 12" 1Ghz PB 768Mb 10.4.5 30Gb Video iPod 40Gb 3G iPod 1Gb iPod Shuffle
|
right im starting to play now :p
installed XCode and then installed darwinports follwed the instructions here and then did a sudo ports install gaim and it gave me that the command wasnt found!? Any ideas as to why anyone |
| QUOTE Thanks | |
![]() Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
![]() Mac Specs: G4 1Ghz OS X 10.4.7
|
sudo - execute a command as another user SYNOPSIS sudo -V | -h | -l | -L | -v | -k | -K | -s | [ -H ] [-P ] [-S ] [ -b ] | [ -p prompt ] [ -c class|- ] [ -a auth_type ] [ -u username|#uid ] command DESCRIPTION sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. The real and effective uid and gid are set to match those of the target user as specified in the passwd file (the group vector is also initialized when the target user is not root). By default, sudo requires that users authenticate themselves with a password (NOTE: by default this is the user's pass- word, not the root password). Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password for a short period of time (5 minutes unless overridden in sudoers). sudo determines who is an authorized user by consulting the file /etc/sudoers. By giving sudo the -v flag a user can update the time |
||||
| QUOTE Thanks | |||||
![]() Member Since: Feb 14, 2004
Location: South-East Texas
Posts: 1,805
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 21in Dual core 3 ghz iMac, 13in Macbook - Mountain Lion on both
|
Craig in Texas ---You did WHAT!? Close the Terminal and step away slowly. |
| QUOTE Thanks | |
![]() Member Since: Dec 30, 2002
Location: Sunny So Cal
Posts: 2,118
![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: G5•2x1.8•1.5•320•8x+/-
|
|
| QUOTE Thanks | |
![]() Member Since: Jan 12, 2005
Location: /home/sheffield/UK
Posts: 1,278
![]() Mac Specs: 12" 1Ghz PB 768Mb 10.4.5 30Gb Video iPod 40Gb 3G iPod 1Gb iPod Shuffle
|
|
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
My guess the port command is not in your path.
Try the folllowing: sudo ./port install gaim That is asuming you are sitting where you installed the software. THe next question is did you have a problem with the xcode install or the darwinports install? Life isn't about waiting for the storm to pass, It's about learning to dance in the rain! Last edited by rman; 04-28-2005 at 09:05 AM. |
| QUOTE Thanks | |
![]() Member Since: Jan 12, 2005
Location: /home/sheffield/UK
Posts: 1,278
![]() Mac Specs: 12" 1Ghz PB 768Mb 10.4.5 30Gb Video iPod 40Gb 3G iPod 1Gb iPod Shuffle
|
|
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
I am assuming the you are trying to run a command called port and the system does not know where the command is located.
Try the following to see if you can locate the command. sudo find / -name port -exec ls -l {} \; Enter the above line jet as it is. Hopefully, it will locate the command. If it does not, then it is not on your system. Life isn't about waiting for the storm to pass, It's about learning to dance in the rain! |
| QUOTE Thanks | |
![]() Member Since: Jan 12, 2005
Location: /home/sheffield/UK
Posts: 1,278
![]() Mac Specs: 12" 1Ghz PB 768Mb 10.4.5 30Gb Video iPod 40Gb 3G iPod 1Gb iPod Shuffle
|
-r-xr-xr-x 1 root admin 23191 27 Apr 23:43 /opt/local/bin/port
total 168 drwxr-xr-x 6 matthewa matthewa 204 27 Apr 23:37 CVS -rw-r--r-- 1 matthewa matthewa 926 17 Dec 02:07 Makefile -rw-r--r-- 1 matthewa matthewa 23191 27 Apr 23:43 port -rw-r--r-- 1 matthewa matthewa 7175 21 Mar 19:38 port.1 -rwxr-xr-x 1 matthewa matthewa 23189 20 Apr 04:53 port.tcl -rw-r--r-- 1 matthewa matthewa 2661 27 Apr 23:43 portall -rwxr-xr-x 1 matthewa matthewa 2659 29 Mar 10:00 portall.tcl -rw-r--r-- 1 matthewa matthewa 4893 27 Apr 23:43 portindex -rwxr-xr-x 1 matthewa matthewa 4891 29 Mar 10:00 portindex.tcl -rw-r--r-- 1 matthewa matthewa 23191 27 Apr 23:43 /Users/matthewayres/darwinports/base/src/port/port is what it gives so that means that its installed yes? |
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
Now that you know it is installed, do the following:
sudo /opt/local/bin/port install gaim Life isn't about waiting for the storm to pass, It's about learning to dance in the rain! |
| QUOTE Thanks | |
![]() Member Since: Jan 12, 2005
Location: /home/sheffield/UK
Posts: 1,278
![]() Mac Specs: 12" 1Ghz PB 768Mb 10.4.5 30Gb Video iPod 40Gb 3G iPod 1Gb iPod Shuffle
|
|
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
I don't know about the tcsh (trusted shell), but I know you can in csh (c shell) and ksh (kron shell). I believe the file that you want to create is the .tcshrc
Below is an example, I found my googling .tcshrc. Modifying your .tcshrc file The following is an example .tcshrc file. The most up-to-date version is located in /usr/local/tcsh as tcsh.cshrc. set prompt="%S %m %/ %s%% " set path = ( . /usr/local/bin /usr/local/lang /usr/local/X11/bin /usr/ucb /usr/bin /usr/etc /usr/openwin/bin /usr/local/wp/wpbin $path) set history=50 set savehist setenv MANPATH /usr/local/man:/usr/man:/usr/local/X11/man:/usr/local/pbmplus/man:/usr/local/lang/man:/usr/local/tex/man:/usr/local/gmt/man:/usr/local/hdf/man:/usr/local/mathematica/Documents/man:/usr/local/netcdf/man:/usr/local/ncar/man:/usr/local/splus/man:/usr/local/mathematica/man:/usr/local/lotus/man setenv TEXINPUTS .:/usr/local/tex/inputs setenv LD_LIBRARY_PATH /usr/lib:/usr/local/X11/lib:/usr/local/lang/SC1.0 umask 022 limit coredumpsize 0 # # # setting your editor, uncomment one of these pairs # #setenv EDITOR emacs #setenv VISUAL emacs #setenv EDITOR vi #setenv VISUAL vi # # setting your pager, uncomment one of these # #setenv PAGER less #setenv PAGER more # # setting your printer, use the PRINTER and LASER environment variables # in the following you will need to add the printer name # # current printers are: nautilus, discovery, garth, wayne (letterhead), and # aurora (not postscript) # #setenv PRINTER #setenv LASER # if you use any of the following uncomment #source /usr/local/Standards/gmt #source /usr/local/Standards/hdf #source /usr/local/Standards/idl #source /usr/local/Standards/imsl #source /usr/local/Standards/ncar #source /usr/local/Standards/pbmplus #source /usr/local/Standards/nodctools #source /usr/local/Standards/netcdf #source /usr/local/Standards/lterSetUp #source /usr/local/Standards/mathematica # if you want to put customizations put them in a separate file and source # it here. Life isn't about waiting for the storm to pass, It's about learning to dance in the rain! |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
All times are GMT -4. The time now is 02:20 PM.
Powered by vBulletin