[KDE/Mac] apple-gcc42-devel

Janus janus at rtfm.org.ar
Fri Mar 6 09:56:13 CET 2009


2009/3/5 Janus <janus at rtfm.org.ar>:
> 2009/3/5 Janus <janus at rtfm.org.ar>:
>> 2009/3/5 Orville Bennett <illogical1 at gmail.com>:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>>
>>> On Mar 4, 2009, at 5:53 PM, Janus wrote:
>>>
>>>> 2009/3/4 Orville Bennett <illogical1 at gmail.com>:
>>>>> On Mar 4, 2009, at 10:15 AM, Janus wrote:
>>>>>> 2009/3/4 Orville Bennett <illogical1 at gmail.com>:
>>>>>>>> 2009/3/4 Orville Bennett <illogical1 at gmail.com>:
>>>>>>>>> On Mar 4, 2009, at 9:45 AM, Janus wrote:
>>>>>>>>>>>> snip
>>>>>>>>>>>
>>>>>>>>>>> I had a problem when it was compiling expat. It seems ld
>>>>>>>>>>> reported a
>>>>>>>>>>> unknown flag (-compatibility_version).
>>>>>>>>> Yes. I forgot about that. We'll have to forego compiling
>>>>>>>>> everything
>>>>>>>>> with gcc-4.2.
>>>>>>>>> To do this go back to /opt/local/share/macports/Tcl/port1.0/
>>>>>>>>> portconfigure.tcl
>>>>>>>>> and change
>>>>>>>>> "darwin 8" { set compiler gcc-4.2 } back to "darwin 8" { set
>>>>>>>>> compiler
>>>>>>>>> gcc-4.0 }
>>>>>>>>
>>>>>>>> I had it set to apple-gcc-4.2. Should I change it to gcc-4.0 or
>>>>>>>> apple-gcc-4.0?
>>>>>>>
>>>>>>> gcc-4.0
>>>>>>>
>>>>>>>>
>>>>>>>>> Just to be safe 'sudo port -f uninstall installed' and then start
>>>>>>>>> again.
>>>>>>
>>>>>> Are you sure that was what I have to do?
>>>>>> qcgs-computer-batc:~ janus$ sudo port -f uninstall installed
>>>>>> --->  Deactivating apple-gcc42-devel @5564_0+darwin_8
>>>>>> --->  Uninstalling apple-gcc42-devel @5564_0+darwin_8
>>>>>> --->  Deactivating cmake @2.6.2_0
>>>>>> --->  Uninstalling cmake @2.6.2_0
>>>>>>
>>>>>> I uninstalled the gcc we are testing!
>>>>> mmm, forgot about that. install it again, then install kdeutils4.
>>>>
>>>> I get exactly the same error when it is compiling expat.
>>>> Can it have any relation with cmake? (I have cmake 2.6.2 and I've read
>>>> in somewere that I should use cmake 2.6.3).
>>> Then you're still using gcc-4.2 somehow (remember it worked just fine
>>> beforehand) ...
>>> Paste your portconfigure.tcl file again please.
>>
>> Here you are: http://pastebin.com/m2d594305
>
> I did a clean (port clean --all expat) and after, I was able to
> compile it without any errors.
> I think that what happed is that when I did the port uninstall
> installed, expat still there, because it wasn't installed, but as I
> didn't do any cleaning, the configurations remains with gcc-4.2
>
> Continue with kdeutils4 :)
>

I get an error compiling automoc: http://pastebin.com/f41eeb0e9
What can I do?

-- 
Alejandro Díaz-Caro
PhD Student
Laboratoire d'Informatique de Grenoble
http://membres-liglab.imag.fr/diazcaro


More information about the kde-mac mailing list