c compiler installed but in the wrong place... I think? [Mac OSX]
I had this foo2hp printer working until I upgraded my HD and the printing doesn't work anymore. At least I think that's when it stopped working. Anyhow, foo2hp isn't in the driver list anymore. Went to try to reinstall it, (I'm not very familiar with the terminal BTW) When I went to do the CPPFLAGS thing in terminal, I got this error:
Nicholas-Macbook:foomatic-filters-4.0.4 nicholas$ CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure --prefix=/usr
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
and googling I learned to "remake" the database somehow, and then did this technique:
Nicholas-Macbook:~ nicholas$ locate bin/gcc
and got this:
but when I do this:
Nicholas-Macbook:~ nicholas$ CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure --prefix=/usr
I get this:
-bash: ./configure: No such file or directory
Am I barking up the wrong tree? Which tree should I bark up?
Thanks for your time, if you've got some.
Edited 1 time(s). Last edit at 08/30/2010 04:13AM by rickrich.