Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2023 13:29:31 +0530
From:      khush patil <khushpatil786@gmail.com>
To:        freebsd-doc@freebsd.org, 0mp@freebsd.org
Subject:   building-on-non-freebsd-hosts
Message-ID:  <CAM0GrHF1rAny-9=fLQbd9r2m3r_U3x=xLKwWtag%2BCV_5DqFOaA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000f118880608d64d62
Content-Type: text/plain; charset="UTF-8"

Hi Mateusz,

I tried the instructions mentioned in freebsd handbook

But it seems that there is some issue

I ran the command MAKEOBJDIRPREFIX=/home/kp/freebsd tools/build/make.py
--bootstrap-toolchain TARGET=amd64 TARGET_ARCH=amd64 buildworld

but there is some error which i cannot rectify

/home/kp/freebsd/home/kp/freebsd-src/amd64.amd64/tmp/legacy/usr/sbin/ld:
cannot find -lprivatezstd: No such file or directory

dpkg -l | grep libbz2
ii  libbz2-1.0:amd64                           1.0.8-5build1
                                         amd64        high-quality
block-sorting file compressor library - runtime
ii  libbz2-1.0:i386                            1.0.8-5build1
                                         i386         high-quality
block-sorting file compressor library - runtime
ii  libbz2-dev:amd64                           1.0.8-5build1
                                         amd64        high-quality
block-sorting file compressor library - development



dpkg -l | grep libarchive
ii  libarchive-cpio-perl                       0.10-1.1
                                         all          module for
manipulations of cpio archives
ii  libarchive-dev:amd64                       3.6.0-1ubuntu1
                                         amd64        Multi-format
archive and compression library (development files)
ii  libarchive-tools                           3.6.0-1ubuntu1
                                         amd64        FreeBSD
implementations of 'tar' and 'cpio' and other archive tools
ii  libarchive-zip-perl                        1.68-1
                                         all          Perl module for
manipulation of ZIP archives
ii  libarchive13:amd64                         3.6.0-1ubuntu1
                                         amd64        Multi-format
archive and compression library (shared library)


dpkg -l | grep libzstd
ii  libzstd-dev:amd64                          1.4.8+dfsg-3build1
                                         amd64        fast lossless
compression algorithm -- development files
ii  libzstd1:amd64                             1.4.8+dfsg-3build1
                                         amd64        fast lossless
compression algorithm
ii  libzstd1:i386                              1.4.8+dfsg-3build1
                                         i386         fast lossless
compression algorithm


dpkg -l | grep zstd
ii  libzstd-dev:amd64                          1.4.8+dfsg-3build1
                                         amd64        fast lossless
compression algorithm -- development files
ii  libzstd1:amd64                             1.4.8+dfsg-3build1
                                         amd64        fast lossless
compression algorithm
ii  libzstd1:i386                              1.4.8+dfsg-3build1
                                         i386         fast lossless
compression algorithm
ii  python3-zstd                               1.5.0.2-1build1
                                         amd64        python bindings
to Yann Collet ZSTD compression library
ii  zstd                                       1.4.8+dfsg-3build1
                                         amd64        fast lossless
compression algorithm -- CLI tool


this is done on Linux mint 21.2 (Ubuntu 22.04.2)

--000000000000f118880608d64d62
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial bl=
ack,sans-serif">Hi=C2=A0<span style=3D"color:rgb(51,51,51);font-family:sans=
-serif;font-size:13.3333px">Mateusz,<br><br>I tried the instructions mentio=
ned in freebsd handbook<br><br>But it seems that there is some issue=C2=A0<=
br>=C2=A0<br>I=C2=A0</span><span style=3D"color:rgb(51,51,51);font-family:s=
ans-serif;font-size:13.3333px">ran the command=C2=A0</span><span style=3D"f=
ont-family:inherit;font-size:1em;background-color:rgb(246,246,246);color:rg=
b(20,20,20)">MAKEOBJDIRPREFIX=3D/home/kp/freebsd tools/build/make.py --boot=
strap-toolchain TARGET=3Damd64 TARGET_ARCH=3Damd64 buildworld<br></span><sp=
an style=3D"color:rgb(51,51,51);font-family:sans-serif;font-size:13.3333px"=
><br>but there is some error which i cannot rectify<br><br></span><span sty=
le=3D"color:rgb(20,20,20);font-family:monospace,monospace;font-size:16px;ba=
ckground-color:rgb(222,227,231)">/home/kp/freebsd/home/kp/freebsd-src/amd64=
.amd64/tmp/legacy/usr/sbin/ld: cannot find -lprivatezstd: No such file or d=
irectory<br></span><span style=3D"color:rgb(51,51,51);font-family:sans-seri=
f;font-size:13.3333px"><br></span><pre class=3D"gmail-bbCodeCode" dir=3D"lt=
r" style=3D"box-sizing:border-box;font-family:Monaco,Menlo,Consolas,&quot;R=
oboto Mono&quot;,&quot;Andale Mono&quot;,&quot;Ubuntu Mono&quot;,monospace;=
font-size:13px;margin-top:0px;margin-bottom:0px;padding:10px 10px 0px;line-=
height:1.4;overflow:auto;direction:ltr;color:rgb(20,20,20);background-color=
:rgb(246,246,246)"><code style=3D"box-sizing:border-box;font-family:inherit=
;font-size:1em">dpkg -l | grep libbz2
ii  libbz2-1.0:amd64                           1.0.8-5build1               =
                                     amd64        high-quality block-sortin=
g file compressor library - runtime
ii  libbz2-1.0:i386                            1.0.8-5build1               =
                                     i386         high-quality block-sortin=
