Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1


    Member Since
    Jun 15, 2011
    Posts
    14
    configure: error: no acceptable C compiler found in $PATH
    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!

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  3. #3


    Member Since
    Jun 15, 2011
    Posts
    14
    gcc: Command not found.

  4. #4


    Member Since
    Jun 15, 2011
    Posts
    14
    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

  5. #5

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  6. #6


    Member Since
    Jun 15, 2011
    Posts
    14
    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

  7. #7


    Member Since
    Jun 15, 2011
    Posts
    14
    gonna try the MD5deep config again

  8. #8

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  9. #9


    Member Since
    Jun 15, 2011
    Posts
    14
    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.

  10. #10


    Member Since
    Jun 15, 2011
    Posts
    14
    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

  11. #11


    Member Since
    Jun 15, 2011
    Posts
    14
    this is what I am using as guide

    Getting Started with md5deep

  12. #12

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  13. #13


    Member Since
    Jun 15, 2011
    Posts
    14
    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....

  14. #14


    Member Since
    Jun 15, 2011
    Posts
    14
    well...this sucks...


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

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

  15. #15


    Member Since
    Jun 15, 2011
    Posts
    14
    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....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. no acceptable C compiler found in $PATH
    By bippity in forum OS X - Operating System
    Replies: 15
    Last Post: 03-29-2012, 08:47 PM
  2. gfortran compiler error
    By Robin.Lashof in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 03-23-2011, 04:18 PM
  3. gcc compiler, no stdio.h found
    By lzco in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 10-21-2005, 05:23 PM
  4. ./configure error
    By jp_tix in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 03-05-2005, 10:18 PM
  5. Xcode C++ Compiler error
    By steved3298 in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 07-22-2004, 01:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •