Re: FreeCAD-0.7.1779 and Fedora10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joachim Backes wrote:
> I tried this already, but did not help. The configure script seems to be
> rather buggy. Combing through the FreeCAD forums, I saw that there are
> similar issues concerning UBUNTU platforms, especially for those users
> who have installed qt3 and qt4 in parallel (which i have too).

Try:
--with-qt4-dir=/usr --with-qt4-bin=/usr/lib/qt4/bin
or:
--with-qt4-dir=/usr/lib/qt4 --with-qt4-include=/usr/include --with-qt4-lib=/usr/lib
(I looked at their acinclude.m4 and those are the switches they expect.)

On lib64 platforms, you'd want:
--with-qt4-dir=/usr --with-qt4-bin=/usr/lib64/qt4/bin --with-qt4-lib=/usr/lib64
or:
--with-qt4-dir=/usr/lib64/qt4 --with-qt4-include=/usr/include --with-qt4-lib=/usr/lib64

If you package it as an RPM, in the specfile, please use:
--with-qt4-dir=%{_prefix} --with-qt4-bin=%{_qt4_bindir} --with-qt4-include=%{_qt4_headerdir} --with-qt4-lib=%{_qt4_libdir}
or:
--with-qt4-dir=%{_qt4_prefix} --with-qt4-bin=%{_qt4_bindir} --with-qt4-include=%{_qt4_headerdir} --with-qt4-lib=%{_qt4_libdir}

(I'm not sure where exactly the qt4-dir is used other than as a default for
the other 3 settings, so try both /usr and /usr/lib/qt4 for that one.)

But the configure script sucks for not figuring it out automatically. If
they used CMake, it'd just work. (They wouldn't have to write their own
broken Qt 4 detection because CMake already includes a working one.) Death
to the autotools!

        Kevin Kofler

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux