[KDE/Mac] apple-gcc42-devel

Janus janus at rtfm.org.ar
Fri Mar 6 23:01:05 CET 2009


2009/3/6 Janus <janus at rtfm.org.ar>:
> 2009/3/6 Orville Bennett <illogical1 at gmail.com>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> On Mar 6, 2009, at 4:34 PM, Janus wrote:
>>
>>> 2009/3/6 Orville Bennett <illogical1 at gmail.com>:
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>>>>> snip
>>>>>>>
>>>>>>> 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?
>>>> I was hoping to just see the word "Success" with a smiley after it.
>>>> *sigh*
>>>> We can dream can't we? :-)
>>>>
>>>> But, according to the error it can't find gcc (and rightfully so).
>>>> Perhaps a case to convert automoc to using the kde4 portgroup.
>>>>
>>>> Anyhoo. the solution is
>>>> sudo port edit automoc
>>>>
>>>> configure.compiler  gcc-4.2 --> configure.compiler  apple-gcc-4.2
>>>> or whatever we decided to call it.
>>>
>>> Ok, that was magic for me.
>>>
>>>> Speaking of kde4-1.0.tcl that will need to be edited too.
>>>> vi /opt/local/var/macports/sources/rsync.macports.org/release/ports/
>>>> _resources/port1.0/group/kde4-1.0.tcl
>>>>
>>>> Delete the compiler stuff from that and add the following
>>>
>>> By "the compiler stuff" I guess you mean "configure.compiler
>>> apple-gcc-4.2", isn't?
>> isn't what?
>
> Sorry, that was my poor english, the sentence should be "Did you mean
> "configure.compiler apple-gcc-4.2" when you said  "the compiler
> stuff"?
> So, I removed that line and added the lines you posted, but I get the
> error I sent in my previous email.
>

I found the error. The line
 depends_build-append    apple-gcc42-devel
should be
 depends_build-append    port:apple-gcc42-devel
It is compiling right now


-- 
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