Changeset 1464543


Ignore:
Timestamp:
04/08/2012 07:46:30 PM (12 years ago)
Author:
Ragnar Thomsen <rthomsen@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2001b3e
Parents:
2a38269
Message:

Correct Qt configuration.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9880 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r2a38269 r1464543  
    44-->
    55
    6 <!ENTITY day          "07">                   <!-- Always 2 digits -->
     6<!ENTITY day          "08">                   <!-- Always 2 digits -->
    77<!ENTITY month        "04">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2012">
     
    1010<!ENTITY copyholder   "The BLFS Development Team">
    1111<!ENTITY version      "&year;-&month;-&day;">
    12 <!ENTITY releasedate  "April 7th, &year;">
     12<!ENTITY releasedate  "April 8th, &year;">
    1313<!-- <!ENTITY releasedate  "November &day;st, &year;"> -->
    1414<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
  • introduction/welcome/changelog.xml

    r2a38269 r1464543  
    4343-->
    4444    <listitem>
     45      <para>April 8th, 2012</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[rthomsen] - Corrected Qt configuration. Thanks to Pierre Labastie for the report.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4554      <para>April 7th, 2012</para>
    4655      <itemizedlist>
  • x/lib/qt4.xml

    r2a38269 r1464543  
    194194<screen><userinput>patch -Np1 -i ../qt-everywhere-opensource-src-&qt4-version;-gcc_fix-1.patch &amp;&amp;
    195195patch -Np1 -i ../qt-everywhere-opensource-src-&qt4-version;-glib_fix-1.patch &amp;&amp;
     196sed -i '/-Werror/d' src/3rdparty/webkit/Source/WebKit.pri &amp;&amp;
    196197./configure -prefix /opt/qt-&qt4-version;  \
    197198            -release               \
     
    201202            -no-nis                \
    202203            -opensource            \
    203             -confirm-license</userinput></screen>
     204            -confirm-license &amp;&amp;
     205make</userinput></screen>
    204206   
    205207    <note><title>Phonon</title>
     
    209211    <application>Phonon</application> libraries will be installed which better
    210212    matches the needs of the <application>KDE4</application> desktop.</para></note>
    211        
    212     <para>If you are compiling with <application>GCC</application> 4.7 you need
    213     to suppress some warnings that would otherwise cause the build to fail. This
    214     can be achieved by modifying some Makefiles:</para>
    215    
    216     <screen><userinput>find src/3rdparty/webkit/Source/{WebCore,WebKit} -name 'Makefile*' -exec sed -i 's@-Werror @@' {} \;</userinput></screen>
    217 
    218     <para>Now, build the package:</para>
    219    
    220     <screen><userinput>make</userinput></screen>
    221    
     213           
    222214    <para>This package does not come with a test suite.</para>
    223215
     
    230222    again as the <systemitem class="username">root</systemitem> user issue:</para>
    231223
    232 <screen role="root"><userinput>ln -v -sfn qt-&qt4-version; /opt/qt</userinput></screen>
     224<screen role="root"><userinput>ln -svfn qt-&qt4-version; /opt/qt</userinput></screen>
    233225
    234226  </sect2>
     
    241233    4.7 and <application>GLib</application> 2.32.</para>
    242234   
     235    <para><command>sed -i '/-Werror/d'...</command>:
     236    This sed suppresses warnings that would otherwise cause the build
     237    to fail when compiling with <application>GCC</application>
     238    4.7.</para>
     239   
     240    <para><parameter>-release</parameter>:
     241    This switch disables building with debugging symbols.</para>
     242   
    243243    <para><parameter>-nomake examples, -nomake demos</parameter>:
    244244    These switches disable building programs that are only of interest
    245245    to a <application>Qt4</application> developer.</para>
    246 
    247     <para>There are several optional directories that can be specified in the
    248     <command>./configure</command> line.  These include
    249     <option>-bindir</option>, <option>-libdir</option>,
    250     <option>-docdir</option>, and <option>-headerdir</option>.  For a complete
    251     list, run <command>./configure -help</command>.</para>
     246   
     247    <para><parameter>-system-sqlite</parameter>:
     248    Use the system version of <application>SQLite</application>.</para>
     249   
     250    <para><parameter>-no-nis</parameter>:
     251    Disable support for Network Information Service (NIS).</para>
     252   
     253    <para><parameter>-opensource</parameter>:
     254    Install the opensource version of <application>Qt</application>.</para>
     255   
     256    <para><parameter>-confirm-license</parameter>:
     257    Accept license without prompting user during configuration.</para>
    252258
    253259    <para><parameter>-plugin-sql-<replaceable>&lt;driver&gt;</replaceable></parameter>
     
    262268      <command>configure</command> parameters.</para>
    263269    </note>
     270   
     271    <para>There are several optional directories that can be specified in the
     272    <command>./configure</command> line.  These include
     273    <option>-bindir</option>, <option>-libdir</option>,
     274    <option>-docdir</option>, and <option>-headerdir</option>.  For a complete
     275    list, run <command>./configure -help</command>.</para>
    264276
    265277  </sect2>
     
    296308      the <filename>/etc/profile.d/qt4.sh</filename> file:</para>
    297309
    298 <screen><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; "EOF"
     310<screen role="root"><userinput>cat &gt; /etc/profile.d/qt4.sh &lt;&lt; "EOF"
    299311# Begin /etc/profile.d/qt4.sh
    300312
Note: See TracChangeset for help on using the changeset viewer.