[KDE/Mac] Trying to compile Kile on MacOS 10.4.11: Failed at apple-gcc42
Janus
janus at rtfm.org.ar
Thu Feb 26 16:52:09 CET 2009
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:
/usr/bin/gcc-4.0 -c -g -no-cpp-precomp
-DHAVE_DESIGNATED_INITIALIZERS=0 -fkeep-inline-functions -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -fno-common
-DHAVE_CONFIG_H -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../include
-I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libcpp/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libdecnumber
-I../libdecnumber -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../include
-I./../intl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libcpp/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libdecnumber
-I../libdecnumber
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000/host-darwin.c
-o host-ppc-darwin.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000/host-darwin.c:
In function 'segv_handler':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000/host-darwin.c:82:
error: 'struct mcontext' has no member named '__ss'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000/host-darwin.c:131:
error: 'struct mcontext' has no member named '__es'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000/host-darwin.c:132:
error: 'struct mcontext' has no member named '__ss'
make[3]: *** [host-ppc-darwin.o] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
Error: Status 1 encountered during processing.
I will be glad to become a "beta tester" of kile if someone help me
installing it :) I used kile in my previous Linux laptop, and now, I
am using it installed with fink (I use latex a lot), so it will be
really nice to have it natively on my PowerBook.
I also tried with the gcc I have installed
(powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1), but it fails at the
"make" step compiling kile.
Also, I asked in the irc channels kde-mac and kde-devel, but nobody answer.
Rightnow I am compiling the kile version at macports, but I really
want to try the cvs version, if it is possible.
Cheers and thanks in advance,
Alejandro
[1] http://websvn.kde.org/trunk/extragear/office/kile/README.MacOSX?revision=880135&view=markup
[2] http://techbase.kde.org/Projects/KDE_on_Mac_OS_X/Macbook_Manifesto
--
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