New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

configure: error: no acceptable C compiler found in $PATH


Post Reply New Thread Subscribe

 
Thread Tools
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
Hi there,

I am trying to instal MD5deep from the terminal and get this error.
I have Xcode installed, which I think has a C compiler.
How con I point the instal ./config file to see an acceptable compiler?
Or is there some other way to do this?
Thanks!
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,818
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Xcode should have set everything up properly when it was installed including symlinks. It's possible that something went wrong during the install - some people around here have had issues with GCC not being found. If you execute the following command, what does it print back?
Code:
which gcc

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
gcc: Command not found.
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
log file....


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/md5deep-3.9.1':
configure: error: no acceptable C compiler found in $PATH
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,818
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
GCC then is either not installed or is not in your PATH. The simple solution would be to reinstall XCode unless you want to take a look and see if it actually was installed. Take a look in /Developer/usr/bin and check to see if there is a version of gcc installed there. If it is in fact there (the binary will be named gcc-X.X where X.X is the version number), you can quickly symlink it to /usr/bin:
Code:
sudo ln -s /Developer/usr/bin/<name of gcc version you want to use> /usr/bin/gcc

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
just reinstalled XCode...ran this...


gcc ==version
i686-apple-darwin9-gcc-4.0.1: ==version: No such file or directory
i686-apple-darwin9-gcc-4.0.1: no input files
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
gonna try the MD5deep config again
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,818
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
It's two dashes, not equal signs. That said, it looks as if GCC is installed and ready to go.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
well...it looks like it loaded...but get errors when I try to use it...
trying to do what they say on their website -

Computing hashes

By default, md5deep generates MD5 hashes for each input file, displaying the full path information for each file:
$ md5deep config.h INSTALL README
b08b18e0a3d2440feb0b321ea8080b36 /home/jessek/coreutils-5.2.0/config.h
9f3e20fdff9c78aa8e3f9b42be166769 /home/jessek/coreutils-5.2.0/INSTALL
4aa18483f73fc56c907f0ae9025e2582 /home/jessek/coreutils-5.2.0/README


i get

[mymachine:~] user% md5deep config.h INSTALL README
md5deep: Command not found.
[mymachine:/md5deep-3.9.1] user% /md5deep-3.9.1/md5deep config.h INSTALL README
/md5deep-3.9.1/md5deep: Permission denied.
[mymachine:/md5deep-3.9.1] user% sudo /md5deep-3.9.1/md5deep config.h INSTALL README
Password:
sudo: /md5deep-3.9.1/md5deep: command not found
[mymachiner:/md5deep-3.9.1] user% config.h INSTALL
config.h: Command not found.
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
these are the only "no"s during the install


checking for gawk... no
checking for mawk... no
checking for nawk... no
checking whether we are cross compiling... no

checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no

checking whether byte ordering is bigendian... no
checking whether closedir returns void... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc needs -traditional... no
checking whether lstat correctly handles trailing slash... no
checking whether lstat accepts an empty string... no
checking whether lstat correctly handles trailing slash... (cached) no
checking whether stat accepts an empty string... no
checking for _doprnt... no

md5deep should be a command right?
its really a folder
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
this is what I am using as guide

Getting Started with md5deep
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,818
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Might I suggest that you use something like MacPorts. Once you have that installed, all you have to do is execute the following to update the ports:
Code:
sudo port sync
and install md5deep:
Code:
sudo port install md5deep
That will download it and install it along with the dependencies.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
thanks...trying that now...

can you tell me why I need to do that?
just curious why this is soooo incredibly difficult!

Thank you for all of your help too....
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
well...this sucks...


[mymachine:~] user% sudo port sync
sudo: port: command not found

[mymachine:~] user% sudo port install md5deep
sudo: port: command not found
QUOTE Thanks
zdvdla

 
Member Since: Jun 15, 2011
Posts: 14
zdvdla is on a distinguished road

zdvdla is offline
well...finally some good news....but not enough...

[mymachine:~] user% sudo port install md5deep
---> Fetching md5deep
---> Attempting to fetch md5deep-3.9.1.tar.gz from md5deep and hashdeep - Browse Files at SourceForge.net
---> Verifying checksum(s) for md5deep
---> Extracting md5deep
---> Configuring md5deep
---> Building md5deep
---> Staging md5deep into destroot
---> Installing md5deep @3.9.1_0
---> Activating md5deep @3.9.1_0
---> Cleaning md5deep

[mymachine:~] user% md5deep config.h INSTALL README
md5deep: Command not found.

Why do they say to use this line of code if md5deep is not a command?

What else could be going on here?
This really is sucking.....

thanks again...just can't see why the docs are so careless....
QUOTE Thanks

Post Reply New Thread Subscribe


« Applescripting, move mouse and click by pushing one button? | Spotlight Stuck on Indexing »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Successfully removed the ACL found but not expected warnings in permissions repair 6string OS X - Operating System 1 09-25-2009 01:10 PM
Beeeping noise!! d_spaniard Apple Desktops 11 11-28-2008 08:03 PM
gcc compiler, no stdio.h found lzco OS X - Development and Darwin 6 10-21-2005 04:23 PM

All times are GMT -4. The time now is 06:03 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?