mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
cURL: Work around make clean not working.
This commit is contained in:
parent
eee48d82ea
commit
5cf45be929
@ -42,6 +42,9 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>October 25th, 2024</para>
|
<para>October 25th, 2024</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[Zeckmathederg] - cURL: Work around make clean not working.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[Zeckmathederg] - NSS: Work around make clean not working.</para>
|
<para>[Zeckmathederg] - NSS: Work around make clean not working.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -31,8 +31,6 @@
|
|||||||
functions like streaming media.
|
functions like streaming media.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<itemizedlist spacing="compact">
|
<itemizedlist spacing="compact">
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
@ -83,10 +81,13 @@
|
|||||||
commands:
|
commands:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>./configure --prefix=/usr \
|
<screen><userinput>mkdir -v build &&
|
||||||
--disable-static \
|
cd build &&
|
||||||
--with-openssl \
|
|
||||||
--with-ca-path=/etc/ssl/certs &&
|
../configure --prefix=/usr \
|
||||||
|
--disable-static \
|
||||||
|
--with-openssl \
|
||||||
|
--with-ca-path=/etc/ssl/certs &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@ -159,6 +160,42 @@ cp -v -R docs -T /usr/share/doc/curl-&curl-version;</userinput></screen>
|
|||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
<sect2>
|
||||||
|
<title>32-bit Installation of cURL</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
First clean the build directory:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen><userinput>rm -rf *</userinput></screen>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Install <application>lib32-cURL</application>
|
||||||
|
by running the following commands:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen><userinput>CC="gcc -m32" CXX="g++ -m32" \
|
||||||
|
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
|
||||||
|
../configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib32 \
|
||||||
|
--host=i686-pc-linux-gnu \
|
||||||
|
--disable-static \
|
||||||
|
--with-openssl \
|
||||||
|
--with-ca-path=/etc/ssl/certs &&
|
||||||
|
|
||||||
|
make</userinput></screen>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Now, as the <systemitem class="username">root</systemitem> user:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install
|
||||||
|
cp -vr DESTDIR/usr/lib32/* /usr/lib32
|
||||||
|
rm -rf DESTDIR
|
||||||
|
ldconfig</userinput></screen>
|
||||||
|
|
||||||
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<title>Command Explanations</title>
|
||||||
|
|
||||||
@ -216,43 +253,6 @@ cp -v -R docs -T /usr/share/doc/curl-&curl-version;</userinput></screen>
|
|||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
|
||||||
<title>32-bit Installation of cURL</title>
|
|
||||||
|
|
||||||
<note><para>
|
|
||||||
Like <xref linkend="nss"/>, cleaning the project tree doesn't work with
|
|
||||||
this package as expected and will lead to the 32-bit build to fail.
|
|
||||||
Remove the extracted folder from the tarball, extract the tarball, then
|
|
||||||
go back into it and follow the instructions below as normal.
|
|
||||||
</para></note>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Install <application>lib32-cURL</application>
|
|
||||||
by running the following commands:
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<screen><userinput>CC="gcc -m32" CXX="g++ -m32" \
|
|
||||||
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
|
|
||||||
./configure --prefix=/usr \
|
|
||||||
--libdir=/usr/lib32 \
|
|
||||||
--host=i686-pc-linux-gnu \
|
|
||||||
--disable-static \
|
|
||||||
--with-openssl \
|
|
||||||
--with-ca-path=/etc/ssl/certs &&
|
|
||||||
|
|
||||||
make</userinput></screen>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Now, as the <systemitem class="username">root</systemitem> user:
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<screen role="root"><userinput>make DESTDIR=$PWD/DESTDIR install
|
|
||||||
cp -vr DESTDIR/usr/lib32/* /usr/lib32
|
|
||||||
rm -rf DESTDIR
|
|
||||||
ldconfig</userinput></screen>
|
|
||||||
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<sect2 role="content">
|
<sect2 role="content">
|
||||||
<title>Contents</title>
|
<title>Contents</title>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user