Menu

#13 Configure problems on Darwin 14 (Mac OS X 10.10 Yosemite)

open
nobody
None
5
2015-01-11
2014-12-26
Threyon
No

Whenever I try to run the configure tool, I keep getting an error message that reads "Sorry, but I can't find an ANSI C compiler here." I think it's having trouble locating my version of GCC. Is there some way to fix this? I've followed the guide here to try to get it to run on Mac OS X, but I don't think these are for AFTER configure is run.

Related

Support Requests: #13

Discussion

  • Threyon

    Threyon - 2014-12-26

    do think*

     
  • Todd Sundsted

    Todd Sundsted - 2014-12-26

    Those instructions are out of date. You should be able to compile on recent versions of OSX if you have installed XCode.

     
    • Threyon

      Threyon - 2014-12-27

      I have the latest version of XCode installed. Should I just leave the files unedited, then? I didn't think that would affect the configure script.
      (Sorry if you got a double post. Forgot to click the 'reply' button on the first time around.)

       
  • Threyon

    Threyon - 2014-12-27
     

    Last edit: Threyon 2014-12-27
  • Goblin

    Goblin - 2014-12-29

    Try running 'autoconf' before running './configure'

     
    • Threyon

      Threyon - 2014-12-29

      There is no autoconf file. At least, not in the version of the server I downloaded (1.8.1).

       
  • Goblin

    Goblin - 2014-12-29

    I think it's called aclocal.m4, but it shouldn't matter..
    If you have autoconf installed, you should be able to run it from the source-directory

     
    • Threyon

      Threyon - 2014-12-29

      Ahh, wasn't aware that was something I had to install. Thought it was a script included with the software itself. I have it installed now, and ran it with the configure.in file (since it looks like that's the one that should be used with autoconf). I got a huge amount of output on my screen, beeped a couple times, but no new configure script came of it at all.

       
  • Goblin

    Goblin - 2014-12-29

    Wouldn't know... I guess there's only one way to find out!

     
    • Threyon

      Threyon - 2015-01-01

      After doing some research, it seems libc6-dev is a Linux-only fix. I did find a possible lead on a library called gettext, but that didn't fix the problem either. Then I tried finding every compiler software I could find for OS X (ghc, pcre, darcs, gnutls, gcc48) and still nothing.

       
  • Goblin

    Goblin - 2015-01-01

    Well, you may try and edit Makefile.in and change the first line to:
    CC = /path/to/gcc

    I doubt if it will work, as it seems you're missing a library, but worth the try

     
  • Threyon

    Threyon - 2015-01-11

    No, that didn't seem to work either, Is there a way to tell it exactly which directory to use with the new gcc (4.8) when running the configure script?

     

    Last edit: Threyon 2015-01-11
  • Threyon

    Threyon - 2015-01-11

    UPDATE= OK, so after digging around a bit, I found out how to make the configure script use the newer GCC command, and finally got it to run successfully. Now my new problem is with the make file. It's giving me an error which is way over my head. I've attached the entire session from fresh install to the new problem.

     
  • Goblin

    Goblin - 2015-01-11

    Edit my-stat.h and replace line 35 with this:
    extern int mknod(const char *file, mode_t mode, dev_t dev);

     
    • Threyon

      Threyon - 2015-01-11

      Got it working now, thanks a lot! ^_^

       

Log in to post a comment.