|
|
Makefile error
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2006
Status:
Offline
|
|
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?
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Sep 2001
Location: San Jose CA
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2006
Status:
Offline
|
|
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-
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|