Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Makefile error

Makefile error
Thread Tools
ducatisteve
Fresh-Faced Recruit
Join Date: Jun 2006
Status: Offline
Reply With Quote
Mar 30, 2006, 05:14 PM
 
This is my first time trying to use my new MBP to write a program. As a school assignment I downloaded some source code with a makefile(that will work on OSX).

When I try to compile the program using the makefile that is provided, I get makedepend command not found. Then I asked the TA, "whats going on?". He replied I need to install
X11 for it, but I already have X11(And when I tried to dl and install the version on internet it
saids I have a newer version so it's unable to install).

How do I fix it so I can compile this program with this makefile?
     
ranga
Dedicated MacNNer
Join Date: Sep 2001
Location: San Jose CA
Status: Offline
Reply With Quote
Mar 30, 2006, 07:05 PM
 
It could be that your X11 install isn't complete. See if the file:

/usr/X11R6/bin/makedepend

exists on your system. If not, then you should probably delete the X11.app and reinstall. If it does exist, your problem is likely that /usr/X11R6/bin is not in $PATH. Something like:

$ PATH="$PATH:/usr/X11R6/bin"
$ make

may fix the problem.

--ranga
     
ducatisteve  (op)
Fresh-Faced Recruit
Join Date: Jun 2006
Status: Offline
Reply With Quote
Mar 30, 2006, 08:07 PM
 
I do have
/usr/X11R6/
but it doesn't contain a bin directory.
So as I was trying to delete X11.app file. I can't find it or I don't have it.
How can I delete X11 and reinstall?
Thanks.
Matt-
     
Detrius
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status: Offline
Reply With Quote
Apr 1, 2006, 10:29 PM
 
Originally Posted by ouwaru
I do have
/usr/X11R6/
but it doesn't contain a bin directory.
So as I was trying to delete X11.app file. I can't find it or I don't have it.
How can I delete X11 and reinstall?
Thanks.
Matt-

You don't need to delete it to reinstall. The X11 app to run stuff is on the OS installer disk. However, to build stuff, you need to do a custom install when you install the developer tools. From there, you can enable the X11 developer tools.

Otherwise, you can install XFree86, or Xorg manually, or via fink.
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
Thread Tools
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 10:03 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,