how long does it take to build gcc45?

Gabriele Kahlout gabriele at mysimpatico.com
Sun Dec 5 20:00:35 PST 2010


I've uninstalled and installed and finally, in 3 hours gcc45 compiled. Now
how do I install it? I.e. how do I make it such g++ -v returns 4.5 and not
4.2?
Sounds simple but my removing of g++ alias in usr/bin and replacement with a
g++ that links to g++-mp-4.5 tells me that g++ is not executable. What was I
supposed to do?

On 5 December 2010 19:00, Gabriele Kahlout <gabriele at mysimpatico.com> wrote:

>
>
> On 5 December 2010 19:00, Gabriele Kahlout <gabriele at mysimpatico.com>wrote:
>
>> sudo port -d install gcc45
>> DEBUG: Changing to port directory: /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/lang/gcc45
>> DEBUG: OS darwin/10.5.0 (Mac OS X 10.6) arch i386
>> DEBUG: org.macports.load registered provides 'load', a pre-existing
>> procedure. Target override will not be provided
>> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
>> procedure. Target override will not be provided
>> DEBUG: org.macports.distfiles registered provides 'distfiles', a
>> pre-existing procedure. Target override will not be provided
>> DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
>> DEBUG: universal variant already exists, so not adding the default one
>> Portfile changed since last build; discarding previous state.
>> DEBUG: delete:
>> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work
>> DEBUG: Starting logging for gcc45
>> DEBUG: epoch: in tree: 0 installed: 0
>> DEBUG: gmp 5.0.1_0 exists in the ports tree
>> DEBUG: gmp 5.0.1_0  is the latest installed
>> DEBUG: gmp 5.0.1_0  is active
>> DEBUG: Merging existing variants '' into variants
>> DEBUG: new fully merged portvariants:
>> DEBUG: Changing to port directory: /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/devel/gmp
>> DEBUG: OS darwin/10.5.0 (Mac OS X 10.6) arch i386
>> DEBUG: org.macports.load registered provides 'load', a pre-existing
>> procedure. Target override will not be provided
>> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
>> procedure. Target override will not be provided
>> DEBUG: org.macports.distfiles registered provides 'distfiles', a
>> pre-existing procedure. Target override will not be provided
>> DEBUG: Using group file /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
>> DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
>> DEBUG: universal variant already exists, so not adding the default one
>> DEBUG: No need to upgrade! gmp 5.0.1_0 >= gmp 5.0.1_0
>> DEBUG: epoch: in tree: 0 installed: 0
>> DEBUG: mpfr 3.0.0-p8_0 exists in the ports tree
>> DEBUG: mpfr 2.4.2-p1_0  is the latest installed
>> DEBUG: mpfr 2.4.2-p1_0  is active
>> DEBUG: Merging existing variants '' into variants
>> DEBUG: new fully merged portvariants:
>> DEBUG: Changing to port directory: /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/devel/mpfr
>> DEBUG: OS darwin/10.5.0 (Mac OS X 10.6) arch i386
>> DEBUG: org.macports.load registered provides 'load', a pre-existing
>> procedure. Target override will not be provided
>> DEBUG: org.macports.unload registered provides 'unload', a pre-existing
>> procedure. Target override will not be provided
>> DEBUG: org.macports.distfiles registered provides 'distfiles', a
>> pre-existing procedure. Target override will not be provided
>> DEBUG: Using group file /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
>> DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
>> DEBUG: universal variant already exists, so not adding the default one
>> DEBUG: Starting logging for mpfr
>> --->  Computing dependencies for mpfr
>> DEBUG: Searching for dependency: gmp
>> DEBUG: Found Dependency: receipt exists for gmp
>> DEBUG: Executing org.macports.main (mpfr)
>> DEBUG: Skipping completed org.macports.fetch (mpfr)
>> DEBUG: Skipping completed org.macports.checksum (mpfr)
>> DEBUG: setting option extract.cmd to /usr/bin/bzip2
>> DEBUG: Skipping completed org.macports.extract (mpfr)
>> DEBUG: Skipping completed org.macports.patch (mpfr)
>> --->  Configuring mpfr
>> DEBUG: Using compiler 'Mac OS X gcc 4.2'
>> DEBUG: configure phase started at Sun Dec  5 18:59:31 EST 2010
>> DEBUG: Executing org.macports.configure (mpfr)
>> DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64'
>> CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
>> LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
>> CXX='/usr/bin/g++-4.2'
>> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mpfr/work/.CC_PRINT_OPTIONS'
>> F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
>> OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c'
>> OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC_PRINT_OPTIONS='YES'
>> CC='/usr/bin/gcc-4.2'
>> DEBUG: Assembled command: 'cd
>> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mpfr/work/mpfr-3.0.0"
>> && ./configure --prefix=/opt/local'
>> 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)... yes
>> checking whether to disable maintainer-specific portions of Makefiles...
>> yes
>> checking build system type... x86_64-apple-darwin10.5.0
>> checking host system type... x86_64-apple-darwin10.5.0
>> checking for grep that handles long lines and -e... /usr/bin/grep
>> checking for egrep... /usr/bin/grep -E
>> checking for a sed that does not truncate output... /usr/bin/sed
>> checking for gcc... /usr/bin/gcc-4.2
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... configure: error: in
>> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mpfr/work/mpfr-3.0.0':
>> configure: error: cannot run C compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details.
>> shell command " cd
>> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mpfr/work/mpfr-3.0.0"
>> && ./configure --prefix=/opt/local " returned error 1
>> Error: Target org.macports.configure returned: configure failure: shell
>> command failed (see log for details)
>> DEBUG: Backtrace: configure failure: shell command failed (see log for
>> details)
>>     while executing
>> "$procedure $targetname"
>> Warning: the following items did not execute (for mpfr):
>> org.macports.destroot org.macports.configure org.macports.build
>> Log for mpfr is at:
>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mpfr/main.log
>> *DEBUG: couldn't open
>> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
>> no such file or directory
>>     while executing
>> "open [file join $dir tclIndex]"*
>> Error: Unable to upgrade port: 1
>> DEBUG: upgrade mpfr failed
>>     while executing
>> "macports::_upgrade_mport_deps $mport $target"
>>     (procedure "mportexec" line 26)
>>     invoked from within
>> "mportexec $workername $target"
>> Error: Unable to execute port: upgrade mpfr failed
>> To report a bug, see <http://guide.macports.org/#project.tickets>
>>
>>
>>
>> On 5 December 2010 18:46, Gabriele Kahlout <gabriele at mysimpatico.com>wrote:
>>
>>>
>>>
>>> On 5 December 2010 18:39, Ryan Schmidt <ryandesign at macports.org> wrote:
>>>
>>>>
>>>> On Dec 5, 2010, at 17:32, Gabriele Kahlout wrote:
>>>>
>>>> > shall i go with uninstall + install, or just intall this:
>>>> >
>>>> http://distfiles.macports.org/MacPorts/MacPorts-1.9.2-10.6-SnowLeopard.dmg
>>>>
>>>> I would start with just running the disk image installer over what you
>>>> already have, without uninstalling anything first. If that works, all your
>>>> ports you had installed will still be there.
>>>>
>>>> and it worked! will report if the command goes through!
>>>
>>> (port upgrade outdated)
>>>
>>>> If that fails, you can still try uninstalling everything.
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> K. Gabriele
>>>
>>> --- unchanged since 20/9/10 ---
>>> P.S. If the subject contains "[LON]" or the addressee acknowledges the
>>> receipt within 48 hours then I don't resend the email.
>>> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>>> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>>>
>>> If an email is sent by a sender that is not a trusted contact or the
>>> email does not contain a valid code then the email is not received. A valid
>>> code starts with a hyphen and ends with "X".
>>> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>>> L(-[a-z]+[0-9]X)).
>>>
>>>
>>
>>
>> --
>> Regards,
>> K. Gabriele
>>
>> --- unchanged since 20/9/10 ---
>> P.S. If the subject contains "[LON]" or the addressee acknowledges the
>> receipt within 48 hours then I don't resend the email.
>> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>>
>> If an email is sent by a sender that is not a trusted contact or the email
>> does not contain a valid code then the email is not received. A valid code
>> starts with a hyphen and ends with "X".
>> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>> L(-[a-z]+[0-9]X)).
>>
>>
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).
>
>


-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101205/f4402b9c/attachment.html>


More information about the macports-users mailing list