[kde-freebsd] ports graphics/kdegraphics4
Hello, there is a patch missing in /usr/ports/graphics/kdegraphics4: [---Snip] /usr/ports/graphics/kdegraphics lobo2 root:--> make install clean ===> Extracting for kdegraphics-4.0.80 => MD5 Checksum OK for KDE/kdegraphics-4.0.80.tar.bz2. => SHA256 Checksum OK for KDE/kdegraphics-4.0.80.tar.bz2. /bin/mkdir -p /usr/ports/graphics/kdegraphics/work/kdegraphics-4.0.80 ===> Patching for kdegraphics-4.0.80 ===> Applying FreeBSD patches for kdegraphics-4.0.80 File to patch: No file found--skip this patch? [n] y 1 out of 1 hunks ignored--saving rejects to ../kamera/config-kamera.h.cmake.rej Can't create ../kamera/config-kamera.h.cmake.rej, output is in /tmp//patchr7jvUj v: No such file or directory => Patch patch-kamera-config-kamera.h failed to apply cleanly. *** Error code 1 Stop in /usr/ports/graphics/kdegraphics. /usr/ports/graphics/kdegraphics [---Snip] Ernst -- == Mail just Ascii plain text. HTML & Base64 is spam email = nur reiner Text. HTML & Base64 sind SPAM ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
Re: [kde-freebsd] cvs commit: area51/Mk bsd.qt.mk area51/accessibility/qt4-accessible Makefile area51/chinese/qt4-codecs-cn Makefile area51/chinese/qt4-codecs-tw Makefile area51/databases/qt4-ibase-pl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 22 June 2008 14:11:10 David Johnson wrote: > graphics/qt4-pixeltool Makefile Hi David Looks like an issue with qt4-pixeltool in my tindy, http://goodking.goodking.ca/tb/index.php?action=describe_port&id=29 Thomas - -- Thomas Abthorpe | FreeBSD Committer [EMAIL PROTECTED] | http://people.freebsd.org/~tabthorpe -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhfHwQACgkQ5Gm/jNBp8qAqbgCcCKt1/RK0lHX/GcMLhdY8M2PC FIYAnRJWGxAVvWbUUqUQJH5rTcfzOKGl =odu+ -END PGP SIGNATURE- ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
[kde-freebsd] Build of kdegraphics4 fails
this patch worked for me -patch starts here diff -ruN kdegraphics.bak/Makefile kdegraphics/Makefile --- kdegraphics.bak/Makefile2008-06-20 23:56:22.0 +0200 +++ kdegraphics/Makefile2008-06-23 00:28:24.0 +0200 @@ -32,11 +32,12 @@ USE_GL=glut USE_GHOSTSCRIPT= yes USE_KDE4= kdelibs workspace +USE_KDE4_BUILD= yes USE_BZIP2= yes USE_QT_VER=4 QT_COMPONENTS= opengl gui moc rcc uic svg iconengines pixeltool post-extract: - ${MKDIR} ${WRKSRC} + ${MKDIR} ${WRKSRC}/build .include -patch ends here-- System starts but it is slw. Cheers -- Diego Depaoli ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
Re: [kde-freebsd] Alternate qt prefixes
On Fri, 20 Jun 2008 21:38:24 -0700, David Johnson wrote: > Okay, here's the finished patch. This changes the prefix for libraries, > headers and examples. Extract and component lists were also updated. > > The new installation directories are: > -prefix ${PREFIX} \ > -bindir ${PREFIX}/bin \ > -libdir ${PREFIX}/lib/qt4 \ > -docdir ${PREFIX}/share/doc/qt4 \ > -headerdir ${PREFIX}/include/qt4 \ > -plugindir ${PREFIX}/lib/qt4/plugins \ > -datadir ${PREFIX}/share/qt4 \ > -translationdir ${PREFIX}/share/qt4/translations \ > -sysconfdir ${PREFIX}/etc/xdg \ > -examplesdir ${PREFIX}/share/examples/qt4/examples \ > -demosdir ${PREFIX}/share/examples/qt4/demos > > Please look this over and let me know if it's okay. I've started tinderbox build with your patch, several ports built fine already. I'll notify when tinder finished the build. Max ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
[kde-freebsd] cvs commit: area51/Mk bsd.qt.mk area51/accessibility/qt4-accessible Makefile area51/chinese/qt4-codecs-cn Makefile area51/chinese/qt4-codecs-tw Makefile area51/databases/qt4-ibase-plugin
brandybuck2008/06/22 20:11:09 CEST KDE/FreeBSD QA/Devel Repository Modified files: Mk bsd.qt.mk accessibility/qt4-accessible Makefile chinese/qt4-codecs-cn Makefile chinese/qt4-codecs-tw Makefile databases/qt4-ibase-plugin/files Makefile.bsd databases/qt4-mysql-plugin/files Makefile.bsd databases/qt4-odbc-plugin/files Makefile.bsd databases/qt4-pgsql-plugin/files Makefile.bsd databases/qt4-sqlMakefile pkg-plist databases/qt4-sqlite-plugin pkg-plist databases/qt4-sqlite-plugin/files Makefile.bsd databases/qt4-sqlite3-plugin pkg-plist databases/qt4-sqlite3-plugin/files Makefile.bsd devel/dbus-qt4 Makefile pkg-plist devel/qmake4 Makefile pkg-plist devel/qmake4/files qconfig.cpp devel/qt4-assistant Makefile devel/qt4-assistant-adp Makefile devel/qt4-corelibMakefile pkg-plist devel/qt4-designer Makefile pkg-plist devel/qt4-help Makefile pkg-plist devel/qt4-help-tools Makefile devel/qt4-libqtassistantclient Makefile pkg-plist devel/qt4-linguist Makefile devel/qt4-makeqpfMakefile devel/qt4-mocMakefile devel/qt4-portingMakefile devel/qt4-qdbusviewer Makefile devel/qt4-qt3support Makefile pkg-plist devel/qt4-qtestlib Makefile pkg-plist devel/qt4-qvfb Makefile pkg-plist devel/qt4-rccMakefile devel/qt4-script Makefile pkg-plist devel/qt4-uicMakefile devel/qt4-uic3 Makefile graphics/qt4-iconengines Makefile graphics/qt4-imageformats Makefile graphics/qt4-pixeltool Makefile graphics/qt4-svg Makefile pkg-plist japanese/qt4-codecs-jp Makefile korean/qt4-codecs-kr Makefile misc/qt4-doc Makefile misc/qt4-qtconfigMakefile misc/qt4-qtdemo Makefile pkg-plist multimedia/qt4-phonon Makefile pkg-plist multimedia/qt4-phonon-gst Makefile net/qt4-network Makefile pkg-plist textproc/qt4-clucene Makefile pkg-plist textproc/qt4-xml Makefile pkg-plist textproc/qt4-xmlpatterns Makefile pkg-plist textproc/qt4-xmlpatterns-tool Makefile www/qt4-webkit Makefile pkg-plist x11/qt4-inputmethods Makefile x11/qt4-opengl Makefile pkg-plist x11-toolkits/qt4-gui Makefile pkg-plist Log: Change installation prefix for headers and libraries. Revision Changes Path 1.28 +40 -36 area51/Mk/bsd.qt.mk 1.16 +6 -5area51/accessibility/qt4-accessible/Makefile 1.13 +5 -5area51/chinese/qt4-codecs-cn/Makefile 1.11 +5 -5area51/chinese/qt4-codecs-tw/Makefile 1.5 +3 -2area51/databases/qt4-ibase-plugin/files/Makefile.bsd 1.6 +3 -2area51/databases/qt4-mysql-plugin/files/Makefile.bsd 1.5 +3 -2area51/databases/qt4-odbc-plugin/files/Makefile.bsd 1.6 +3 -2area51/databases/qt4-pgsql-plugin/files/Makefile.bsd 1.33 +8 -13 area51/databases/qt4-sql/Makefile 1.17 +81 -80 area51/databases/qt4-sql/pkg-plist 1.5 +5 -4area51/databases/qt4-sqlite-plugin/files/Makefile.bsd 1.6 +1 -1area51/databases/qt4-sqlite-plugin/pkg-plist 1.5 +4 -3area51/databases/qt4-sqlite3-plugin/files/Makefile.bsd 1.6 +1 -1area51/databases/qt4-sqlite3-plugin/pkg-plist 1.26 +14 -17 area51/devel/dbus-qt4/Makefile 1.14 +55 -54 area51/devel/dbus-qt4/pkg-plist 1.23 +3 -12 area51/devel/qmake4/Makefile 1.4 +5 -5area51/devel/qmake4/files/qconfig.cpp 1.19 +0 -16 area51/devel/qmake4/pkg-plist 1.3 +7 -11 area51/devel/qt4-assistant-adp/Makefile 1.30 +5 -6area51/devel/qt4-assistant/Makefile 1.45 +9 -12 area51/devel/qt4-corelib/Makefile 1.22 +517 -516area51/devel/qt4-corelib/pkg-plist 1.41 +16 -11 area51/devel/qt4-designer/Makefile 1.19 +96 -96 area51/devel/qt4-designer/pkg-plist 1.2 +7 -8area51/devel/qt4-help-tools/Makefile 1.2 +8 -14 area51/devel/qt4-help/Makefile 1.2 +39 -38 area51/devel/qt4-help/pkg-plist 1.36 +10 -10 area51/devel/qt4-libqtassistantclient/Makefile 1.15 +11 -11 area51/devel/qt4-libqtassistantclient/pkg-plist 1.34 +6 -8area51/devel/qt4-linguist/Makefile 1.5 +6 -5area51/devel/qt4-makeqpf/Makefile 1.25 +5 -5area51/devel/qt4-moc/Makefile 1.21 +6 -9area51/devel/qt4-porting/Makefile 1.6 +5 -7area51/devel/qt4-qdbusviewer/Makefile 1.35 +9 -14 area51/devel/qt4-qt3support/Makefile 1.16 +413 -411area51/devel/qt4-qt3support/pkg-plist 1.22 +10 -16 area51/devel/qt4-qtestlib/Makefile 1.16 +54 -53 area51/devel/qt4-qtestlib/pkg-plist 1.27 +5 -
Re: [kde-freebsd] kde4 compiling base and/or libraries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Jun 22, 2008 at 06:51:48PM +0200, Ernst W. Winter wrote: > On Sun, 22 Jun 2008, Martin Wilke wrote: > > > On Sun, Jun 22, 2008 at 06:10:50PM +0200, Ernst W. Winter wrote: > > > Hello, > > > > You need first to be update your glib and friends > > > Thanks, but which one? is glib20 the one? Yes, please see in ports/UPDATING. - - Martin > > > - Martin > > > Ernst > > > > > > > new probelm with compiling this and having any problems?: > > > > > > [---Snip] > > > > > > ===> Building for gio-fam-backend-2.16.3_1 > > > /bin/sh ../../libtool --tag=CC --mode=link cc > > > -DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule > > > -I../../gio -DG_DISABLE_CAST_CHECKS > > > -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION > > > -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall > > > -export_dynamic -avoid-version -module -no-undefined > > > -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib > > > -lintl -o libgiofam.la -rpath /usr/local/lib/gio/modules > > > libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo > > > libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfamfilemonitor.lo > > > -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam > > > rm -fr .libs/libgiofam.exp > > > generating symbol list for `libgiofam.la' > > > /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o > > > .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o > > > .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ > > > ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ > > > ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort > > > | uniq > .libs/libgiofam.exp > > > /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > > > > ".libs/libgiofam.expT" > > > mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" > > > cc -shared .libs/libgiofam_la-fam-helper.o > > > .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o > > > .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib > > > -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so > > > -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so > > > /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so > > > -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so > > > /usr/bin/ld: cannot find -lgio-2.0 > > > gmake: *** [libgiofam.la] Error 1 > > > *** Error code 2 > > > > > > Stop in /usr/ports/devel/gio-fam-backend. > > > *** Error code 1 > > > > > > Stop in /usr/ports/textproc/enchant. > > > *** Error code 1 > > > > > > Stop in /usr/ports/x11/kdelibs4. > > > /usr/ports/x11/kdelibs4 > > > lobo2 root:--> > > > > > > [---Snip] > > > > > > Ernst > > > > > > > > > -- > > > == > > > Mail just Ascii plain text. HTML & Base64 is spam > > > email = nur reiner Text. HTML & Base64 sind SPAM > > > > > > ___ > > > kde-freebsd mailing list > > > kde-freebsd@kde.org > > > https://mail.kde.org/mailman/listinfo/kde-freebsd > > > > > > > -- > > > > +---+---+ > > | PGP: 0x05682353 | Jabber : miwi(at)BSDCrew.de | > > | ICQ: 169139903 | Mail : miwi(at)FreeBSD.org | > > +---+---+ > > | Mess with the Best, Die like the Rest! | > > +---+---+ > > -- > == > Mail just Ascii plain text. HTML & Base64 is spam > email = nur reiner Text. HTML & Base64 sind SPAM > > ___ > kde-freebsd mailing list > kde-freebsd@kde.org > https://mail.kde.org/mailman/listinfo/kde-freebsd > - -- +---+---+ | PGP: 0x05682353 | Jabber : miwi(at)BSDCrew.de | | ICQ: 169139903 | Mail : miwi(at)FreeBSD.org | +---+---+ | Mess with the Best, Die like the Rest! | +---+---+ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhehVIACgkQFwpycAVoI1PUXwCdHg4x0FK2bUvwkDoeRU24hww7 XQkAniV3uTglvwmziBbLmVUQ6J3fMkVG =KZp3 -END PGP SIGNATURE- ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
Re: [kde-freebsd] kde4 compiling base and/or libraries
On Sun, 22 Jun 2008, Martin Wilke wrote: > On Sun, Jun 22, 2008 at 06:10:50PM +0200, Ernst W. Winter wrote: > > Hello, > > You need first to be update your glib and friends > Thanks, but which one? is glib20 the one? > - Martin > Ernst > > > > new probelm with compiling this and having any problems?: > > > > [---Snip] > > > > ===> Building for gio-fam-backend-2.16.3_1 > > /bin/sh ../../libtool --tag=CC --mode=link cc -DG_LOG_DOMAIN=\"GLib-GIO\" > > -I../.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS > > -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION > > -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall > > -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex > > '^g_io_module_(load|unload)' -L/usr/local/lib -lintl -o libgiofam.la -rpath > > /usr/local/lib/gio/modules libgiofam_la-fam-helper.lo > > libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo > > libgiofam_la-gfamfilemonitor.lo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam > > rm -fr .libs/libgiofam.exp > > generating symbol list for `libgiofam.la' > > /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o > > .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o > > .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ > > ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ > > ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | > > uniq > .libs/libgiofam.exp > > /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > > > ".libs/libgiofam.expT" > > mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" > > cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o > > .libs/libgiofam_la-gfamdirectorymonitor.o > > .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib > > -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so > > -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so > > /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so > > -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so > > /usr/bin/ld: cannot find -lgio-2.0 > > gmake: *** [libgiofam.la] Error 1 > > *** Error code 2 > > > > Stop in /usr/ports/devel/gio-fam-backend. > > *** Error code 1 > > > > Stop in /usr/ports/textproc/enchant. > > *** Error code 1 > > > > Stop in /usr/ports/x11/kdelibs4. > > /usr/ports/x11/kdelibs4 > > lobo2 root:--> > > > > [---Snip] > > > > Ernst > > > > > > -- > > == > > Mail just Ascii plain text. HTML & Base64 is spam > > email = nur reiner Text. HTML & Base64 sind SPAM > > > > ___ > > kde-freebsd mailing list > > kde-freebsd@kde.org > > https://mail.kde.org/mailman/listinfo/kde-freebsd > > > > -- > > +---+---+ > | PGP: 0x05682353 | Jabber : miwi(at)BSDCrew.de | > | ICQ: 169139903 | Mail : miwi(at)FreeBSD.org | > +---+---+ > | Mess with the Best, Die like the Rest! | > +---+---+ -- == Mail just Ascii plain text. HTML & Base64 is spam email = nur reiner Text. HTML & Base64 sind SPAM ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
[kde-freebsd] kde4 compiling base and/or libraries
Hello, new probelm with compiling this and having any problems?: [---Snip] ===> Building for gio-fam-backend-2.16.3_1 /bin/sh ../../libtool --tag=CC --mode=link cc -DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lintl -o libgiofam.la -rpath /usr/local/lib/gio/modules libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfamfilemonitor.lo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam rm -fr .libs/libgiofam.exp generating symbol list for `libgiofam.la' /usr/bin/nm -B .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgiofam.exp /usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > ".libs/libgiofam.expT" mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. *** Error code 1 Stop in /usr/ports/textproc/enchant. *** Error code 1 Stop in /usr/ports/x11/kdelibs4. /usr/ports/x11/kdelibs4 lobo2 root:--> [---Snip] Ernst -- == Mail just Ascii plain text. HTML & Base64 is spam email = nur reiner Text. HTML & Base64 sind SPAM ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
Re: [kde-freebsd] A bug in QtCore.pc or qglobal.h?
On Sun, 22 Jun 2008 03:34:04 -0500, Max Brazhnikov <[EMAIL PROTECTED]> wrote: > On Sun, 22 Jun 2008 01:18:13 -0500, Jeremy Messenger wrote: >> On Sat, 21 Jun 2008 14:04:08 -0500, Max Brazhnikov <[EMAIL PROTECTED]> >> wrote: >> > On Sat, 21 Jun 2008 11:20:38 -0500, Jeremy Messenger wrote: >> >> Hello folks, >> >> >> >> I am wondering if there is a bug in QtCore.pc for not have >> >> -I/usr/local/include or qglobal.h for should be '#include >> >> ' -> '#include '? A simple test.cc >> failed >> >> to >> >> compile unless I add -I/usr/local/include. >> >> >> >> - >> >> # cat test.cc >> >> #include >> >> #include >> >> extern "C" int main(void) >> >> { >> >>printf("found version %s", QT_VERSION_STR); >> >> #if QT_VERSION >= 0x040200 >> >>printf(", OK.\n"); >> >>return 0; >> >>printf(", expected version 4.2.0 or higher\n"); >> >>return 1; >> >> #endif >> >> } >> >> - >> >> >> >> - >> >> # c++ -O -Wall -o test test.cc `pkg-config QtCore --cflags --libs` >> >> In file included from /usr/local/include/QtCore/QtGlobal:1, >> >> from test.cc:2: >> >> /usr/local/include/QtCore/qglobal.h:62:28: error: QtCore/qconfig.h: >> No >> >> such file or directory >> >> /usr/local/include/QtCore/qglobal.h:942:31: error: >> QtCore/qfeatures.h: >> >> No >> >> such file or directory >> >> /usr/local/include/QtCore/qglobal.h:1139:4: error: #error "Qt not >> >> configured correctly, please run configure" >> >> /usr/local/include/QtCore/qglobal.h:2036:6: error: #error "Qt not >> >> configured correctly, please run configure" >> >> - >> >> >> >> The solution is to add -I/usr/local/include. >> >> >> >> - >> >> # c++ -O -Wall -o test test.cc `pkg-config QtCore --cflags --libs` >> >> -I/usr/local/include >> >> # ./test >> >> found version 4.3.4, OK. >> >> - >> >> >> >> - >> >> # pkg-config QtCore --cflags --libs >> >> -DQT_SHARED -I/usr/local/include/QtCore -pthread -L/usr/local/lib >> >> -lQtCore -lz -lm -lgthread-2.0 -lglib-2.0 -liconv >> >> - >> >> >> >> BTW: Please add me in CC. >> >> >> >> Cheers, >> >> Mezz >> > >> > /usr/local/include was removed (incorrectly) from Qt*.pc. The problem >> is >> > that >> > qt3 installs headers (one of them is qconfig.h) to /usr/local/include >> > and >> > this sometimes confuses qt4 ports. >> >> I have both qt3 and qt4 installed, and I don't have any problem. I think >> it's matter of order. Does qt4 still has problem even if it has >> /usr/local/include in the last order? Like this: >> >> -I/usr/local/include/QtCore -I/usr/local/include > This might break some qt4-dependent ports, if their include path will be > like > -I/usr/local/include/QtCore -I/usr/local/include > -I/usr/local/include/QtGui Good point, I see that. I am surpised about that QT developers don't fix this problem. I wouldn't put '#include ' in many headers if they are living in include/QtCore/ already and have *.pc point to /usr/local/include/QtCore will cover it. >> I believe that it needs to be fix in *.pc files. The qt3 doesn't has >> QtCore, so I think it should be no problem. > the fix is needed indeed, moving qt3 headers out from /usr/local/include > will help Sounds good. Cheers, Mezz -- [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - [EMAIL PROTECTED] ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd
Re: [kde-freebsd] A bug in QtCore.pc or qglobal.h?
On Sun, 22 Jun 2008 01:18:13 -0500, Jeremy Messenger wrote: > On Sat, 21 Jun 2008 14:04:08 -0500, Max Brazhnikov <[EMAIL PROTECTED]> wrote: > > On Sat, 21 Jun 2008 11:20:38 -0500, Jeremy Messenger wrote: > >> Hello folks, > >> > >> I am wondering if there is a bug in QtCore.pc for not have > >> -I/usr/local/include or qglobal.h for should be '#include > >> ' -> '#include '? A simple test.cc failed > >> to > >> compile unless I add -I/usr/local/include. > >> > >> - > >> # cat test.cc > >> #include > >> #include > >> extern "C" int main(void) > >> { > >>printf("found version %s", QT_VERSION_STR); > >> #if QT_VERSION >= 0x040200 > >>printf(", OK.\n"); > >>return 0; > >>printf(", expected version 4.2.0 or higher\n"); > >>return 1; > >> #endif > >> } > >> - > >> > >> - > >> # c++ -O -Wall -o test test.cc `pkg-config QtCore --cflags --libs` > >> In file included from /usr/local/include/QtCore/QtGlobal:1, > >> from test.cc:2: > >> /usr/local/include/QtCore/qglobal.h:62:28: error: QtCore/qconfig.h: No > >> such file or directory > >> /usr/local/include/QtCore/qglobal.h:942:31: error: QtCore/qfeatures.h: > >> No > >> such file or directory > >> /usr/local/include/QtCore/qglobal.h:1139:4: error: #error "Qt not > >> configured correctly, please run configure" > >> /usr/local/include/QtCore/qglobal.h:2036:6: error: #error "Qt not > >> configured correctly, please run configure" > >> - > >> > >> The solution is to add -I/usr/local/include. > >> > >> - > >> # c++ -O -Wall -o test test.cc `pkg-config QtCore --cflags --libs` > >> -I/usr/local/include > >> # ./test > >> found version 4.3.4, OK. > >> - > >> > >> - > >> # pkg-config QtCore --cflags --libs > >> -DQT_SHARED -I/usr/local/include/QtCore -pthread -L/usr/local/lib > >> -lQtCore -lz -lm -lgthread-2.0 -lglib-2.0 -liconv > >> - > >> > >> BTW: Please add me in CC. > >> > >> Cheers, > >> Mezz > > > > /usr/local/include was removed (incorrectly) from Qt*.pc. The problem is > > that > > qt3 installs headers (one of them is qconfig.h) to /usr/local/include > > and > > this sometimes confuses qt4 ports. > > I have both qt3 and qt4 installed, and I don't have any problem. I think > it's matter of order. Does qt4 still has problem even if it has > /usr/local/include in the last order? Like this: > > -I/usr/local/include/QtCore -I/usr/local/include This might break some qt4-dependent ports, if their include path will be like -I/usr/local/include/QtCore -I/usr/local/include -I/usr/local/include/QtGui > I believe that it needs to be fix in *.pc files. The qt3 doesn't has > QtCore, so I think it should be no problem. the fix is needed indeed, moving qt3 headers out from /usr/local/include will help ___ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd