[KDE/Mac] apple-gcc42-devel

Janus janus at rtfm.org.ar
Sat Mar 7 03:43:34 CET 2009


2009/3/7 Orville Bennett <illogical1 at gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Mar 6, 2009, at 5:01 PM, Janus wrote:
>
>> 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
> My baaaaaaad. I forget that frequently.

I got the error "/usr/bin/ld: unknown flag: -compatibility_version"
when compiling phonon.
Here it is the full output: http://pastebin.com/f15407ee6

The good news is that I have compiled a lot of kdeutils4 dependencies already:

QCGs-Computer:~ janus$ port list installed
apple-gcc42-devel              @5564           lang/apple-gcc42-devel
aspell                         @0.60.6         textproc/aspell
aspell-dict-en                 @6.0            textproc/aspell-dict-en
autoconf                       @2.63           devel/autoconf
automake                       @1.10.2         devel/automake
automoc                        @0.9.87         devel/automoc
bison                          @2.4.1          devel/bison
bzip2                          @1.0.5          archivers/bzip2
cmake                          @2.6.2          devel/cmake
coreutils                      @6.12           sysutils/coreutils
cyrus-sasl2                    @2.1.22         security/cyrus-sasl2
dbus                           @1.2.12         devel/dbus
doxygen                        @1.5.8          textproc/doxygen
enchant                        @1.4.2          textproc/enchant
expat                          @2.0.1          textproc/expat
flex                           @2.5.35         devel/flex
fontconfig                     @2.6.0          graphics/fontconfig
freetype                       @2.3.8          print/freetype
gd2                            @2.0.35         graphics/gd2
gettext                        @0.17           devel/gettext
giflib                         @4.1.6          graphics/giflib
glib2                          @2.18.3         devel/glib2
gmp                            @4.2.4          devel/gmp
gperf                          @3.0.4          devel/gperf
graphviz                       @2.20.3         graphics/graphviz
help2man                       @1.36.4         textproc/help2man
ilmbase                        @1.0.1          graphics/ilmbase
jasper                         @1.900.1        graphics/jasper
jpeg                           @6b             graphics/jpeg
lcms                           @1.17           graphics/lcms
libart_lgpl                    @2.3.20         graphics/libart_lgpl
libiconv                       @1.12           textproc/libiconv
libidn                         @1.11           mail/libidn
libmng                         @1.0.10         graphics/libmng
libpng                         @1.2.35         graphics/libpng
libtool                        @2.2.6a         devel/libtool
libxml2                        @2.7.3          textproc/libxml2
libxslt                        @1.1.24         textproc/libxslt
lzmautils                      @4.32.7         archivers/lzmautils
m4                             @1.4.12         devel/m4
mysql5                         @5.0.77         databases/mysql5
ncurses                        @5.7            devel/ncurses
ncursesw                       @5.7            devel/ncursesw
openexr                        @1.6.1          graphics/openexr
openssl                        @0.9.8j         devel/openssl
ossp-uuid                      @1.6.2          devel/ossp-uuid
p5-locale-gettext              @1.05           perl/p5-locale-gettext
pcre                           @7.8            devel/pcre
perl5                          @5.8.9          lang/perl5
perl5.8                        @5.8.9          lang/perl5.8
pkgconfig                      @0.23           devel/pkgconfig
postgresql83                   @8.3.6          databases/postgresql83
qt4-mac                        @4.4.3          aqua/qt4-mac
readline                       @6.0.000        devel/readline
sqlite3                        @3.6.11         databases/sqlite3
texinfo                        @4.13           textproc/texinfo
tiff                           @3.8.2          graphics/tiff
unixODBC                       @2.2.14         databases/unixODBC
urw-fonts                      @1.0.7pre44     x11/urw-fonts
xorg-bigreqsproto              @1.0.2          x11/xorg-bigreqsproto
xorg-inputproto                @1.5.0          x11/xorg-inputproto
xorg-kbproto                   @1.0.3          x11/xorg-kbproto
xorg-libice                    @1.0.5          x11/xorg-libice
xorg-libsm                     @1.1.0          x11/xorg-libsm
xorg-libX11                    @1.2            x11/xorg-libX11
xorg-libXau                    @1.0.4          x11/xorg-libXau
xorg-libXdmcp                  @1.0.2          x11/xorg-libXdmcp
xorg-xcmiscproto               @1.1.2          x11/xorg-xcmiscproto
xorg-xextproto                 @7.0.5          x11/xorg-xextproto
xorg-xf86bigfontproto          @1.1.2          x11/xorg-xf86bigfontproto
xorg-xproto                    @7.0.14         x11/xorg-xproto
xorg-xtrans                    @1.2.3          x11/xorg-xtrans
zlib                           @1.2.3          archivers/zlib


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