g file compressor library - runtime
ii  libbz2-dev:amd64                           1.0.8-5build1               =
                                     amd64        high-quality block-sortin=
g file compressor library - development</code></pre><span style=3D"color:rg=
b(51,51,51);font-family:sans-serif;font-size:13.3333px">=C2=A0</span></div>=
<div class=3D"gmail_default" style=3D"font-family:arial black,sans-serif"><=
pre class=3D"gmail-bbCodeCode" dir=3D"ltr" style=3D"box-sizing:border-box;f=
ont-family:Monaco,Menlo,Consolas,&quot;Roboto Mono&quot;,&quot;Andale Mono&=
quot;,&quot;Ubuntu Mono&quot;,monospace;font-size:13px;margin-top:0px;margi=
n-bottom:0px;padding:10px 10px 0px;line-height:1.4;overflow:auto;direction:=
ltr;color:rgb(20,20,20);background-color:rgb(246,246,246)"><code style=3D"b=
ox-sizing:border-box;font-family:inherit;font-size:1em">dpkg -l | grep liba=
rchive
ii  libarchive-cpio-perl                       0.10-1.1                    =
                                     all          module for manipulations =
of cpio archives
ii  libarchive-dev:amd64                       3.6.0-1ubuntu1              =
                                     amd64        Multi-format archive and =
compression library (development files)
ii  libarchive-tools                           3.6.0-1ubuntu1              =
                                     amd64        FreeBSD implementations o=
f &#39;tar&#39; and &#39;cpio&#39; and other archive tools
ii  libarchive-zip-perl                        1.68-1                      =
                                     all          Perl module for manipulat=
ion of ZIP archives
ii  libarchive13:amd64                         3.6.0-1ubuntu1              =
                                     amd64        Multi-format archive and =
compression library (shared library)</code></pre></div><div class=3D"gmail_=
default" style=3D"font-family:arial black,sans-serif"><span style=3D"color:=
rgb(51,51,51);font-family:sans-serif;font-size:13.3333px"><br></span></div>=
<div class=3D"gmail_default" style=3D"font-family:arial black,sans-serif"><=
pre class=3D"gmail-bbCodeCode" dir=3D"ltr" style=3D"box-sizing:border-box;f=
ont-family:Monaco,Menlo,Consolas,&quot;Roboto Mono&quot;,&quot;Andale Mono&=
quot;,&quot;Ubuntu Mono&quot;,monospace;font-size:13px;margin-top:0px;margi=
n-bottom:0px;padding:10px 10px 0px;line-height:1.4;overflow:auto;direction:=
ltr;color:rgb(20,20,20);background-color:rgb(246,246,246)"><code style=3D"b=
ox-sizing:border-box;font-family:inherit;font-size:1em">dpkg -l | grep libz=
std  =20
ii  libzstd-dev:amd64                          1.4.8+dfsg-3build1          =
                                     amd64        fast lossless compression=
 algorithm -- development files
ii  libzstd1:amd64                             1.4.8+dfsg-3build1          =
                                     amd64        fast lossless compression=
 algorithm
ii  libzstd1:i386                              1.4.8+dfsg-3build1          =
                                     i386         fast lossless compression=
 algorithm</code></pre></div><div class=3D"gmail_default" style=3D"font-fam=
ily:arial black,sans-serif"><span style=3D"color:rgb(51,51,51);font-family:=
sans-serif;font-size:13.3333px"><br></span></div><div class=3D"gmail_defaul=
t" style=3D"font-family:arial black,sans-serif"><pre class=3D"gmail-bbCodeC=
ode" dir=3D"ltr" style=3D"box-sizing:border-box;font-family:Monaco,Menlo,Co=
nsolas,&quot;Roboto Mono&quot;,&quot;Andale Mono&quot;,&quot;Ubuntu Mono&qu=
ot;,monospace;font-size:13px;margin-top:0px;margin-bottom:0px;padding:10px =
10px 0px;line-height:1.4;overflow:auto;direction:ltr;color:rgb(20,20,20);ba=
ckground-color:rgb(246,246,246)"><code style=3D"box-sizing:border-box;font-=
family:inherit;font-size:1em">dpkg -l | grep zstd  =20
ii  libzstd-dev:amd64                          1.4.8+dfsg-3build1          =
                                     amd64        fast lossless compression=
 algorithm -- development files
ii  libzstd1:amd64                             1.4.8+dfsg-3build1          =
                                     amd64        fast lossless compression=
 algorithm
ii  libzstd1:i386                              1.4.8+dfsg-3build1          =
                                     i386         fast lossless compression=
 algorithm
ii  python3-zstd                               1.5.0.2-1build1             =
                                     amd64        python bindings to Yann C=
ollet ZSTD compression library
ii  zstd                                       1.4.8+dfsg-3build1          =
                                     amd64        fast lossless compression=
 algorithm -- CLI tool</code></pre></div><div class=3D"gmail_default" style=
=3D"font-family:arial black,sans-serif"><br><span style=3D"color:rgb(20,20,=
20);font-family:&quot;Segoe UI&quot;,&quot;Helvetica Neue&quot;,Helvetica,R=
oboto,Oxygen,Ubuntu,Cantarell,&quot;Fira Sans&quot;,&quot;Droid Sans&quot;,=
sans-serif;font-size:16px">this is done on Linux mint 21.2 (Ubuntu 22.04.2)=
</span><br></div></div>

--000000000000f118880608d64d62--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0GrHF1rAny-9=fLQbd9r2m3r_U3x=xLKwWtag%2BCV_5DqFOaA>