Hello and welcome to our community! Is this your first visit?
Register

Results 1 to 3 of 3

Thread: can't install gcc-3.3.6 with mac OS X 10.4.6

  1. #1
    Newbie s0lid's Avatar
    Join Date
    Jun 2006
    Location
    Antipolo
    Posts
    47

    Default can't install gcc-3.3.6 with mac OS X 10.4.6

    Hi guys,

    i downloaded darwin ports and try to port install gcc33.

    I get this:
    *** The command '/usr/bin/gcc-3.3 -o conftest -g conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.

    How do i install gcc-3.3.6 using darwin ports?

    This is the whole error message:

    ---> Configuring gcc33
    Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_lang_gcc33/work/build" && CC=/usr/bin/gcc-3.3 /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_lang_gcc33/work/gcc-3.3.6/configure --prefix=/opt/local --enable-languages=c,c++,f77,objc --libdir=/opt/local/lib/gcc-3.3 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-dp-3.3 --with-gxx-include-dir=/opt/local/include/gcc-3.3/c++/" returned error 1
    Command output: Configuring for a powerpc-apple-darwin8.6.0 host.
    Created "Makefile" in /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_lang_gcc33/work/build
    /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwi nports.org_dpupdate_dports_lang_gcc33/work/gcc-3.3.6/configure: line 8: /usr/bin/gcc-3.3: No such file or directory
    *** The command '/usr/bin/gcc-3.3 -o conftest -g conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.

    Error: /usr/sbin/port: Status 1 encountered during processing.

  2. # ADS
    Google Adsense

    Join Date
    Always
    Location
    Advertising world
    Posts
    Many




     

  3. #2
    Apple Genius Gomi's Avatar
    Join Date
    May 2004
    Location
    Baguio
    Age
    35
    Posts
    2,170

    Default Re: can't install gcc-3.3.6 with mac OS X 10.4.6

    I'm assuming you got the GCC here?

    Have you tried Apple's GCC 4? If you're not having problems compiling with that version that's the only time you'll need 3.3...

  4. #3
    Newbie s0lid's Avatar
    Join Date
    Jun 2006
    Location
    Antipolo
    Posts
    47

    Default Re: can't install gcc-3.3.6 with mac OS X 10.4.6

    hello,

    i already resolved the problem i just installed xcode from the MAC OS X CD.

    Thanks for the reply

  5.   



 

Bookmarks

Posting Permissions

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