Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-03-2003, 03:09 AM   #1
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
make command doesn't work (and most other commands)

I just installed KDE on my apple running os X 10.2.4.

It works just fine, no problems at all...just that tje os x terminal and the terminal in KDE both don't seem to understand the 'make' command....so they also don't understand the make install and stuff like that..

I'm sure it should work 'cause in every tutorial I've passed everybody is using it and talking about it...

I really have no idea what I'm doing wrong or what I'm missing or anything...

PLZ help me!!!....I want to install GAIM, Opera and some other stuff on XDarwin/KDE...

Btw: I was really surprised that I got KDE working so well and it's cewl that it also works with virtual desktop so it's even easier to switch between OS x and KDE all the time.

I'm a graphical designer....but I also love to learn more about Linux so this is really the best thing I could wish for =))

Tnx!
later.
skeetone is offline   Reply With Quote
Old 04-03-2003, 04:39 AM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
skeetone,

How did you installed kde? And what version did you installed?

What does "ls -la /usr/bin/make" give?
Code:
% ls -la /usr/bin/make
lrwxr-xr-x    1 root     wheel        7 Apr  2 19:03 /usr/bin/make -> gnumake

% ls -la `which gnumake`
-rwxr-xr-x    1 root     wheel      152220 Dec 29 04:04 /usr/bin/gnumake
If you instead get an error like "make: no target to make.", you have a bad version of make (possibly left by GNU-Darwin). In this case, remove /usr/local/bin/make.
sao is offline   Reply With Quote
Old 04-03-2003, 04:58 AM   #3
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
tnx

Tnx I'll give it a try...

pfff....how I got it working..?
Good question... =))

I've been lookig at about 15 different sites, and just used some hints on how to do it from all of them and just played around...I got it working in about 3 hours....and I'm really a newbie with all this...so if I can get it working anybody can...

First I just used Fink commander to get the KDEBundle to install and stuff....

then I just used this site
http://fink.sourceforge.net/news/kde.php

to configure the .xinitrc file to make sure KDE starts up when XDarwin starts up....that was about it I guess....

BTW. I couldn't save the .xinitrc file after configuring it probably because of the same reason the make command doesn't work at my computer....so I just gave it another name in the pico and then used Path Finder to show the hidden files in the home directory and removed the old .xinitrc file and called the one I saved .xinitrc
I don't think most people need to do it like that...but it worked fine anyway..

http://fink.sourceforge.net/news/kde.php

Tnx again....I'll try your tip now.
later.
skeetone is offline   Reply With Quote
Old 04-03-2003, 05:03 AM   #4
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
ls -la /usr/bin/make didn't work

I got a return saying that there was no such file after typing ls -la /usr/bin/make...


Back in the dark again =)

If anybody can help....well..

tnx =)
skeetone is offline   Reply With Quote
Old 04-03-2003, 05:06 AM   #5
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
skeetone,

It seems you installed kde correctly.
sao is offline   Reply With Quote
Old 04-03-2003, 05:25 AM   #6
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
skeetone,

I think to get /usr/bin/make you need installed the BSD subsystem (From the OS X installer CD) and Apple December 2002 Developer Tools. From my system:
Code:
% grepbom /usr/bin/make
.........../usr/bin/make_printerdef     381,492 Sun Jul 28 11:03:19 2002
./usr/bin/make_smbcodepage      377,084 Sun Jul 28 11:03:19 2002
./usr/bin/make_unicodemap       377,040 Sun Jul 28 11:03:19 2002
./usr/bin/makeinfo      189,124 Sun Jul 28 10:55:39 2002
   ====> /Library/Receipts/BSD.pkg/Contents/Archive.bom


........./usr/bin/make  7       Tue Nov  5 17:21:21 2002
   ====> /Library/Receipts/DevTools.pkg/Contents/Archive.bom
What do you get when you run just:

% which make

Last edited by sao; 04-03-2003 at 05:50 AM.
sao is offline   Reply With Quote
Old 04-03-2003, 05:29 AM   #7
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
again nothing =(

when I try that I just get this:

make: command not found


I'll try that other stuff you also wrote =)
Sorry for calling it just stuff....but like I said...for me it's all just stuff for now...but I'm learning!! =))

Tnx again!
skeetone is offline   Reply With Quote
Old 04-03-2003, 05:31 AM   #8
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
grepbom doesn't work

also doesn't understand grepbom.....

I'm starting to think I'm really stupid.. =)

well...I'll just keep looking and trying =)

I just wanne install Opera and GAIM...but well...I like these sorts of problems 'cause I think I'll just learn it more this way...

later.
skeetone is offline   Reply With Quote
Old 04-03-2003, 05:45 AM   #9
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
I've got the BSD subsystem installed 'cause I just read that when I type
apropos
in the terminal and I get
usage: apropos keyword ...
then the BSD subsystem is installed...

Not sure if this is the case for sure then....but it seems that way...
skeetone is offline   Reply With Quote
Old 04-03-2003, 05:48 AM   #10
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
skeetone wrote:
also doesn't understand grepbom.....

Of course will not work for you as you don't have the script I'm using, grepbom is just a little 3 line shell script that sits in ~/bin:
Code:
~/bin/grepbom:
#!/bin/sh
[ -z $1 ] && exec echo "usage: grepbom REGEXP"
find /Library/Receipts/ -name \*.bom -exec ~/bin/grepbom1 '{}' $1 \;
printf "\n"

~/bin/grepbom1:
#!/bin/sh
CR=1
echo -n "."
lsbom -p fST "$1" |grep $2 && printf "   ====> %s\n\n" $1 && CR=0
[ ${CR} -eq 0 ] &&  printf "\n"
Please, to solve your problem, after you register for free, you can download and install Apple December 2002 Developer Tools, from the:

http://developer.apple.com/index.html

That will install for you /usr/bin/make

Last edited by sao; 04-03-2003 at 06:13 AM.
sao is offline   Reply With Quote
Old 04-03-2003, 05:49 AM   #11
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
okiz...I'll do that now..

tnx for all the help sorry for all those (probably stupid) questions!! =)

later!
skeetone is offline   Reply With Quote
Old 04-03-2003, 06:34 AM   #12
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
skeetone,

Good luck and take your time, as it is a big download (301.2 MB)
sao is offline   Reply With Quote
Old 04-03-2003, 07:45 AM   #13
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
TNX!! =))

It's working now...I just installed Gaim and it's working like a charm =)
skeetone is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:06 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.