[KDE/Mac] Trying to compile Kile on MacOS 10.4.11: Failed at apple-gcc42

Janus janus at rtfm.org.ar
Sat Feb 28 00:37:07 CET 2009


2009/2/27 Janus <janus at rtfm.org.ar>:
> 2009/2/27 Orville Bennett <illogical1 at gmail.com>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> On Feb 27, 2009, at 12:09 PM, Janus wrote:
>>
>>> 2009/2/23 Janus <janus at rtfm.org.ar>:
>>>> Hi,
>>>>  I am following the "alternative method" to compile kile on MacOS
>>>> 10.4.11 described in [1]. At some point, it point to follow the
>>>> instructions on [2] to compile apple-gcc42 using macports. I've
>>>> followed each single step, except for the instruction changing the
>>>> cflags, as when I did that, I cannot install apple-gcc42 because I
>>>> received an error saying that it is missing the previous flag. So, I
>>>> continue without change it. The last I could done was:
>>>>  $ sudo port install apple-gcc42
>>>>   which ends with this error:
>>>
>>> It seems that the problem was my fink instalation. I removed it from
>>> the PATH, and now, apple-gcc42 compiled without problems.
>>> I will try with kile now :)
>> Glad you figured it out. There's another person on this list
>> interested in kile so please do let us know how/if it works for you.
>
> Thanks. Sadly, it doesn't work. I compiled without problems
> apple-gcc42, and did all the ditto commands as the "Manifesto" says,
> also, just in case, I change by hand the gcc symbolic link to point to
> gcc-apple-4.2.
> Then, I installed the KDE dmg packages, and when I try to compile
> kile, I get exactly the same error as before.
> Now, I am trying to compile the macport package kdeutils4, which is a
> newer version (4.2 instead the dmg 4.1.2) following the advise of
> Thomas.
> I will let you know if I have success.

When I do port install kdeutils4 to get version 4.2 of kde, I get a
really rare error. I am in a PowerBook G4, it has a PPC procesor, and
I get the error:
.....
[ 93%] Built target OSXScriptLauncher
Linking CXX executable ../bin/ccmake
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: for architecture i386
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning
/usr/lib/libcurses.dylib cputype (18, architecture ppc) does not match
cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
.....

Why is it trying to compile i386 code? Where can I modify to don't?


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