Re: compiler error bei qt4-moc

"Stefan Huerter" <[email protected]> Sun, 9 Jul 2017 16:30:56 +0200
Newsgroups gmane.os.freebsd.questions.german
Message-ID <[email protected]>
Guckux Harold

Am So, 9.07.2017, 12:50 schrieb Harold Gutch:
>> Irgendwie werde ich nicht fündig:
>> Beim compilieren des digikam-Paketes will er auch qt4-moc übersetzen.
>> ===>  Configuring for qt4-moc-4.8.7_2
>> /usr/bin/sed -i.bak -e 's|^TARGET.*|TARGET=moc|g'
>> /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.7/src/too
>> ls/moc/moc.pro /bin/mkdir -p
>> /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.7/mkspecs
>>  /bin/ln -sf /usr/local/lib/qt4/bin/qmake
>> /usr/ports/devel/qt4-moc/work/qt-everywhere-opensource-src-4.8.7/bin/qma
>> ke -no-use-gold-linker: invalid command-line switch

> # Work around a bug in current binutils, where the gold linker creates
> # duplicate symbols. See pr 218187. Disable the gold-linker for Qt5 ports.
>  CONFIGURE_ARGS+=        -no-use-gold-linker
> . endif

> Aber da in devel/qt4-moc/Makefile USE_QT4 gesetzt ist, sollte das
> *eigentlich* _QT_VERSION auf 4.8.7 setzen (es sei denn du hast
> _QT_VERSION z.B. in /etc/mk.conf auf einen 5.irgendwas gesetzt).

Ich habe nicht mal eine mk.conf unter etc...
Mir aber jetzt noch aufgefallen: der portmaster will beim Installieren
auch noch ein paar qt5- Pakete installieren
Ich habe daraufhin mal nur eine Installation von devel/qt4 probiert - aber
wieder "no-gold-option"... bumms... :-(

Bye
   Stefan


To Unsubscribe: send mail to [email protected]
with "unsubscribe de-bsd-questions" in the body of the message